Uses of Interface
io.papermc.paper.registry.data.DamageTypeRegistryEntry.Builder
Package
Description
Collection of registry entry types that may be created or modified via the
RegistryEvent
.-
Uses of DamageTypeRegistryEntry.Builder in io.papermc.paper.registry.data
Modifier and TypeMethodDescriptionDamageTypeRegistryEntry.Builder.damageEffect
(DamageEffect effect) Sets theDamageEffect
for this damage type.DamageTypeRegistryEntry.Builder.damageScaling
(DamageScaling scaling) Sets theDamageScaling
for this damage type.DamageTypeRegistryEntry.Builder.deathMessageType
(DeathMessageType deathMessageType) Sets theDeathMessageType
for this damage type.DamageTypeRegistryEntry.Builder.exhaustion
(float exhaustion) Sets the amount of hunger exhaustion caused by this damage type.Sets part of the death message translation key. -
Uses of DamageTypeRegistryEntry.Builder in io.papermc.paper.registry.event
Modifier and TypeFieldDescriptionstatic final RegistryEventProvider
<DamageType, DamageTypeRegistryEntry.Builder> RegistryEvents.DAMAGE_TYPE