Change shulkerbox data fixes #15

This commit is contained in:
Matsv 2017-07-29 14:05:10 +02:00
parent 18d8ab068d
commit ccc63966c6
No known key found for this signature in database
GPG Key ID: 97CEC2A2EA31350F

View File

@ -394,7 +394,7 @@ public class BlockItemPackets1_11 extends BlockItemRewriter<Protocol1_10To1_11>
for (int i = 219; i < 235; i++)
rewrite(i)
.repItem(new Item((short) 130, (byte) 1, (short) 0, getNamedTag("1.11 " + BlockColors.get(i - 219) + " Shulker Box")))
.repBlock(new Block(130, 1))
.repBlock(new Block(130, 4)) // TODO investigate this
.blockEntityHandler((block, tag) -> {
tag.remove("id");
tag.put(new StringTag("id", "minecraft:chest"));