• 1

    posted a message on Megatorch [Spawn-Proofing Without Light] [MFF]

    Yes, the range of effect is 64 blocks in all directions forming a cubic area of effect.

    That said, the system does not actually add light to caves, it merely eliminates all mobs that try to spawn within its area of effect.


    Hope this clarifies things!

    Posted in: Minecraft Mods
  • 1

    posted a message on 1.13 NBT Tag Formatting (Solved)

    I'm trying to detect when the player is wearing a chestplate with the tag: TradePackArmor and tried doing that with the following command:

    /tag @p[nbt={Inventory:[{Slot:102b,Tags:["TradePackArmor"]}]}] add IsDeliveringPack

    I'm not sure why this isn't working. Can someone explain this?


    Edit:

    Of course I think of checking entity data right after this. In case you care to know the command, here you go:

    /tag @p[nbt={Inventory:[{Slot:102b,tag:{Tags:["TradePackArmor"]}}]}] add IsDeliveringPack
    Posted in: Commands, Command Blocks and Functions
  • 1

    posted a message on Could someone provide a working example of using both spreadplayers and spawnpoint with command blocks?

    Got it. Yeah, this system should work fine as long as beds are disabled. Also, with the commands I laid out, there is no need for the darkroom if you are only using it for /spreadplayers.


    Also, I wouldn't worry about the number of commands, with that few, there should be no noticeable impact on the game whatsoever.

    Posted in: Commands, Command Blocks and Functions
  • 1

    posted a message on Could someone provide a working example of using both spreadplayers and spawnpoint with command blocks?

    Good to hear! Let me know if you need anything else.


    Edit: Recently made some changes. Not sure if they were necessary, but if you have any issues please just recopy the commands above. Cheers!

    Posted in: Commands, Command Blocks and Functions
  • 1

    posted a message on Could someone provide a working example of using both spreadplayers and spawnpoint with command blocks?

    NOTE: X, Y, and Z when seen in the following code represents the coordinates for world spawn


    Command Block Activated By New Player:

    tag @p[tag=!SpawnSet] add SetSpawn



    Repeating Command Block in Spawn Chunks:

    spreadplayers X Y 0 3500 false @e[type=minecraft:player,tag=SetSpawn]



    Chain Command Blocks (Unconditional):

    Command 1:

    tag @e[type=minecraft:player,tag=SetSpawn,x=X,y=Y,z=Z,distance=500..] add SettingSpawn

    Command 2:

    tag @e[type=minecraft:player,tag=SettingSpawn] remove SetSpawn

    Command 3:

    spawnpoint @a[type=minecraft:player,tag=SettingSpawn] ~ ~ ~

    Command 4:

    tag @e[type=minecraft:player,tag=SettingSpawn] add SpawnSet

    Command 5:

    tag @e[type=minecraft:player,tag=SpawnSet] remove SettingSpawn


    If you want, I can give you code that will prevent players from having their spawn points set too close to each other. Hope this is what you're looking for!


    - John

    Posted in: Commands, Command Blocks and Functions
  • 1

    posted a message on Modular Function Framework [Temperature in Minecraft]

    The Modular Function Framework is a system that I've been developing since December 2018 which is designed to make installing compatible datapacks easier. Why is this necessary? Currently, I have plans for a variety of functions that are all meant to be compatible with each other, however, my concern was that it might get more difficult to tell if the functions were installed correctly as the number of functions increase. My solution to this problem was MFF Core.



    MFF Core is a combination of function files which run whenever you launch your Minecraft world and which loop in the background of your game while you play and serve the purpose of running any MFF Modules you download. That said, MFF Core is more useful in that it is designed to give the player feedback whenever you run the command /reload. That feedback is designed to give you information about which modules have been initialized and which modules are actively running in the background. These sections are denoted by "Initializing Modules..." and "Loading Modules..." respectively as seen in the spoiler below.


    The Core is also set up to display additional details about the installed modules (upcoming feature). When the /reload function finished, you will see some text saying "Extra Details:" followed by a link saying [Click]. By following that link, you will be given a brief overview of all pertinent information about the functionality of the modules as well as a link to the project's individual page for further reference.





    Credits:

    TheRedEngineer


    Requirements:

    • None

    Required By:

    • Temperature

    Details:

    Biome Detection is a standalone module which controls a scoreboard objective called "PlayerBiome"

    and was originally developed by TheRedEngineer. For the purposes of integrating it into the framework, I have made

    some minor naming changes while retaining the base code he developed. On its own, it has no impact on the

    environment and simply returns the numeric value for the player's current biome in the objective listed above.

    For a list of all Biome IDs please reference the following page on the Minecraft Wiki: Biome


    Credits:

    dio_brando


    Requirements:

    • None

    Required By:

    • None

    Details:

    This datapack adds a multiblock structure to Minecraft which eliminates the need for torch-spam to get rid of those annoying zombies and was made at the request of dio_brando. The Megatorch functions similarly to the Magnum Torch from Extra Utilities in that it has no effect on mobs that spawn outside its range while preventing mobs from spawning inside its area-of-effect. The multiblock itself is a 3x3x3 structure made up of Smooth Stone, Cobblestone Stairs, Glowstone, Light Gray Stained Glass, and an Iron Block and has an effective range of 64 blocks from the center.


    Forum Page:

    Megatorch [Spawn-Proofing Without Light] [MFF]


    Credits:

    Vechs


    Requirements:

    • Timer
    • Biome Detection

    Required By:

    • None

    Details:

    This module was my main motivation for creating the framework and was inspired by Vech's temperature mechanics from his latest Super Hostile Map entitled "Iceolation" (not available for download at the time of posting). Although it functions in a fundamentally different way, the project was undoubtedly started as a result of Vechs work. It is designed to change the player's temperature based on what biome the player is in, what blocks they are standing on, and whether they are swimming in water or lava. If the player gets too hot or cold debuffs will be applied. The effect the environment has on the player can be negated by armor and varies based on the amount of armor the player has equipped.


    Planet Minecraft Page:

    Temperature in Minecraft


    Requirements:

    • None

    Required By:

    • Temperature

    Details:

    This alone creates a two-second clock which can be utilized by other modules. Furthermore, it is the foundation for any module which necessitates the creation of a clock which does not run on a two-second interval so that no unnecessary scoreboard objectives are created.



    If you don't want to bother with downloading each component module and setting them up individually, this section is for you. Just follow the given instructions for installing each pack and please report any issues you come across with installation down below in the comments.


    Latest Version:

    Mediafire Download

    Older Versions:


    Screenshots:




    Latest Version:

    MediaFire Download


    Older Versions:


    Screenshots:




    Installing an MFF datapack is very similar to downloading a Minecraft world. The only difference is that instead of pasting the datapack into Minecraft's 'save' folder you have to place the extracted datapack into the save's 'datapack' folder. For a more detailed walkthrough, please reference the spoiler below:


    Step One:

    Download the MFF Pack you wish to install and extract the zip file.


    Step Two:

    Navigate to the game file you wish to install the MFF Pack into and select Edit.



    Step Three:

    Select Open World Folder



    Step Four:

    Open your datapacks folder.



    Step Five:

    Paste the extracted file into your datapacks folder.

    You are now done and your chosen MFF Pack should now be installed!

    Posted in: Minecraft Mods
  • 1

    posted a message on Target only items without a specific NBT tag with /clear (1.13)

    So this can actually be done by a single repeating command block running the following command:

    execute at @a[nbt={SelectedItem:{id:"minecraft:stone_pickaxe"},Damage:0}] run replaceitem entity @p weapon.mainhand minecraft:stone_pickaxe{CanDestroy:["minecraft:iron_ore"]} 1

    After testing, it does appear that the damage tag is still recognized, I can't say exactly why you were having difficulty, but in any case, this should do what you're looking for. Hope this helps!


    -John

    Posted in: Commands, Command Blocks and Functions
  • 1

    posted a message on Megatorch [Spawn-Proofing Without Light] [MFF]
    >>> Minecraft Forums Project Link: Click Here <<<

    Credits:

    dio_brando


    Requirements:

    • None

    Required By:

    • None

    Details:

    This datapack adds a multiblock structure to Minecraft which eliminates the need for torch-spam to get rid of those annoying zombies and was made at the request of dio_brando. The Megatorch functions similarly to the Magnum Torch from Extra Utilities in that it has no effect on mobs that spawn outside its range while preventing mobs from spawning inside its area-of-effect (see spoiler for visuals of active Megatorch). The multiblock itself is a 3x3x3 structure made up of Smooth Stone, Cobblestone Stairs, Glowstone, Light Gray Stained Glass, and an Iron Block and has an effective range of 64 blocks from the center.



    Multiblock Details:

    To form the multiblock, build the structure shown in the below spoiler and throw a diamond onto the glowstone block in the center. You will be able to tell that the multiblock has formed when the glowstone block begins emitting white particle effects. To remove the structure, simply break any part of the structure (this includes placing a block in any of the open air spaces).




    MediaFire Download: Click Here

    Installation:

    Step One:

    Download the MFF Pack extract the zip file.


    Step Two:

    Navigate to the game file you wish to install the MFF Pack into and select Edit.



    Step Three:

    Select Open World Folder



    Step Four:

    Open your datapacks folder.



    Step Five:

    Paste the extracted file into your datapacks folder.

    You are now done and your MFF Pack should now be installed!

    Posted in: Minecraft Mods
  • 1

    posted a message on How to make invulnerable Item frame 1.13 2019. (solved)

    You can get around the one entity limit by using /execute like so:

    /execute at @e[type=item_frame,distance=..100] run data merge entity @e[limit=1,sort=nearest] {Invulnerable:1b}
    Posted in: Commands, Command Blocks and Functions
  • 1

    posted a message on crouch detection (sort of)

    Fixed!

    Posted in: Commands, Command Blocks and Functions
  • To post a comment, please .