| Package | Description |
|---|---|
| org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
| org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc. |
| org.bukkit.entity.memory |
Classes concerning an entity's persistent 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<Boolean> |
MemoryKey.ADMIRING_DISABLED |
static MemoryKey<Boolean> |
MemoryKey.ADMIRING_ITEM |
static MemoryKey<UUID> |
MemoryKey.ANGRY_AT |
static MemoryKey<Boolean> |
MemoryKey.GOLEM_DETECTED_RECENTLY |
static MemoryKey<Location> |
MemoryKey.HOME |
static MemoryKey<Boolean> |
MemoryKey.HUNTED_RECENTLY |
static MemoryKey<Location> |
MemoryKey.JOB_SITE |
static MemoryKey<Long> |
MemoryKey.LAST_SLEPT |
static MemoryKey<Long> |
MemoryKey.LAST_WOKEN |
static MemoryKey<Long> |
MemoryKey.LAST_WORKED_AT_POI |
static MemoryKey<Location> |
MemoryKey.MEETING_POINT |
static MemoryKey<Location> |
MemoryKey.POTENTIAL_JOB_SITE |
static MemoryKey<Boolean> |
MemoryKey.UNIVERSAL_ANGER |
| 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 © 2021. All rights reserved.