#[repr(u8)]pub enum entity_type {
Show 149 variants
acacia_boat = 0,
acacia_chest_boat = 1,
allay = 2,
area_effect_cloud = 3,
armadillo = 4,
armor_stand = 5,
arrow = 6,
axolotl = 7,
bamboo_chest_raft = 8,
bamboo_raft = 9,
bat = 10,
bee = 11,
birch_boat = 12,
birch_chest_boat = 13,
blaze = 14,
block_display = 15,
bogged = 16,
breeze = 17,
breeze_wind_charge = 18,
camel = 19,
cat = 20,
cave_spider = 21,
cherry_boat = 22,
cherry_chest_boat = 23,
chest_minecart = 24,
chicken = 25,
cod = 26,
command_block_minecart = 27,
cow = 28,
creaking = 29,
creeper = 30,
dark_oak_boat = 31,
dark_oak_chest_boat = 32,
dolphin = 33,
donkey = 34,
dragon_fireball = 35,
drowned = 36,
egg = 37,
elder_guardian = 38,
enderman = 39,
endermite = 40,
ender_dragon = 41,
ender_pearl = 42,
end_crystal = 43,
evoker = 44,
evoker_fangs = 45,
experience_bottle = 46,
experience_orb = 47,
eye_of_ender = 48,
falling_block = 49,
fireball = 50,
firework_rocket = 51,
fox = 52,
frog = 53,
furnace_minecart = 54,
ghast = 55,
giant = 56,
glow_item_frame = 57,
glow_squid = 58,
goat = 59,
guardian = 60,
hoglin = 61,
hopper_minecart = 62,
horse = 63,
husk = 64,
illusioner = 65,
interaction = 66,
iron_golem = 67,
item = 68,
item_display = 69,
item_frame = 70,
jungle_boat = 71,
jungle_chest_boat = 72,
leash_knot = 73,
lightning_bolt = 74,
llama = 75,
llama_spit = 76,
magma_cube = 77,
mangrove_boat = 78,
mangrove_chest_boat = 79,
marker = 80,
minecart = 81,
mooshroom = 82,
mule = 83,
oak_boat = 84,
oak_chest_boat = 85,
ocelot = 86,
ominous_item_spawner = 87,
painting = 88,
pale_oak_boat = 89,
pale_oak_chest_boat = 90,
panda = 91,
parrot = 92,
phantom = 93,
pig = 94,
piglin = 95,
piglin_brute = 96,
pillager = 97,
polar_bear = 98,
potion = 99,
pufferfish = 100,
rabbit = 101,
ravager = 102,
salmon = 103,
sheep = 104,
shulker = 105,
shulker_bullet = 106,
silverfish = 107,
skeleton = 108,
skeleton_horse = 109,
slime = 110,
small_fireball = 111,
sniffer = 112,
snowball = 113,
snow_golem = 114,
spawner_minecart = 115,
spectral_arrow = 116,
spider = 117,
spruce_boat = 118,
spruce_chest_boat = 119,
squid = 120,
stray = 121,
strider = 122,
tadpole = 123,
text_display = 124,
tnt = 125,
tnt_minecart = 126,
trader_llama = 127,
trident = 128,
tropical_fish = 129,
turtle = 130,
vex = 131,
villager = 132,
vindicator = 133,
wandering_trader = 134,
warden = 135,
wind_charge = 136,
witch = 137,
wither = 138,
wither_skeleton = 139,
wither_skull = 140,
wolf = 141,
zoglin = 142,
zombie = 143,
zombie_horse = 144,
zombie_villager = 145,
zombified_piglin = 146,
player = 147,
fishing_bobber = 148,
}Variants§
acacia_boat = 0
acacia_chest_boat = 1
allay = 2
area_effect_cloud = 3
armadillo = 4
armor_stand = 5
arrow = 6
axolotl = 7
bamboo_chest_raft = 8
bamboo_raft = 9
bat = 10
bee = 11
birch_boat = 12
birch_chest_boat = 13
blaze = 14
block_display = 15
bogged = 16
breeze = 17
breeze_wind_charge = 18
camel = 19
cat = 20
cave_spider = 21
cherry_boat = 22
cherry_chest_boat = 23
chest_minecart = 24
chicken = 25
cod = 26
command_block_minecart = 27
cow = 28
creaking = 29
creeper = 30
dark_oak_boat = 31
dark_oak_chest_boat = 32
dolphin = 33
donkey = 34
dragon_fireball = 35
drowned = 36
egg = 37
elder_guardian = 38
enderman = 39
endermite = 40
ender_dragon = 41
ender_pearl = 42
end_crystal = 43
evoker = 44
evoker_fangs = 45
experience_bottle = 46
experience_orb = 47
eye_of_ender = 48
falling_block = 49
fireball = 50
firework_rocket = 51
fox = 52
frog = 53
furnace_minecart = 54
ghast = 55
giant = 56
glow_item_frame = 57
glow_squid = 58
goat = 59
guardian = 60
hoglin = 61
hopper_minecart = 62
horse = 63
husk = 64
illusioner = 65
interaction = 66
iron_golem = 67
item = 68
item_display = 69
item_frame = 70
jungle_boat = 71
jungle_chest_boat = 72
leash_knot = 73
lightning_bolt = 74
llama = 75
llama_spit = 76
magma_cube = 77
mangrove_boat = 78
mangrove_chest_boat = 79
marker = 80
minecart = 81
mooshroom = 82
mule = 83
oak_boat = 84
oak_chest_boat = 85
ocelot = 86
ominous_item_spawner = 87
painting = 88
pale_oak_boat = 89
pale_oak_chest_boat = 90
panda = 91
parrot = 92
phantom = 93
pig = 94
piglin = 95
piglin_brute = 96
pillager = 97
polar_bear = 98
potion = 99
pufferfish = 100
rabbit = 101
ravager = 102
salmon = 103
sheep = 104
shulker = 105
shulker_bullet = 106
silverfish = 107
skeleton = 108
skeleton_horse = 109
slime = 110
small_fireball = 111
sniffer = 112
snowball = 113
snow_golem = 114
spawner_minecart = 115
spectral_arrow = 116
spider = 117
spruce_boat = 118
spruce_chest_boat = 119
squid = 120
stray = 121
strider = 122
tadpole = 123
text_display = 124
tnt = 125
tnt_minecart = 126
trader_llama = 127
trident = 128
tropical_fish = 129
turtle = 130
vex = 131
villager = 132
vindicator = 133
wandering_trader = 134
warden = 135
wind_charge = 136
witch = 137
wither = 138
wither_skeleton = 139
wither_skull = 140
wolf = 141
zoglin = 142
zombie = 143
zombie_horse = 144
zombie_villager = 145
zombified_piglin = 146
player = 147
fishing_bobber = 148
Implementations§
Source§impl entity_type
impl entity_type
Trait Implementations§
Source§impl Clone for entity_type
impl Clone for entity_type
Source§fn clone(&self) -> entity_type
fn clone(&self) -> entity_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 entity_type
impl Debug for entity_type
Source§impl Display for entity_type
impl Display for entity_type
Source§impl Hash for entity_type
impl Hash for entity_type
Source§impl PartialEq for entity_type
impl PartialEq for entity_type
Source§impl Write for entity_type
impl Write for entity_type
impl Copy for entity_type
impl Eq for entity_type
impl StructuralPartialEq for entity_type
Auto Trait Implementations§
impl Freeze for entity_type
impl RefUnwindSafe for entity_type
impl Send for entity_type
impl Sync for entity_type
impl Unpin for entity_type
impl UnwindSafe for entity_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