MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / addTileEntity

Method addTileEntity

src/main/java/net/minecraft/world/chunk/Chunk.java:943–951  ·  view source on GitHub ↗
(TileEntity tileEntityIn)

Source from the content-addressed store, hash-verified

941 }
942
943 public void addTileEntity(TileEntity tileEntityIn)
944 {
945 this.addTileEntity(tileEntityIn.getPos(), tileEntityIn);
946
947 if (this.isChunkLoaded)
948 {
949 this.worldObj.addTileEntity(tileEntityIn);
950 }
951 }
952
953 public void addTileEntity(BlockPos pos, TileEntity tileEntityIn)
954 {

Callers 1

readChunkFromNBTMethod · 0.95

Calls 9

getBlockMethod · 0.95
setWorldObjMethod · 0.80
validateMethod · 0.80
getMethod · 0.65
putMethod · 0.65
getPosMethod · 0.45
setPosMethod · 0.45
containsKeyMethod · 0.45
invalidateMethod · 0.45

Tested by

no test coverage detected