Enum minecraft_data::sensor_type
source · #[repr(u8)]pub enum sensor_type {
Show 26 variants
dummy = 0,
nearest_items = 1,
nearest_living_entities = 2,
nearest_players = 3,
nearest_bed = 4,
hurt_by = 5,
villager_hostiles = 6,
villager_babies = 7,
secondary_pois = 8,
golem_detected = 9,
armadillo_scare_detected = 10,
piglin_specific_sensor = 11,
piglin_brute_specific_sensor = 12,
hoglin_specific_sensor = 13,
nearest_adult = 14,
axolotl_attackables = 15,
axolotl_temptations = 16,
goat_temptations = 17,
frog_temptations = 18,
camel_temptations = 19,
armadillo_temptations = 20,
frog_attackables = 21,
is_in_water = 22,
warden_entity_sensor = 23,
sniffer_temptations = 24,
breeze_attack_entity_sensor = 25,
}Variants§
dummy = 0
nearest_items = 1
nearest_living_entities = 2
nearest_players = 3
nearest_bed = 4
hurt_by = 5
villager_hostiles = 6
villager_babies = 7
secondary_pois = 8
golem_detected = 9
armadillo_scare_detected = 10
piglin_specific_sensor = 11
piglin_brute_specific_sensor = 12
hoglin_specific_sensor = 13
nearest_adult = 14
axolotl_attackables = 15
axolotl_temptations = 16
goat_temptations = 17
frog_temptations = 18
camel_temptations = 19
armadillo_temptations = 20
frog_attackables = 21
is_in_water = 22
warden_entity_sensor = 23
sniffer_temptations = 24
breeze_attack_entity_sensor = 25
Implementations§
Trait Implementations§
source§impl Clone for sensor_type
impl Clone for sensor_type
source§fn clone(&self) -> sensor_type
fn clone(&self) -> sensor_type
Returns a copy 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 sensor_type
impl Debug for sensor_type
source§impl Display for sensor_type
impl Display for sensor_type
source§impl Hash for sensor_type
impl Hash for sensor_type
source§impl PartialEq for sensor_type
impl PartialEq for sensor_type
source§fn eq(&self, other: &sensor_type) -> bool
fn eq(&self, other: &sensor_type) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Write for sensor_type
impl Write for sensor_type
impl Copy for sensor_type
impl Eq for sensor_type
impl StructuralEq for sensor_type
impl StructuralPartialEq for sensor_type
Auto Trait Implementations§
impl RefUnwindSafe for sensor_type
impl Send for sensor_type
impl Sync for sensor_type
impl Unpin for sensor_type
impl UnwindSafe for sensor_type
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