public interface Behavior
BehaviorProvider.createBehaviors(net.minecraft.entity.player.EntityPlayer)
.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNameHint()
A short name / description of this behavior.
|
void |
onDisable(DisableReason reason)
Called when this behavior becomes inactive.
|
void |
onEnable()
Called when this behavior becomes active because all its required inputs
are now satisfied.
|
void |
update()
Called each tick while this behavior is active.
|
java.lang.String getNameHint()
void onEnable()
void onDisable(DisableReason reason)
reason
- the reason the behavior is being disabled.void update()