Contents
Class PersistentFlockData
java.lang.Object
com.hypixel.hytale.server.flock.PersistentFlockData
- All Implemented Interfaces:
Component<EntityStore>, Cloneable
Created on 28/10/2020
-
Field Summary
FieldsFields inherited from interface Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()voidstatic ComponentType<EntityStore, PersistentFlockData> intvoidbooleanisFlockAllowedRole(String role) Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
cloneSerializable
-
Field Details
-
CODEC
-
-
Constructor Details
-
PersistentFlockData
-
-
Method Details
-
getComponentType
-
getMaxGrowSize
public int getMaxGrowSize() -
isFlockAllowedRole
-
increaseSize
public void increaseSize() -
decreaseSize
public void decreaseSize() -
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-