Honzi/Guides/Repos/MC-DataPacks
Functions Notes
  1. Centers the worldborder on your current location and sets its diameter to 16.
  1. Enable chunk display by pressing "F3 + G".
  2. Go to the northwest corner of the chunk you wish to clear at any Y position.
  3. Run the function to replace all blocks in the chunk with air.
  • If there are no blocks 1 block below you, this function creates a stone block there.
  • Creates a simple cobblestone generator.
  • Replaces blocks, so be careful where you place it.
  • Replaces the block below you with a waterlogged oak fence with a torch on it.
  • Replaces 4 blocks north and 4 blocks south of the waterlogged oak fence with farmland.
  • The 4 northern farmland blocks have:
    1. Wheat
    2. Carrots
    3. Beetroots
    4. Potatoes
  • The 4 southern farmland blocks have:
    1. Attached melon stem
    2. Melon
    3. Attached pumpkin stem
    4. Pumpkin
  • This function assumes you are playing in an entirely empty world.
  • Creates a bedrock block at 0,100,0 and teleports you on top of it.
  • Creates an unactivated End Portal at your position +2 along the Z-axis, containing 12 End Portal Frame blocks with air created inbetween them.
  • Replaces blocks, so be careful where you place it.
  • Gives you 12 Eyes of Ender to place on the End Portal Frame blocks to activate the portal.
  1. Creates a simple lava generator using pointed dripstone and a cauldron.
  2. Replaces blocks, so be careful where you place it.
  • Creates 1 functional End Portal block at your position +2 along the Z-axis.
  • Replaces blocks, so be careful where you place it.
  • Creates 1 functional Nether Portal block at your position +2 along the Z-axis.
  • Replaces blocks, so be careful where you place it.
  • Creates an activated Nether Portal at your position +2 along the Z-axis, containing 14 Obsidian blocks and 6 Nether Portal blocks.
  • Replaces blocks, so be careful where you place it.
  • Returns all "gamerule" commands to their default values.
  • Attempts to make your world as peaceful as possible within "survival" mode:
    1. Sets difficulty to "peaceful".
    2. Sets weather to "clear".
    3. Sets time to "day".
    4. Disables raids.
    5. Disables fire ticks.
    6. Disables insomnia-related spawning of phantoms.
    7. Disables warden spawning.
    8. Disables drowning damage.
    9. Disables fall damage.
    10. Disables fire damage.
    11. Resets angry neutral mobs to neutral if the targeted player dies.
    12. Disables freeze damage.
    13. Allows you to keep your inventory when you die.
    14. Disables mob griefing.
    15. Enables natural health regeneration.
    16. Prevents angry neutral mobs from attacking players that did not anger them.