Class KillerAdapter
java.lang.Object
com.winterhavenmc.library.messagebuilder.adapters.pipeline.accessors.killer.KillerAdapter
- All Implemented Interfaces:
Accessor
Accessor that maps supported objects to the
Killable interface for macro extraction.
This adapter enables the use of the {OBJECT.KILLER} macro by wrapping objects
that can report who killed them. This includes:
- Custom plugin-defined objects implementing
Killable LivingEntitytypes from Bukkit, wheregetKiller()is available
This adapter is commonly used to generate messages about deaths, such as kill feeds or death chest logs.
-
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