Class CoopBlock.CoopResident
java.lang.Object
com.hypixel.hytale.builtin.adventure.farming.states.CoopBlock.CoopResident
- Enclosing class:
CoopBlock
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<CoopBlock.CoopResident> protected booleanprotected Instantprotected CapturedNPCMetadataprotected PersistentRef -
Constructor Summary
ConstructorsConstructorDescriptionCoopResident(CapturedNPCMetadata metadata, PersistentRef persistentRef, Instant lastProduced) -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetDeployedToWorld(boolean deployedToWorld) voidsetLastProduced(Instant lastProduced) voidsetPersistentRef(PersistentRef persistentRef)
-
Field Details
-
CODEC
-
metadata
-
persistentRef
-
deployedToWorld
protected boolean deployedToWorld -
lastProduced
-
-
Constructor Details
-
CoopResident
public CoopResident() -
CoopResident
public CoopResident(CapturedNPCMetadata metadata, PersistentRef persistentRef, Instant lastProduced)
-
-
Method Details
-
getMetadata
-
getPersistentRef
-
setPersistentRef
-
getDeployedToWorld
public boolean getDeployedToWorld() -
setDeployedToWorld
public void setDeployedToWorld(boolean deployedToWorld) -
getLastProduced
-
setLastProduced
-