Class DamageDataComponent
java.lang.Object
com.hypixel.hytale.server.core.entity.damage.DamageDataComponent
- All Implemented Interfaces:
Component<EntityStore>,Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate WieldingInteractionprivate Instantprivate Instantprivate InstantFields inherited from interface com.hypixel.hytale.component.Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()voidsetCurrentWielding(WieldingInteraction currentWielding) voidsetLastChargeTime(Instant lastChargeTime) voidsetLastCombatAction(Instant lastCombatAction) voidsetLastDamageTime(Instant lastDamageTime) Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hypixel.hytale.component.Component
cloneSerializable
-
Field Details
-
lastCombatAction
-
lastDamageTime
-
currentWielding
-
lastChargeTime
-
-
Constructor Details
-
DamageDataComponent
public DamageDataComponent()
-
-
Method Details
-
getComponentType
-
getLastCombatAction
-
setLastCombatAction
-
getLastDamageTime
-
setLastDamageTime
-
getLastChargeTime
-
setLastChargeTime
-
getCurrentWielding
-
setCurrentWielding
-
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Overrides:
clonein classObject
-