public interface ManagedEnvironment extends Environment, Persistable
Modifier and Type | Method and Description |
---|---|
boolean |
canUpdate()
Like the method of the same name on tile entities, this is used to
decide whether to put a component in the list of components that need
updating, i.e.
|
void |
update()
This is called by the host of this managed environment once per tick.
|
node, onConnect, onDisconnect, onMessage
load, save
boolean canUpdate()
update()
should be called each tick.
Return false here, if you do not need updates, to improve performance.void update()