Package-level declarations

Opt-in item behaviours: EffectiveClickable, EffectiveCraftable, EffectiveDropable, EffectiveThrowable, EffectiveDurability, EffectiveWearable, EffectiveUndropable, EffectiveBrewable. Each is reached from EffectiveItem through a make* / add* call in init().

Types

Link copied to clipboard

Behaviour that registers brewing-stand recipes for custom items. Usually reached via ru.hukm.effectiveSpigot.minecraft.items.EffectiveItem.addBrewRecipe.

Link copied to clipboard

Behaviour that dispatches left/right-click interactions on custom items.

Link copied to clipboard

Behaviour that registers shapeless crafting recipes for custom items.

Link copied to clipboard

Behaviour that makes a custom item drop from loot tables, broken blocks or killed entities.

Link copied to clipboard

Behaviour that turns an EffectiveItem's durability bar into a limited-use counter.

Link copied to clipboard

Behaviour that lets an EffectiveItem be thrown as a snowball-backed projectile.

Link copied to clipboard

Behaviour that prevents an EffectiveItem from leaving the player's inventory.

Link copied to clipboard

Behaviour that lets an EffectiveItem be worn on the head.

Link copied to clipboard
typealias InteractCallback = (EffectiveClickable.EventsCallOptions) -> EffectiveAbstractInteract.Result

Callback for a click handler; its returned EffectiveAbstractInteract.Result cancels or allows the event.