Class StaticDamageType
java.lang.Object
com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
com.github.retrooper.packetevents.protocol.world.damagetype.StaticDamageType
- All Implemented Interfaces:
CopyableEntity<DamageType>,DeepComparableEntity,MappedEntity,DamageType
-
Field Summary
Fields inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
data -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedStaticDamageType(@Nullable TypesBuilderData data, String messageId, DamageScaling scaling, float exhaustion, DamageEffects effects, DeathMessageType deathMessageType) -
Method Summary
Modifier and TypeMethodDescriptioncopy(@Nullable TypesBuilderData newData) booleandeepEquals(Object obj) intfloattoString()Methods inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
equals, getId, getName, getRegistryData, hashCode, isRegisteredMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
getId, getName, isRegistered
-
Constructor Details
-
StaticDamageType
protected StaticDamageType(@Nullable @Nullable TypesBuilderData data, String messageId, DamageScaling scaling, float exhaustion, DamageEffects effects, DeathMessageType deathMessageType)
-
-
Method Details
-
copy
- Specified by:
copyin interfaceCopyableEntity<DamageType>
-
getMessageId
- Specified by:
getMessageIdin interfaceDamageType
-
getScaling
- Specified by:
getScalingin interfaceDamageType
-
getExhaustion
public float getExhaustion()- Specified by:
getExhaustionin interfaceDamageType
-
getEffects
- Specified by:
getEffectsin interfaceDamageType
-
getDeathMessageType
- Specified by:
getDeathMessageTypein interfaceDamageType
-
deepEquals
- Specified by:
deepEqualsin interfaceDeepComparableEntity
-
deepHashCode
public int deepHashCode()- Specified by:
deepHashCodein interfaceDeepComparableEntity
-
toString
- Overrides:
toStringin classAbstractMappedEntity
-