#[repr(u32)]pub enum MemoryModuleKind {
Show 117 variants
Dummy = 0,
Home = 1,
JobSite = 2,
PotentialJobSite = 3,
MeetingPoint = 4,
SecondaryJobSite = 5,
Mobs = 6,
VisibleMobs = 7,
VisibleVillagerBabies = 8,
NearestPlayers = 9,
NearestVisiblePlayer = 10,
NearestVisibleTargetablePlayer = 11,
NearestVisibleTargetablePlayers = 12,
WalkTarget = 13,
LookTarget = 14,
AttackTarget = 15,
AttackCoolingDown = 16,
InteractionTarget = 17,
BreedTarget = 18,
RideTarget = 19,
Path = 20,
InteractableDoors = 21,
DoorsToClose = 22,
NearestBed = 23,
HurtBy = 24,
HurtByEntity = 25,
AvoidTarget = 26,
NearestHostile = 27,
NearestAttackable = 28,
HidingPlace = 29,
HeardBellTime = 30,
CantReachWalkTargetSince = 31,
GolemDetectedRecently = 32,
DangerDetectedRecently = 33,
LastSlept = 34,
LastWoken = 35,
LastWorkedAtPoi = 36,
NearestVisibleAdult = 37,
NearestVisibleWantedItem = 38,
NearestVisibleNemesis = 39,
PlayDeadTicks = 40,
TemptingPlayer = 41,
TemptationCooldownTicks = 42,
GazeCooldownTicks = 43,
IsTempted = 44,
LongJumpCoolingDown = 45,
LongJumpMidJump = 46,
HasHuntingCooldown = 47,
RamCooldownTicks = 48,
RamTarget = 49,
IsInWater = 50,
IsPregnant = 51,
IsPanicking = 52,
UnreachableTongueTargets = 53,
VisitedBlockPositions = 54,
UnreachableTransportBlockPositions = 55,
TransportItemsCooldownTicks = 56,
ChargeCooldownTicks = 57,
AttackTargetCooldown = 58,
SpearFleeingTime = 59,
SpearFleeingPosition = 60,
SpearChargePosition = 61,
SpearEngageTime = 62,
SpearStatus = 63,
AngryAt = 64,
UniversalAnger = 65,
AdmiringItem = 66,
TimeTryingToReachAdmireItem = 67,
DisableWalkToAdmireItem = 68,
AdmiringDisabled = 69,
HuntedRecently = 70,
CelebrateLocation = 71,
Dancing = 72,
NearestVisibleHuntableHoglin = 73,
NearestVisibleBabyHoglin = 74,
NearestTargetablePlayerNotWearingGold = 75,
NearbyAdultPiglins = 76,
NearestVisibleAdultPiglins = 77,
NearestVisibleAdultHoglins = 78,
NearestVisibleAdultPiglin = 79,
NearestVisibleZombified = 80,
VisibleAdultPiglinCount = 81,
VisibleAdultHoglinCount = 82,
NearestPlayerHoldingWantedItem = 83,
AteRecently = 84,
NearestRepellent = 85,
Pacified = 86,
RoarTarget = 87,
DisturbanceLocation = 88,
RecentProjectile = 89,
IsSniffing = 90,
IsEmerging = 91,
RoarSoundDelay = 92,
DigCooldown = 93,
RoarSoundCooldown = 94,
SniffCooldown = 95,
TouchCooldown = 96,
VibrationCooldown = 97,
SonicBoomCooldown = 98,
SonicBoomSoundCooldown = 99,
SonicBoomSoundDelay = 100,
LikedPlayer = 101,
LikedNoteblock = 102,
LikedNoteblockCooldownTicks = 103,
ItemPickupCooldownTicks = 104,
SnifferExploredPositions = 105,
SnifferSniffingTarget = 106,
SnifferDigging = 107,
SnifferHappy = 108,
BreezeJumpCooldown = 109,
BreezeShoot = 110,
BreezeShootCharging = 111,
BreezeShootRecover = 112,
BreezeShootCooldown = 113,
BreezeJumpInhaling = 114,
BreezeJumpTarget = 115,
BreezeLeavingWater = 116,
}Variants§
Dummy = 0
Home = 1
JobSite = 2
PotentialJobSite = 3
MeetingPoint = 4
SecondaryJobSite = 5
Mobs = 6
VisibleMobs = 7
VisibleVillagerBabies = 8
NearestPlayers = 9
NearestVisiblePlayer = 10
NearestVisibleTargetablePlayer = 11
NearestVisibleTargetablePlayers = 12
WalkTarget = 13
LookTarget = 14
AttackTarget = 15
AttackCoolingDown = 16
InteractionTarget = 17
BreedTarget = 18
RideTarget = 19
Path = 20
InteractableDoors = 21
DoorsToClose = 22
NearestBed = 23
HurtBy = 24
HurtByEntity = 25
AvoidTarget = 26
NearestHostile = 27
NearestAttackable = 28
HidingPlace = 29
HeardBellTime = 30
CantReachWalkTargetSince = 31
GolemDetectedRecently = 32
DangerDetectedRecently = 33
LastSlept = 34
LastWoken = 35
LastWorkedAtPoi = 36
NearestVisibleAdult = 37
NearestVisibleWantedItem = 38
NearestVisibleNemesis = 39
PlayDeadTicks = 40
TemptingPlayer = 41
TemptationCooldownTicks = 42
GazeCooldownTicks = 43
IsTempted = 44
LongJumpCoolingDown = 45
LongJumpMidJump = 46
HasHuntingCooldown = 47
RamCooldownTicks = 48
RamTarget = 49
IsInWater = 50
IsPregnant = 51
IsPanicking = 52
UnreachableTongueTargets = 53
VisitedBlockPositions = 54
UnreachableTransportBlockPositions = 55
TransportItemsCooldownTicks = 56
ChargeCooldownTicks = 57
AttackTargetCooldown = 58
SpearFleeingTime = 59
SpearFleeingPosition = 60
SpearChargePosition = 61
SpearEngageTime = 62
SpearStatus = 63
AngryAt = 64
UniversalAnger = 65
AdmiringItem = 66
TimeTryingToReachAdmireItem = 67
DisableWalkToAdmireItem = 68
AdmiringDisabled = 69
HuntedRecently = 70
CelebrateLocation = 71
Dancing = 72
NearestVisibleHuntableHoglin = 73
NearestVisibleBabyHoglin = 74
NearestTargetablePlayerNotWearingGold = 75
NearbyAdultPiglins = 76
NearestVisibleAdultPiglins = 77
NearestVisibleAdultHoglins = 78
NearestVisibleAdultPiglin = 79
NearestVisibleZombified = 80
VisibleAdultPiglinCount = 81
VisibleAdultHoglinCount = 82
NearestPlayerHoldingWantedItem = 83
AteRecently = 84
NearestRepellent = 85
Pacified = 86
RoarTarget = 87
DisturbanceLocation = 88
RecentProjectile = 89
IsSniffing = 90
IsEmerging = 91
RoarSoundDelay = 92
DigCooldown = 93
RoarSoundCooldown = 94
SniffCooldown = 95
TouchCooldown = 96
VibrationCooldown = 97
SonicBoomCooldown = 98
SonicBoomSoundCooldown = 99
SonicBoomSoundDelay = 100
LikedPlayer = 101
LikedNoteblock = 102
LikedNoteblockCooldownTicks = 103
ItemPickupCooldownTicks = 104
SnifferExploredPositions = 105
SnifferSniffingTarget = 106
SnifferDigging = 107
SnifferHappy = 108
BreezeJumpCooldown = 109
BreezeShoot = 110
BreezeShootCharging = 111
BreezeShootRecover = 112
BreezeShootCooldown = 113
BreezeJumpInhaling = 114
BreezeJumpTarget = 115
BreezeLeavingWater = 116
Implementations§
Source§impl MemoryModuleKind
impl MemoryModuleKind
Sourcepub unsafe fn from_u32_unchecked(id: u32) -> Self
pub unsafe fn from_u32_unchecked(id: u32) -> Self
pub fn is_valid_id(id: u32) -> bool
Trait Implementations§
Source§impl AzaleaRead for MemoryModuleKind
impl AzaleaRead for MemoryModuleKind
Source§impl AzaleaWrite for MemoryModuleKind
impl AzaleaWrite for MemoryModuleKind
Source§impl Clone for MemoryModuleKind
impl Clone for MemoryModuleKind
Source§fn clone(&self) -> MemoryModuleKind
fn clone(&self) -> MemoryModuleKind
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MemoryModuleKind
impl Debug for MemoryModuleKind
Source§impl<'de> Deserialize<'de> for MemoryModuleKind
Available on crate feature serde only.
impl<'de> Deserialize<'de> for MemoryModuleKind
Available on crate feature
serde only.Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for MemoryModuleKind
impl Display for MemoryModuleKind
Source§impl FromNbtTag for MemoryModuleKind
impl FromNbtTag for MemoryModuleKind
fn from_nbt_tag(tag: NbtTag<'_, '_>) -> Option<Self>
fn from_optional_nbt_tag( tag: Option<NbtTag<'_, '_>>, ) -> Result<Option<Self>, DeserializeError>
Source§impl FromStr for MemoryModuleKind
impl FromStr for MemoryModuleKind
Source§impl Hash for MemoryModuleKind
impl Hash for MemoryModuleKind
Source§impl Ord for MemoryModuleKind
impl Ord for MemoryModuleKind
Source§impl PartialEq for MemoryModuleKind
impl PartialEq for MemoryModuleKind
Source§impl PartialOrd for MemoryModuleKind
impl PartialOrd for MemoryModuleKind
Source§impl Registry for MemoryModuleKind
impl Registry for MemoryModuleKind
Source§impl Serialize for MemoryModuleKind
Available on crate feature serde only.
impl Serialize for MemoryModuleKind
Available on crate feature
serde only.Source§impl ToNbtTag for MemoryModuleKind
impl ToNbtTag for MemoryModuleKind
fn to_nbt_tag(self) -> NbtTag
fn to_optional_nbt_tag(self) -> Option<NbtTag>
Source§impl TryFrom<u32> for MemoryModuleKind
impl TryFrom<u32> for MemoryModuleKind
impl Copy for MemoryModuleKind
impl Eq for MemoryModuleKind
impl StructuralPartialEq for MemoryModuleKind
Auto Trait Implementations§
impl Freeze for MemoryModuleKind
impl RefUnwindSafe for MemoryModuleKind
impl Send for MemoryModuleKind
impl Sync for MemoryModuleKind
impl Unpin for MemoryModuleKind
impl UnwindSafe for MemoryModuleKind
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.