diff options
author | Senmori <thesenmori@gmail.com> | 2016-11-18 11:24:41 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-11-19 13:40:06 +1100 |
commit | 26377b763b2877b033d33ddd865d07faeb590d0c (patch) | |
tree | af16bf97b2c091b75a92f638fdf2d14654a7719f /nms-patches | |
parent | f15e07b1a9a4aedbcb77cb7776f168adcfebfa7e (diff) | |
download | craftbukkit-26377b763b2877b033d33ddd865d07faeb590d0c.tar craftbukkit-26377b763b2877b033d33ddd865d07faeb590d0c.tar.gz craftbukkit-26377b763b2877b033d33ddd865d07faeb590d0c.tar.lz craftbukkit-26377b763b2877b033d33ddd865d07faeb590d0c.tar.xz craftbukkit-26377b763b2877b033d33ddd865d07faeb590d0c.zip |
Get Colors from ShulkerBox; Implement CustomName for Tiles.
Diffstat (limited to 'nms-patches')
-rw-r--r-- | nms-patches/BlockShulkerBox.patch | 9 |
1 files changed, 9 insertions, 0 deletions
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<EnumDirection> 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); } |