Storage Drawers: Natura Pack

Storage Drawers: Natura Pack

9M Downloads

drawers not being defined correctly

benbenlaw opened this issue ยท 2 comments

commented

Fixed in the latest 1.16 release

commented

Note: this should be as simple as adding:

@Override
public boolean allowsMovement(BlockState state, IBlockReader worldIn, BlockPos pos, PathType type) {
      return false;
}

to your BlockDrawers class. The issue is that drawers appear to have a non-full but movement-blocking collision shape, but don't override this method. So entities think they can pathfind through them, when they can't. This is particularly noticeable with PneumaticCraft drones, which tend to find this problem very frequently!

(You'll notice that many non-solid vanilla blocks also override this method to return false, for this very reason)