24 lines
829 B
Diff
24 lines
829 B
Diff
--- ../src-base/minecraft/net/minecraft/block/BlockHugeMushroom.java
|
|
+++ ../src-work/minecraft/net/minecraft/block/BlockHugeMushroom.java
|
|
@@ -221,6 +221,20 @@
|
|
return new BlockStateContainer(this, new IProperty[] {field_176380_a});
|
|
}
|
|
|
|
+ public boolean rotateBlock(World world, BlockPos pos, EnumFacing axis)
|
|
+ {
|
|
+ IBlockState state = world.func_180495_p(pos);
|
|
+ for (IProperty prop : (java.util.Set<IProperty<?>>)state.func_177228_b().keySet())
|
|
+ {
|
|
+ if (prop.func_177701_a().equals("variant"))
|
|
+ {
|
|
+ world.func_175656_a(pos, state.func_177231_a(prop));
|
|
+ return true;
|
|
+ }
|
|
+ }
|
|
+ return false;
|
|
+ }
|
|
+
|
|
public static enum EnumType implements IStringSerializable
|
|
{
|
|
NORTH_WEST(1, "north_west"),
|