Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a shulker box with NBT directly to the back slot doesn't 'initialize' it properly #3

Closed
vico93 opened this issue Sep 17, 2019 · 2 comments
Assignees
Labels
type: bug Something isn't working

Comments

@vico93
Copy link

vico93 commented Sep 17, 2019

Well, the steps to reproduce it are the following:

  1. Create a new singleplayer world as survival mode;
  2. Give yourself a shulker box with the following command: /give @s black_shulker_box{display:{Name:"{\"text\":\"BackPack\"}"},BlockEntityTag:{LootTable:"minecraft:chests/spawn_bonus_chest"}}
  3. Don't open it yet! Select the slot where the shulker box is and right-click it in the middle of the air;
  4. The shulker box will be sent to the back slot without the "BackPack" custom name and empty
  5. Now remove the shulker from back and place it on the ground. It now will get the "BackPack" name AND the random generated loot.

I'm using Forge 28.1.1, curios-FORGE-1.14.4-1.0 and curiousshulkerboxes-FORGE-1.14.4-1.0.

@vico93 vico93 added the type: bug Something isn't working label Sep 17, 2019
@TheIllusiveC4
Copy link
Member

Although I am seeing that the loot isn't generated, I'm also seeing the custom name being initialized properly. Can you include a screenshot of what you're seeing on your end?

@vico93
Copy link
Author

vico93 commented Sep 19, 2019

Yeah, when i give the shulker box it shows the custom name, but when i equip in the way described above it wont show the name in the GUI title when opened using the slot hotkey (ps.: game in portuguese brazil, so "Caixa de shulker" is the default name of Shulker Box in this language)
2019-09-19_14 24 19

While after placing the shulker in the ground and opening after properly shows the block name in GUI title:
2019-09-19_14 24 34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants