Interface AxolotlBehavior
- All Superinterfaces:
CreatureBehavior, EntityBehavior, Updatable
Represents Behavior for an Axolotl
-
Method Summary
Modifier and TypeMethodDescription@NotNull BehaviorResultplayDead()Makes this Axolotl Play Dead.Methods inherited from interface CreatureBehavior
followTemptation, followTemptation, followTemptation, panic, panic, tryFindWater, tryFindWaterMethods inherited from interface EntityBehavior
backupIfClose, backupIfClose, eraseIf, interactWithDoor, jumpOnBed, jumpOnBed, meleeAttack, meleeAttack, moveToWantedItem, moveToWantedItem, moveToWantedItem, passiveIf, reactToBell, ringBell, sleep, socializeAtBell, wakeUpMethods inherited from interface Updatable
updateActivities
-
Method Details
-
playDead
Makes this Axolotl Play Dead.This behavior requires
EntityMemory.TICKS_PLAY_DEADandEntityMemory.LAST_HURT_ENTITYto be present in the brain.- Returns:
- Result of Behavior
-