Package-level declarations
Opt-in entity behaviours: EffectiveEntityInteractable (click / attack handlers, also on vanilla EntityTypes) and EffectiveEntityLookable (turn towards nearby targets).
Types
Link copied to clipboard
interface EffectiveEntityInteractable
Behaviour that dispatches left/right interactions on custom entities, mirroring ru.hukm.effectiveSpigot.minecraft.items.interfaces.EffectiveClickable for entities.
Link copied to clipboard
interface EffectiveEntityLookable
Behaviour that makes custom entities rotate to face nearby targets as those targets move. Register via EffectiveEntity.doEntityNearLookable.
Link copied to clipboard
Predicate deciding whether a custom entity should turn to look at a given nearby entity.
Link copied to clipboard
typealias InteractCallback = (EffectiveEntityInteractable.EventsCallOptions) -> EffectiveAbstractInteract.Result
Callback for an entity interact handler; its EffectiveAbstractInteract.Result cancels or allows the event.