Jump to content

[1.14.4]Structure loot table?


Krevik

Recommended Posts

Hey there. I am having problem with adding loot to chests in my structure. Structure is built using jigsaw pieces just like vanilla villages. However I cannot find a word about placing loot in the chests. Does anyone know how to do it? / Where to find the code about populating vanilla villages chests?

Link to comment
Share on other sites

14 hours ago, diesieben07 said:

You can see the structure NBT format here:

https://minecraft.gamepedia.com/Structure_block_file_format

 

For tile entities the tile entity NBT is stored in the structure file. This enables you to set the LootTable property of chests (see here).

I've already been checking this. Also I opened a village structure with chests, and I could find nothing. Am I missing something?

Link to comment
Share on other sites

5 hours ago, diesieben07 said:

Yes, you are. I looked at the village structure and there is definitely tile entity data in there.

Only one more question - do you know some good NBT editor, that will allow me to easily find chest inside "blocks" tag not inside "palette" tag?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.