Enum minecraft_data::game_event
source · #[repr(u8)]pub enum game_event {
Show 60 variants
block_activate = 0,
block_attach = 1,
block_change = 2,
block_close = 3,
block_deactivate = 4,
block_destroy = 5,
block_detach = 6,
block_open = 7,
block_place = 8,
container_close = 9,
container_open = 10,
drink = 11,
eat = 12,
elytra_glide = 13,
entity_damage = 14,
entity_die = 15,
entity_dismount = 16,
entity_interact = 17,
entity_mount = 18,
entity_place = 19,
entity_action = 20,
equip = 21,
explode = 22,
flap = 23,
fluid_pickup = 24,
fluid_place = 25,
hit_ground = 26,
instrument_play = 27,
item_interact_finish = 28,
item_interact_start = 29,
jukebox_play = 30,
jukebox_stop_play = 31,
lightning_strike = 32,
note_block_play = 33,
prime_fuse = 34,
projectile_land = 35,
projectile_shoot = 36,
sculk_sensor_tendrils_clicking = 37,
shear = 38,
shriek = 39,
splash = 40,
step = 41,
swim = 42,
teleport = 43,
unequip = 44,
resonate_1 = 45,
resonate_2 = 46,
resonate_3 = 47,
resonate_4 = 48,
resonate_5 = 49,
resonate_6 = 50,
resonate_7 = 51,
resonate_8 = 52,
resonate_9 = 53,
resonate_10 = 54,
resonate_11 = 55,
resonate_12 = 56,
resonate_13 = 57,
resonate_14 = 58,
resonate_15 = 59,
}Variants§
block_activate = 0
block_attach = 1
block_change = 2
block_close = 3
block_deactivate = 4
block_destroy = 5
block_detach = 6
block_open = 7
block_place = 8
container_close = 9
container_open = 10
drink = 11
eat = 12
elytra_glide = 13
entity_damage = 14
entity_die = 15
entity_dismount = 16
entity_interact = 17
entity_mount = 18
entity_place = 19
entity_action = 20
equip = 21
explode = 22
flap = 23
fluid_pickup = 24
fluid_place = 25
hit_ground = 26
instrument_play = 27
item_interact_finish = 28
item_interact_start = 29
jukebox_play = 30
jukebox_stop_play = 31
lightning_strike = 32
note_block_play = 33
prime_fuse = 34
projectile_land = 35
projectile_shoot = 36
sculk_sensor_tendrils_clicking = 37
shear = 38
shriek = 39
splash = 40
step = 41
swim = 42
teleport = 43
unequip = 44
resonate_1 = 45
resonate_2 = 46
resonate_3 = 47
resonate_4 = 48
resonate_5 = 49
resonate_6 = 50
resonate_7 = 51
resonate_8 = 52
resonate_9 = 53
resonate_10 = 54
resonate_11 = 55
resonate_12 = 56
resonate_13 = 57
resonate_14 = 58
resonate_15 = 59
Implementations§
Trait Implementations§
source§impl Clone for game_event
impl Clone for game_event
source§fn clone(&self) -> game_event
fn clone(&self) -> game_event
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 game_event
impl Debug for game_event
source§impl Display for game_event
impl Display for game_event
source§impl Hash for game_event
impl Hash for game_event
source§impl PartialEq for game_event
impl PartialEq for game_event
source§fn eq(&self, other: &game_event) -> bool
fn eq(&self, other: &game_event) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Write for game_event
impl Write for game_event
impl Copy for game_event
impl Eq for game_event
impl StructuralEq for game_event
impl StructuralPartialEq for game_event
Auto Trait Implementations§
impl RefUnwindSafe for game_event
impl Send for game_event
impl Sync for game_event
impl Unpin for game_event
impl UnwindSafe for game_event
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