Class LooterAdapter
java.lang.Object
com.winterhavenmc.library.messagebuilder.pipeline.adapters.looter.LooterAdapter
- All Implemented Interfaces:
Adapter
Adapter that converts supported objects into the
Lootable
interface for macro resolution.
This adapter is designed to identify the entity who is entitled to loot a container or object, not necessarily one who has already looted it. It is useful for generating access-related messages such as "Only {OBJECT.LOOTER} may open this chest."
Supports:
- Objects explicitly implementing
Lootable
LootContext
via itsgetKiller()
method
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.winterhavenmc.library.messagebuilder.pipeline.adapters.Adapter
Adapter.BuiltIn
-
Field Summary
Fields inherited from interface com.winterhavenmc.library.messagebuilder.pipeline.adapters.Adapter
UNKNOWN_VALUE
-
Constructor Summary
Constructors -
Method Summary