Class TileEntity
java.lang.Object
de.ellpeck.rockbottom.api.tile.entity.TileEntity
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandoesSave()booleandoesTick()voiddropInventory(IInventory inventory) protected intvoidprotected booleanprotected voidonSync()voidvoidbooleanshouldMakeChunkPersist(IChunk chunk) booleanvoidupdate(IGameInstance game)
-
Field Details
-
world
-
x
public final int x -
y
public final int y -
layer
-
-
Constructor Details
-
TileEntity
-
-
Method Details
-
update
-
shouldRemove
public boolean shouldRemove() -
save
-
load
-
needsSync
protected boolean needsSync() -
onSync
protected void onSync() -
getSyncInterval
protected int getSyncInterval() -
sendToClients
public void sendToClients() -
doesSave
public boolean doesSave() -
dropInventory
-
getTileInventory
-
shouldMakeChunkPersist
-
doesTick
public boolean doesTick()
-