Flower offset added
This commit is contained in:
parent
ff6516eaa1
commit
7de30e4d9b
1 changed files with 9 additions and 1 deletions
|
@ -8,6 +8,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;
|
||||
|
||||
import com.legacy.aether.server.blocks.BlocksAether;
|
||||
|
||||
|
@ -22,7 +24,13 @@ public class BlockAetherFlower extends BlockBush
|
|||
this.setTickRandomly(true);
|
||||
this.setSoundType(SoundType.PLANT);
|
||||
this.FLOWER_AABB = new AxisAlignedBB(0.5F - 0.2F, 0.0F, 0.5F - 0.2F, 0.5F + 0.2F, 0.2F * 3.0F, 0.5F + 0.2F);
|
||||
}
|
||||
}
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public Block.EnumOffsetType getOffsetType()
|
||||
{
|
||||
return Block.EnumOffsetType.XZ;
|
||||
}
|
||||
|
||||
@Override
|
||||
public AxisAlignedBB getBoundingBox(IBlockState state, IBlockAccess source, BlockPos pos)
|
||||
|
|
Loading…
Reference in a new issue