Class CoopResidentComponent
java.lang.Object
com.hypixel.hytale.builtin.adventure.farming.component.CoopResidentComponent
- All Implemented Interfaces:
Component<EntityStore>,Cloneable
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<CoopResidentComponent> private Vector3iprivate booleanFields inherited from interface com.hypixel.hytale.component.Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanvoidsetCoopLocation(Vector3i coopLocation) voidsetMarkedForDespawn(boolean markedForDespawn) 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
-
CODEC
-
coopLocation
-
markedForDespawn
private boolean markedForDespawn
-
-
Constructor Details
-
CoopResidentComponent
public CoopResidentComponent()
-
-
Method Details
-
getComponentType
-
setCoopLocation
-
getCoopLocation
-
setMarkedForDespawn
public void setMarkedForDespawn(boolean markedForDespawn) -
getMarkedForDespawn
public boolean getMarkedForDespawn() -
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Overrides:
clonein classObject
-