Class Damage.CommandSource
java.lang.Object
com.hypixel.hytale.server.core.modules.entity.damage.Damage.CommandSource
- All Implemented Interfaces:
Damage.Source
- Enclosing class:
Damage
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate final Stringprivate final CommandSender -
Constructor Summary
ConstructorsConstructorDescriptionCommandSource(CommandSender commandSender, AbstractCommand cmd) CommandSource(CommandSender commandSender, String commandName) -
Method Summary
Modifier and TypeMethodDescriptiongetDeathMessage(Damage info, Ref<EntityStore> targetRef, ComponentAccessor<EntityStore> componentAccessor)
-
Field Details
-
COMMAND_NAME_UNKNOWN
- See Also:
-
commandSender
-
commandName
-
-
Constructor Details
-
CommandSource
-
CommandSource
-
-
Method Details
-
getDeathMessage
@Nonnull public Message getDeathMessage(@Nonnull Damage info, @Nonnull Ref<EntityStore> targetRef, @Nonnull ComponentAccessor<EntityStore> componentAccessor) - Specified by:
getDeathMessagein interfaceDamage.Source
-