Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-12-27 00:22:53 +01:00
Change ShulkerBoxes to EnderChests to fix breaking/picking it up
Dieser Commit ist enthalten in:
Ursprung
a47e845847
Commit
354660a374
@ -390,11 +390,11 @@ public class BlockItemPackets1_11 extends BlockItemRewriter<Protocol1_10To1_11>
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void registerRewrites() {
|
protected void registerRewrites() {
|
||||||
// ShulkerBoxes to chests
|
// ShulkerBoxes to EnderChest
|
||||||
for (int i = 219; i < 235; i++)
|
for (int i = 219; i < 235; i++)
|
||||||
rewrite(i)
|
rewrite(i)
|
||||||
.repItem(new Item((short) 54, (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(54, 1))
|
.repBlock(new Block(130, 1))
|
||||||
.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"));
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren