From 3b27a8be7393cbb1f15bda72cba94963b7d94450 Mon Sep 17 00:00:00 2001 From: Forstride Date: Mon, 4 Apr 2016 21:20:25 -0400 Subject: [PATCH] Removed XZ offset for mushrooms --- .../biomesoplenty/common/block/BlockBOPMushroom.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/java/biomesoplenty/common/block/BlockBOPMushroom.java b/src/main/java/biomesoplenty/common/block/BlockBOPMushroom.java index 31bf58af9..f0e88a531 100644 --- a/src/main/java/biomesoplenty/common/block/BlockBOPMushroom.java +++ b/src/main/java/biomesoplenty/common/block/BlockBOPMushroom.java @@ -11,6 +11,7 @@ package biomesoplenty.common.block; import biomesoplenty.api.block.BlockQueries; import biomesoplenty.common.enums.BOPPlants; import biomesoplenty.common.item.ItemBOPBlock; +import net.minecraft.block.Block; import net.minecraft.block.properties.IProperty; import net.minecraft.block.properties.PropertyEnum; import net.minecraft.block.state.BlockStateContainer; @@ -21,6 +22,8 @@ import net.minecraft.util.math.AxisAlignedBB; import net.minecraft.util.math.BlockPos; import net.minecraft.world.IBlockAccess; import net.minecraft.world.World; +import net.minecraftforge.fml.relauncher.Side; +import net.minecraftforge.fml.relauncher.SideOnly; // TODO: mushroom spreading? giant mushrooms with bonemeal? mushrooms popping if too bright? public class BlockBOPMushroom extends BlockBOPDecoration @@ -123,5 +126,12 @@ public class BlockBOPMushroom extends BlockBOPDecoration return BlockQueries.fertile.matches(world, pos.down()); } } + + @Override + @SideOnly(Side.CLIENT) + public Block.EnumOffsetType getOffsetType() + { + return Block.EnumOffsetType.NONE; + } }