MCPcopy Create free account
hub / github.com/BuildCraft/BuildCraft / getTileEntity

Method getTileEntity

common/buildcraft/lib/misc/BlockUtil.java:305–307  ·  view source on GitHub ↗

The following functions let you avoid unnecessary chunk loads, which is nice.

(World world, BlockPos pos)

Source from the content-addressed store, hash-verified

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) {

Callers 15

updateMethod · 0.45
getTankMethod · 0.45
onPlacedByMethod · 0.45
GuiTestCaseMethod · 0.45
getServerGuiElementMethod · 0.45
getClientGuiElementMethod · 0.45
isFullyConnectedMethod · 0.45
putInInventoriesMethod · 0.45
onBlockActivatedMethod · 0.45
getActualStateMethod · 0.45
onBlockActivatedMethod · 0.45

Calls 4

getChunkMethod · 0.95
getYMethod · 0.65
getXMethod · 0.65
getZMethod · 0.45

Tested by 1

GuiTestCaseMethod · 0.36