Package com.winterhavenmc.library.messagebuilder.adapters.pipeline.accessors.looter
package com.winterhavenmc.library.messagebuilder.adapters.pipeline.accessors.looter
Contains support for adapting objects that represent looting permissions or claims.
This package defines the Lootable
interface, which is used to associate an object with a looter — a player or entity that has
permission to retrieve contents or rewards from a container, chest, or drop.
Importantly, this looter concept is not tied to an actual looting event. Instead, it expresses
ownership or entitlement prior to looting. This allows for message macros like {OBJECT.LOOTER}
to inform players of access restrictions or intended claimants.
The LooterAdapter
supports both plugin-defined Lootable objects and Bukkit LootContext instances.
Note: This is unrelated to Lootable and should not be confused
with the standard Bukkit interface of the same name.
-
ClassesClassDescriptionAccessor that converts supported objects into the
Lootableinterface for macro resolution.