Package com.hypixel.hytale.server.flock
Class Flock
java.lang.Object
com.hypixel.hytale.server.flock.Flock
- All Implemented Interfaces:
Component<EntityStore>,Cloneable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DamageDataprivate DamageDataprivate PersistentFlockDataprivate DamageDataprivate DamageDataprivate Flock.FlockRemovedStatusprivate booleanFields inherited from interface com.hypixel.hytale.component.Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()static ComponentType<EntityStore, Flock> booleanisTrace()voidonTargetKilled(ComponentAccessor<EntityStore> componentAccessor, Ref<EntityStore> targetEntityReference) voidsetFlockData(PersistentFlockData flockData) voidvoidsetTrace(boolean trace) voidtoString()Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.hypixel.hytale.component.Component
cloneSerializable
-
Field Details
-
trace
private boolean trace -
flockData
-
nextDamageData
-
currentDamageData
-
nextLeaderDamageData
-
currentLeaderDamageData
-
removedStatus
-
-
Constructor Details
-
Flock
public Flock() -
Flock
-
-
Method Details
-
getComponentType
-
getDamageData
-
getNextDamageData
-
getLeaderDamageData
-
getNextLeaderDamageData
-
isTrace
public boolean isTrace() -
setTrace
public void setTrace(boolean trace) -
getFlockData
-
setFlockData
-
getRemovedStatus
-
setRemovedStatus
-
onTargetKilled
public void onTargetKilled(@Nonnull ComponentAccessor<EntityStore> componentAccessor, @Nonnull Ref<EntityStore> targetEntityReference) -
swapDamageDataBuffers
public void swapDamageDataBuffers() -
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Overrides:
clonein classObject
-
toString
-