pub enum EntityType {
Show 157 variants
AcaciaBoat,
AcaciaChestBoat,
Allay,
AreaEffectCloud,
Armadillo,
ArmorStand,
Arrow,
Axolotl,
BambooChestRaft,
BambooRaft,
Bat,
Bee,
BirchBoat,
BirchChestBoat,
Blaze,
BlockDisplay,
Bogged,
Breeze,
BreezeWindCharge,
Camel,
CamelHusk,
Cat,
CaveSpider,
CherryBoat,
CherryChestBoat,
ChestMinecart,
Chicken,
Cod,
CommandBlockMinecart,
CopperGolem,
Cow,
Creaking,
Creeper,
DarkOakBoat,
DarkOakChestBoat,
Dolphin,
Donkey,
DragonFireball,
Drowned,
Egg,
ElderGuardian,
EndCrystal,
EnderDragon,
Enderman,
Endermite,
EnderPearl,
Evoker,
EvokerFangs,
ExperienceBottle,
ExperienceOrb,
EyeOfEnder,
FallingBlock,
Fireball,
FireworkRocket,
FishingBobber,
Fox,
Frog,
FurnaceMinecart,
Ghast,
Giant,
GlowItemFrame,
GlowSquid,
Goat,
Guardian,
HappyGhast,
Hoglin,
HopperMinecart,
Horse,
Husk,
Illusioner,
Interaction,
IronGolem,
Item,
ItemDisplay,
ItemFrame,
JungleBoat,
JungleChestBoat,
LeashKnot,
LightningBolt,
LingeringPotion,
Llama,
LlamaSpit,
MagmaCube,
MangroveBoat,
MangroveChestBoat,
Mannequin,
Marker,
Minecart,
Mooshroom,
Mule,
Nautilus,
OakBoat,
OakChestBoat,
Ocelot,
OminousItemSpawner,
Painting,
PaleOakBoat,
PaleOakChestBoat,
Panda,
Parched,
Parrot,
Phantom,
Pig,
Piglin,
PiglinBrute,
Pillager,
Player,
PolarBear,
Pufferfish,
Rabbit,
Ravager,
Salmon,
Sheep,
Shulker,
ShulkerBullet,
Silverfish,
Skeleton,
SkeletonHorse,
Slime,
SmallFireball,
Sniffer,
Snowball,
SnowGolem,
SpawnerMinecart,
SpectralArrow,
Spider,
SplashPotion,
SpruceBoat,
SpruceChestBoat,
Squid,
Stray,
Strider,
Tadpole,
TextDisplay,
Tnt,
TntMinecart,
TraderLlama,
Trident,
TropicalFish,
Turtle,
Vex,
Villager,
Vindicator,
WanderingTrader,
Warden,
WindCharge,
Witch,
Wither,
WitherSkeleton,
WitherSkull,
Wolf,
Zoglin,
Zombie,
ZombieHorse,
ZombieNautilus,
ZombieVillager,
ZombifiedPiglin,
}Expand description
Mirror of the API entity type enum.
Covers all entity types exposed by the Pumpkin plugin API.
Variants§
AcaciaBoat
AcaciaChestBoat
Allay
AreaEffectCloud
Armadillo
ArmorStand
Arrow
Axolotl
BambooChestRaft
BambooRaft
Bat
Bee
BirchBoat
BirchChestBoat
Blaze
BlockDisplay
Bogged
Breeze
BreezeWindCharge
Camel
CamelHusk
Cat
CaveSpider
CherryBoat
CherryChestBoat
ChestMinecart
Chicken
Cod
CommandBlockMinecart
CopperGolem
Cow
Creaking
Creeper
DarkOakBoat
DarkOakChestBoat
Dolphin
Donkey
DragonFireball
Drowned
Egg
ElderGuardian
EndCrystal
EnderDragon
Enderman
Endermite
EnderPearl
Evoker
EvokerFangs
ExperienceBottle
ExperienceOrb
EyeOfEnder
FallingBlock
Fireball
FireworkRocket
FishingBobber
Fox
Frog
FurnaceMinecart
Ghast
Giant
GlowItemFrame
GlowSquid
Goat
Guardian
HappyGhast
Hoglin
HopperMinecart
Horse
Husk
Illusioner
Interaction
IronGolem
Item
ItemDisplay
ItemFrame
JungleBoat
JungleChestBoat
LeashKnot
LightningBolt
LingeringPotion
Llama
LlamaSpit
MagmaCube
MangroveBoat
MangroveChestBoat
Mannequin
Marker
Minecart
Mooshroom
Mule
Nautilus
OakBoat
OakChestBoat
Ocelot
OminousItemSpawner
Painting
PaleOakBoat
PaleOakChestBoat
Panda
Parched
Parrot
Phantom
Pig
Piglin
PiglinBrute
Pillager
Player
PolarBear
Pufferfish
Rabbit
Ravager
Salmon
Sheep
Shulker
ShulkerBullet
Silverfish
Skeleton
SkeletonHorse
Slime
SmallFireball
Sniffer
Snowball
SnowGolem
SpawnerMinecart
SpectralArrow
Spider
SplashPotion
SpruceBoat
SpruceChestBoat
Squid
Stray
Strider
Tadpole
TextDisplay
Tnt
TntMinecart
TraderLlama
Trident
TropicalFish
Turtle
Vex
Villager
Vindicator
WanderingTrader
Warden
WindCharge
Witch
Wither
WitherSkeleton
WitherSkull
Wolf
Zoglin
Zombie
ZombieHorse
ZombieNautilus
ZombieVillager
ZombifiedPiglin
Implementations§
Source§impl EntityType
impl EntityType
Sourcepub fn matches_config(&self, allowed: &[Self]) -> bool
pub fn matches_config(&self, allowed: &[Self]) -> bool
Returns true if the given list is empty (allow-all) or contains this entity type.
Trait Implementations§
Source§impl Clone for EntityType
impl Clone for EntityType
Source§fn clone(&self) -> EntityType
fn clone(&self) -> EntityType
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 EntityType
impl Debug for EntityType
Source§impl<'de> Deserialize<'de> for EntityType
impl<'de> Deserialize<'de> for EntityType
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 EntityType
impl Display for EntityType
Source§impl From<EntityType> for EntityType
Convert from the upstream API EntityType to our mirror type.
impl From<EntityType> for EntityType
Convert from the upstream API EntityType to our mirror type.
Uses the debug representation as the canonical name, falling back
to Zombie if the upstream type emits something unexpected.
Source§impl Hash for EntityType
impl Hash for EntityType
Source§impl PartialEq for EntityType
impl PartialEq for EntityType
Source§impl Serialize for EntityType
impl Serialize for EntityType
impl Copy for EntityType
impl Eq for EntityType
impl StructuralPartialEq for EntityType
Auto Trait Implementations§
impl Freeze for EntityType
impl RefUnwindSafe for EntityType
impl Send for EntityType
impl Sync for EntityType
impl Unpin for EntityType
impl UnsafeUnpin for EntityType
impl UnwindSafe for EntityType
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