Package com.hypixel.hytale.server.flock
Class FlockMembership
java.lang.Object
com.hypixel.hytale.server.flock.FlockMembership
- All Implemented Interfaces:
Component<EntityStore>,Cloneable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<FlockMembership> private UUIDprivate Ref<EntityStore> private FlockMembership.Typestatic final intFields inherited from interface com.hypixel.hytale.component.Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()static ComponentType<EntityStore, FlockMembership> voidsetFlockId(UUID flockId) voidsetFlockRef(Ref<EntityStore> flockRef) voidsetMembershipType(FlockMembership.Type membershipType) voidunload()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
-
VERSION
public static final int VERSION- See Also:
-
CODEC
-
flockId
-
membershipType
-
flockRef
-
-
Constructor Details
-
FlockMembership
public FlockMembership()
-
-
Method Details
-
getComponentType
-
getFlockId
-
setFlockId
-
getFlockRef
-
setFlockRef
-
setMembershipType
-
getMembershipType
-
unload
public void unload() -
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Overrides:
clonein classObject
-