public class TileEntity
extends java.lang.Object
| Constructor and Description |
|---|
TileEntity(IWorld world,
int x,
int y) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doesSave() |
void |
dropInventory(IInventory inventory) |
protected int |
getSyncInterval() |
void |
load(DataSet set,
boolean forSync) |
protected boolean |
needsSync() |
protected void |
onSync() |
void |
save(DataSet set,
boolean forSync) |
void |
sendToClients() |
boolean |
shouldRemove() |
void |
update(IGameInstance game) |
public final IWorld world
public final int x
public final int y
public TileEntity(IWorld world, int x, int y)
public void update(IGameInstance game)
public boolean shouldRemove()
public void save(DataSet set, boolean forSync)
public void load(DataSet set, boolean forSync)
protected boolean needsSync()
protected void onSync()
protected int getSyncInterval()
public void sendToClients()
public boolean doesSave()
public void dropInventory(IInventory inventory)