Uses of Interface
net.neoforged.neoforge.common.damagesource.IDeathMessageProvider
Package
Description
-
Uses of IDeathMessageProvider in net.minecraft.world.damagesource
Modifier and TypeFieldDescriptionprivate final IDeathMessageProvider
DeathMessageType.msgFunction
Modifier and TypeMethodDescriptionDeathMessageType.getMessageFunction()
The death message function is used when an entity dies to a damage type with this death message type.Modifier and TypeMethodDescriptionstatic DeathMessageType
DeathMessageType.create
(String name, String id, IDeathMessageProvider msgFunction) Creates a new DeathMessageType with the specified ID and death message provider.
Example usage:ModifierConstructorDescriptionprivate
DeathMessageType
(String id, IDeathMessageProvider msgFunction) -
Uses of IDeathMessageProvider in net.neoforged.neoforge.common.damagesource
Modifier and TypeFieldDescriptionstatic final IDeathMessageProvider
IDeathMessageProvider.DEFAULT
Default death message provider used by the vanillaDeathMessageType
s. -
Uses of IDeathMessageProvider in net.neoforged.neoforge.debug.damagesource