mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-25 22:34:33 +00:00
Update to 1.11.2
This commit is contained in:
1 parent
0a0bdfa978
commit
ed1907ddea
3 files changed
+8
-6
No files matched your search
@@ -214,8 +214,10 @@ public abstract class BlockPile extends BlockStructure implements ITileEntityPro
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addCollisionBoxToList(IBlockState state, World worldIn, BlockPos pos, AxisAlignedBB entityBox, List<AxisAlignedBB> collidingBoxes, @Nullable Entity entityIn) {
|
||||
state = this.getActualState(state, worldIn, pos);
|
||||
public void addCollisionBoxToList(IBlockState state, World worldIn, BlockPos pos, AxisAlignedBB entityBox, List<AxisAlignedBB> collidingBoxes, @Nullable Entity entityIn, boolean p_185477_7_) {
|
||||
if (!p_185477_7_) {
|
||||
state = this.getActualState(state, worldIn, pos);
|
||||
}
|
||||
|
||||
for (AxisAlignedBB axisalignedbb : getCollisionBoxList(state)) {
|
||||
addCollisionBoxToList(pos, entityBox, collidingBoxes, axisalignedbb);
|
||||
|
||||
@@ -59,7 +59,7 @@ public class BlockEngine extends BlockBase<BlockTypeEngine> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void addCollisionBoxToList(IBlockState state, World worldIn, BlockPos pos, AxisAlignedBB entityBox, List<AxisAlignedBB> collidingBoxes, @Nullable Entity entityIn) {
|
||||
public void addCollisionBoxToList(IBlockState state, World worldIn, BlockPos pos, AxisAlignedBB entityBox, List<AxisAlignedBB> collidingBoxes, @Nullable Entity entityIn, boolean p_185477_7_) {
|
||||
EnumFacing orientation = state.getValue(FACING);
|
||||
List<AxisAlignedBB> boundingBoxes = boundingBoxesForDirections.get(orientation);
|
||||
if (boundingBoxes == null) {
|
||||
|
||||
Reference in new issue
Block a user