1

I want to make structure datapack!

Cugitay's Avatar Cugitay1/22/21 11:52 am history
1/25/2021 12:25 pm
Cugitay's Avatar Cugitay

  I want to transform the current village view into a historical medieval view and add some nomadic structures (little raider hordes, nomadic villages, lonely nomad tents), merchant caravan structures. Frankly, I couldn't find any tangible information on how to do it on the internet and in forums. There is nothing I can do but ask you for help.If you know an internet resource, please add it to the comment section. I am fully open to suggestions and criticism.

Posted by Cugitay's Avatar
Cugitay
Level 1 : New Explorer
2

Create an account or sign in to comment.

2

2
01/25/2021 5:13 am
Level 57 : Grandmaster Hero
One_Nose
One_Nose's Avatar
Inside the .jar file of the version you want, find data/minecraft/structures - this is the list of all structures in the game. Choose a structure you want to modify, and grab yourself a structure block:
/give @s minecraft:structure_blockPut it in your world, change to LOAD mode and write the ID of the structure you want to change (e.g. if you have chosen data/minecraft/structures/village/plains/houses/plain_small_house_1.nbt, write minecraft:village/plains/houses/plain_small_house_1. Then hit Load to see where it would be loaded. You can edit the coordinates inside the structure block. Then click Load again, and the structure will be created. Edit it as you wish. The weird Jigsaw Blocks are blocks that spawn random structures nearby, they are better not to be touched (but you can change the block they will be replaced with by right clicking them). After you finished, change the structure block to SAVE mode and click Save. You can find the structure file inside <your_world_folder>/generated/structures/<...>/<structure>.nbt. Copy the NBT file into your data pack. For example, the file in the first example will be placed in <your_data_pack_folder>/data/minecraft/structures/villagae/plains/houses/plain_small_house_1.nbt. Now /reload and the structure should be changed. Travel to an unloaded chunk with the structure to see the change (chunks loaded before the /reload will remain with the old structure).
2
01/25/2021 12:25 pm
Level 1 : New Explorer
Cugitay
Cugitay's Avatar
I learned how to use structure and jigsaw blocks today. Thank you very much for your suggestions. For a moment I was worried that no one would answer.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome