Contents
Class InvalidatablePersistentRef
java.lang.Object
com.hypixel.hytale.server.core.entity.reference.PersistentRef
com.hypixel.hytale.server.core.entity.reference.InvalidatablePersistentRef
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intvoidsetEntity(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor) voidsetRefCount(int refCount)
-
Field Details
-
CODEC
-
-
Constructor Details
-
InvalidatablePersistentRef
public InvalidatablePersistentRef()
-
-
Method Details
-
setEntity
public void setEntity(@Nonnull Ref<EntityStore> ref, @Nonnull ComponentAccessor<EntityStore> componentAccessor) - Overrides:
setEntityin classPersistentRef
-
clear
public void clear()- Overrides:
clearin classPersistentRef
-
setRefCount
public void setRefCount(int refCount) -
getRefCount
public int getRefCount()
-