Interface AllayBehavior

All Superinterfaces:
CreatureBehavior, EntityBehavior, Updatable

public interface AllayBehavior extends CreatureBehavior, Updatable
Represents Behavior for an Allay
  • Method Details

    • hearNoteblock

      @NotNull @NotNull BehaviorResult hearNoteblock(@NotNull @NotNull Location loc)
      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