Skip to content

DamageCause

Package: com.hypixel.hytale.server.core.modules.entity.damage

Type: class

Implements: JsonAssetWithMap

Constructors

java
public DamageCause()
java
public DamageCause(@Nonnull String id)
java
public DamageCause(@Nonnull String id, @Nonnull String inherits, boolean durabilityLoss, boolean staminaLoss, boolean bypassResistances)

Static Fields

NameType
CODECAssetBuilderCodec
ASSET_STOREAssetStore
VALIDATOR_CACHEValidatorCache
CHILD_ASSET_CODECCodec
PHYSICALDamageCause
PROJECTILEDamageCause
COMMANDDamageCause
DROWNINGDamageCause
ENVIRONMENTDamageCause
FALLDamageCause
OUT_OF_WORLDDamageCause
SUFFOCATIONDamageCause

Fields

NameType
idString
inheritsString
durabilityLossboolean
staminaLossboolean
bypassResistancesboolean
damageTextColorString
animationIdString
deathAnimationIdString

Static Methods

MethodReturns
getAssetStore()AssetStore
getAssetMap()IndexedLookupTableAssetMap

Methods

MethodReturns
getId()String
isDurabilityLoss()boolean
isStaminaLoss()boolean
doesBypassResistances()boolean
getInherits()String
getAnimationId()String
getDeathAnimationId()String

Unofficial documentation · Any questions? Found a mistake? Have something you want documented? Join the Discord server at the top and let us know in #hytale!