Class PlayerMemories
java.lang.Object
com.hypixel.hytale.builtin.adventure.memories.component.PlayerMemories
- All Implemented Interfaces:
Component<EntityStore>,Cloneable
-
Field Summary
FieldsFields inherited from interface com.hypixel.hytale.component.Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()static ComponentType<EntityStore, PlayerMemories> intbooleanbooleanrecordMemory(Memory memory) voidsetMemoriesCapacity(int memoriesCapacity) booleantakeMemories(Set<Memory> outMemories) 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
-
memories
-
memoriesCapacity
private int memoriesCapacity
-
-
Constructor Details
-
PlayerMemories
public PlayerMemories()
-
-
Method Details
-
getComponentType
-
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Overrides:
clonein classObject
-
getMemoriesCapacity
public int getMemoriesCapacity() -
setMemoriesCapacity
public void setMemoriesCapacity(int memoriesCapacity) -
recordMemory
-
hasMemories
public boolean hasMemories() -
takeMemories
-
getRecordedMemories
-