Class LooterAdapter
java.lang.Object
com.winterhavenmc.library.messagebuilder.adapters.pipeline.accessors.looter.LooterAdapter
- All Implemented Interfaces:
Accessor
Accessor 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 LootContextvia itsgetKiller()method
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.Accessor
Accessor.BuiltIn -
Field Summary
Fields inherited from interface com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.Accessor
UNKNOWN_VALUE -
Constructor Summary
Constructors -
Method Summary