How To Open A Villagers Inventory Minecraft, Villager Inventory

With the /data command I can clearly see all of a villager”s inventory. The villager has 3 wheat in the third inventory slot. I want that replaced with wheat seeds.

Đang xem: How to open a villagers inventory minecraft

What is the proper nbt syntax to do that?

I know the start should look like: /data merge entity cbd0053c-14f1-42a8-8ebe-2a43d6bdbf02

But at this point I have no idea how to proceed, can anyone help me please?

Note: I have scoured the web for detailed NBT/data tag guides, some older ones exist, but they tend to be fairly vague. I have yet to find one that reflects the 1.13 changes. If anyone knows of one that really lays out the full nbt syntax with real examples of what it looks like, please message me a link.

Thanks for your help.

Read more: how to server hop wow 2018

Rollback Post to RevisionRollBack
#2Oct 29, 2018
TumbleDumpling
TumbleDumpling

#3Oct 29, 2018
LRMC0C1
LRMC0C1

*

#4Oct 29, 2018
TumbleDumpling
TumbleDumpling

Thanks LRMC0C1,

That helps with some of data tags, unfortunately it does not help with actual syntax of the code.

Read more: Wow The Sorrow And The Fury, The Sorrow And The Fury Shitpost : Wow

After studying some NBT tags on MCstacker, I believe I now understand the basic syntax layout. Minecraft”s new command system also helps debug as you type NBT tags as well.

Rollback Post to RevisionRollBack
#5Jun 14, 2019
SingleStar65920
SingleStar65920

*

I am trying to use a command block to empty 2 villagers” inventories. I used this code: execute positioned 3 64 -2271 run execute as
e run data merge entity
s {Inventory:<>} but it didn”t work. It returned that it had modified the data of 2 villagers but their inventories where unchanged. Any ideas?

Rollback Post to RevisionRollBack
#6Feb 4, 2020
user_6644545
user_6644545

*

#7Apr 10, 2020
JanxMoltar
JanxMoltar
#8Sep 24, 2020
rmpel
rmpel
Posts Quoted:
Reply
Clear All Quotes
Previous Thread
Jump to Forum
Next Thread
Social Media
Services

Sign In

Leave a Comment