#[repr(u32)]pub enum MemoryModuleKind {
Show 110 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,
AngryAt = 57,
UniversalAnger = 58,
AdmiringItem = 59,
TimeTryingToReachAdmireItem = 60,
DisableWalkToAdmireItem = 61,
AdmiringDisabled = 62,
HuntedRecently = 63,
CelebrateLocation = 64,
Dancing = 65,
NearestVisibleHuntableHoglin = 66,
NearestVisibleBabyHoglin = 67,
NearestTargetablePlayerNotWearingGold = 68,
NearbyAdultPiglins = 69,
NearestVisibleAdultPiglins = 70,
NearestVisibleAdultHoglins = 71,
NearestVisibleAdultPiglin = 72,
NearestVisibleZombified = 73,
VisibleAdultPiglinCount = 74,
VisibleAdultHoglinCount = 75,
NearestPlayerHoldingWantedItem = 76,
AteRecently = 77,
NearestRepellent = 78,
Pacified = 79,
RoarTarget = 80,
DisturbanceLocation = 81,
RecentProjectile = 82,
IsSniffing = 83,
IsEmerging = 84,
RoarSoundDelay = 85,
DigCooldown = 86,
RoarSoundCooldown = 87,
SniffCooldown = 88,
TouchCooldown = 89,
VibrationCooldown = 90,
SonicBoomCooldown = 91,
SonicBoomSoundCooldown = 92,
SonicBoomSoundDelay = 93,
LikedPlayer = 94,
LikedNoteblock = 95,
LikedNoteblockCooldownTicks = 96,
ItemPickupCooldownTicks = 97,
SnifferExploredPositions = 98,
SnifferSniffingTarget = 99,
SnifferDigging = 100,
SnifferHappy = 101,
BreezeJumpCooldown = 102,
BreezeShoot = 103,
BreezeShootCharging = 104,
BreezeShootRecover = 105,
BreezeShootCooldown = 106,
BreezeJumpInhaling = 107,
BreezeJumpTarget = 108,
BreezeLeavingWater = 109,
}
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
AngryAt = 57
UniversalAnger = 58
AdmiringItem = 59
TimeTryingToReachAdmireItem = 60
DisableWalkToAdmireItem = 61
AdmiringDisabled = 62
HuntedRecently = 63
CelebrateLocation = 64
Dancing = 65
NearestVisibleHuntableHoglin = 66
NearestVisibleBabyHoglin = 67
NearestTargetablePlayerNotWearingGold = 68
NearbyAdultPiglins = 69
NearestVisibleAdultPiglins = 70
NearestVisibleAdultHoglins = 71
NearestVisibleAdultPiglin = 72
NearestVisibleZombified = 73
VisibleAdultPiglinCount = 74
VisibleAdultHoglinCount = 75
NearestPlayerHoldingWantedItem = 76
AteRecently = 77
NearestRepellent = 78
Pacified = 79
RoarTarget = 80
DisturbanceLocation = 81
RecentProjectile = 82
IsSniffing = 83
IsEmerging = 84
RoarSoundDelay = 85
DigCooldown = 86
RoarSoundCooldown = 87
SniffCooldown = 88
TouchCooldown = 89
VibrationCooldown = 90
SonicBoomCooldown = 91
SonicBoomSoundCooldown = 92
SonicBoomSoundDelay = 93
LikedPlayer = 94
LikedNoteblock = 95
LikedNoteblockCooldownTicks = 96
ItemPickupCooldownTicks = 97
SnifferExploredPositions = 98
SnifferSniffingTarget = 99
SnifferDigging = 100
SnifferHappy = 101
BreezeJumpCooldown = 102
BreezeShoot = 103
BreezeShootCharging = 104
BreezeShootRecover = 105
BreezeShootCooldown = 106
BreezeJumpInhaling = 107
BreezeJumpTarget = 108
BreezeLeavingWater = 109
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 · Source§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 PartialEq for MemoryModuleKind
impl PartialEq 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§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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.