The following functions let you avoid unnecessary chunk loads, which is nice.
(World world, BlockPos pos)
| 303 | |
| 304 | /** The following functions let you avoid unnecessary chunk loads, which is nice. */ |
| 305 | public static TileEntity getTileEntity(World world, BlockPos pos) { |
| 306 | return getTileEntity(world, pos, false); |
| 307 | } |
| 308 | |
| 309 | public static TileEntity getTileEntity(World world, BlockPos pos, boolean force) { |
| 310 | if (!force) { |