Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.entity.memory |
Modifier and Type | Field and Description |
---|---|
static Registry<MemoryKey> |
Registry.MEMORY_MODULE_TYPE
Memory Keys.
|
Modifier and Type | Method and Description |
---|---|
<T> T |
LivingEntity.getMemory(MemoryKey<T> memoryKey)
Returns the value of the memory specified.
|
<T> void |
LivingEntity.setMemory(MemoryKey<T> memoryKey,
T memoryValue)
Sets the value of the memory specified.
|
Modifier and Type | Field and Description |
---|---|
static MemoryKey<Location> |
MemoryKey.HOME |
static MemoryKey<Location> |
MemoryKey.JOB_SITE |
static MemoryKey<Long> |
MemoryKey.LAST_SLEPT |
static MemoryKey<Long> |
MemoryKey.LAST_WORKED_AT_POI |
static MemoryKey<Location> |
MemoryKey.MEETING_POINT |
Modifier and Type | Method and Description |
---|---|
static MemoryKey |
MemoryKey.getByKey(NamespacedKey namespacedKey)
Returns a
MemoryKey by a NamespacedKey . |
Modifier and Type | Method and Description |
---|---|
static Set<MemoryKey> |
MemoryKey.values()
Returns the set of all MemoryKeys.
|
Copyright © 2022. All rights reserved.