Remove duplicate method
This commit is contained in:
@@ -74,10 +74,6 @@ public class BlockConstructor extends BlockCable {
|
|||||||
return new TileConstructor();
|
return new TileConstructor();
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean isInAABB(AxisAlignedBB aabb, float hitX, float hitY, float hitZ) {
|
|
||||||
return hitX >= aabb.minX && hitX <= aabb.maxX && hitY >= aabb.minY && hitY <= aabb.maxY && hitZ >= aabb.minZ && hitZ <= aabb.maxZ;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onBlockActivatedDefault(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
|
public boolean onBlockActivatedDefault(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
|
||||||
if (hitCablePart(state, world, pos, hitX, hitY, hitZ)) {
|
if (hitCablePart(state, world, pos, hitX, hitY, hitZ)) {
|
||||||
|
Reference in New Issue
Block a user