Skip to content

CoopBlock.CoopResident

Package: com.hypixel.hytale.builtin.adventure.farming.states

public static class CoopBlock.CoopResident

Represents a single resident record within a CoopBlock. Tracks the captured NPC metadata, a persistent reference to the spawned entity in the world, whether the entity is currently deployed, and the last time produce was harvested.

ModifierTypeName
protectedCapturedNPCMetadatametadata
@Nullable protectedPersistentRefpersistentRef
protectedbooleandeployedToWorld
protectedInstantlastProduced
ModifierReturn TypeSignature
publicCapturedNPCMetadatagetMetadata()
@Nullable publicPersistentRefgetPersistentRef()
publicvoidsetPersistentRef(@Nullable PersistentRef persistentRef)
publicbooleangetDeployedToWorld()
publicvoidsetDeployedToWorld(boolean deployedToWorld)
publicInstantgetLastProduced()
publicvoidsetLastProduced(Instant lastProduced)
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.