From 5e51afde49601ce0bcdbf3e7885889b6255a6ce4 Mon Sep 17 00:00:00 2001 From: Senmori Date: Fri, 18 Nov 2016 11:24:41 +1100 Subject: Get Colors from ShulkerBox; Implement CustomName for Tiles. --- nms-patches/BlockShulkerBox.patch | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'nms-patches/BlockShulkerBox.patch') diff --git a/nms-patches/BlockShulkerBox.patch b/nms-patches/BlockShulkerBox.patch index ef6b04cd..7799d7d9 100644 --- a/nms-patches/BlockShulkerBox.patch +++ b/nms-patches/BlockShulkerBox.patch @@ -1,5 +1,14 @@ --- a/net/minecraft/server/BlockShulkerBox.java +++ b/net/minecraft/server/BlockShulkerBox.java +@@ -3,7 +3,7 @@ + public class BlockShulkerBox extends BlockTileEntity { + + public static final BlockStateEnum a = BlockStateDirection.of("facing"); +- private final EnumColor b; ++ public final EnumColor b; // PAIL: public, rename + + public BlockShulkerBox(EnumColor enumcolor) { + super(Material.STONE, MaterialMapColor.b); @@ -89,7 +89,32 @@ tileentityshulkerbox.d(entityhuman); } -- cgit v1.2.3