Interface AllayBehavior
- All Superinterfaces:
CreatureBehavior, EntityBehavior, Updatable
Represents Behavior for an Allay
-
Method Summary
Modifier and TypeMethodDescription@NotNull BehaviorResulthearNoteblock(@NotNull Location loc) Makes this Allay listen to a Note Block.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
-
hearNoteblock
Makes this Allay listen to a Note Block.This behavior does not require any memories.
- Parameters:
loc- Location of the Note Block- Returns:
- Result of Behavior
-