3
0
Mirror von https://github.com/ViaVersion/ViaBackwards.git synchronisiert 2024-12-26 08:10:10 +01:00

Change shulkerbox data fixes #15

Dieser Commit ist enthalten in:
Matsv 2017-07-29 14:05:10 +02:00
Ursprung 18d8ab068d
Commit ccc63966c6
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 97CEC2A2EA31350F

Datei anzeigen

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