Enum entmet_lib::entities::entity_types::EntityEnum

source ·
pub enum EntityEnum {
Show 124 variants Allay, AreaEffectCloud(AreaEffectCloud), Armorstand(ArmorStand), Arrow(Arrow), Axolotl(Axolotl), Bat(Bat), Bee(Bee), Blaze(Blaze), BlockDisplay(Box<BlockDisplay<dyn BlockStateIdentifier>>), Boat(Boat), Camel(Camel), Cat(Cat), CaveSpider(Spider), ChestBoat(ChestBoat), ChestMinecart(MinecartChest), Chicken(Chicken), Cod(Cod), CommandBlockMinecart(MinecartCommandBlock), Cow(Cow), Creeper(Creeper), Dolphin(Dolphin), Donkey(Donkey), DragonFireball(DragonFireball), Drowned(Drowned), Egg(ThrownEgg), ElderGuardian(ElderGuardian), EndCrystal(EndCrystal), EnderDragon(EnderDragon), EnderPearl(ThrownEnderPearl), Enderman(Enderman), Endermite(Endermite), Evoker(Evoker), EvokerFangs(EvokerFangs), ExperienceBottle(ThrownExperienceBottle), ExperienceOrb, EyeOfEnder(EyeOfEnder), FallingBlock(FallingBlock), FireworkRocket(FireworkRocketEntity), Fox(Fox), Frog(Frog), FurnaceMinecart(MinecartFurnace), Ghast(Ghast), Giant(Giant), GlowItemFrame(GlowingItemFrame), GlowSquid(Squid), Goat(Goat), Guardian(Guardian), Hoglin(Hoglin), HopperMinecart(MinecartHopper), Horse(Horse), Husk(Husk), Illusioner(Illusioner), Interaction(Interaction), IronGolem(IronGolem), Item(ItemEntity), ItemDisplay(ItemDisplay), ItemFrame(ItemFrame), Fireball(Fireball), LeashKnot, LightningBolt, Llama(Llama), LlamaSpit(LlamaSpit), MagmaCube(Slime), Marker, Minecart(Minecart), Mooshroom(Mooshroom), Mule(Mule), Ocelot(Ocelot), Painting(Painting), Panda(Panda), Parrot(Parrot), Phantom(Phantom), Pig(Pig), Piglin(Piglin), PiglinBrute(PiglinBrute), Pillager(Pillager), PolarBear(Polarbear), Potion(ThrownPotion), Pufferfish(PufferFish), Rabbit(Rabbit), Ravager(Ravager), Salmon(Salmon), Sheep(Sheep), Shulker(Shulker), ShulkerBullet, Silverfish, Skeleton(Skeleton), SkeletonHorse(SkeletonHorse), Slime(Slime), SmallFireball(SmallFireball), Sniffer(Sniffer), SnowGolem(SnowGolem), Snowball(Snowball), SpawnerMinecart(MinecartSpawner), SpectralArrow(SpectralArrow), Spider(Spider), Squid(Squid), Stray(Stray), Strider(Strider), Tadpole(Tadpole), TextDisplay(TextDisplay), Tnt(PrimedTnt), TntMinecart(MinecartTnt), TraderLlama(TraderLlama), Trident(ThrownTrident), TropicalFish(TropicalFish), Turtle(Turtle), Vex(Vex), Villager(Villager), Vindicator(Vindicator), WanderingTrader(WanderingTrader), Warden(Warden), Witch(Witch), Wither(Wither), WitherSkeleton(WitherSkeleton), WitherSkull(WitherSkull), Wolf(Wolf), Zoglin(Zoglin), Zombie(Zombie), ZombieHorse(ZombieHorse), ZombieVillager(ZombieVillager), ZombiePiglin(ZombifiedPiglin), Player(Player), FishingBobber(FishingHook),
}
Expand description

An enum that can hold every entity of the game

Variants§

§

Allay

Enum variant to represent a Allay

§

AreaEffectCloud(AreaEffectCloud)

Enum variant to represent a AreaEffectCloud

§

Armorstand(ArmorStand)

Enum variant to represent a Armorstand

§

Arrow(Arrow)

Enum variant to represent a Arrow

§

Axolotl(Axolotl)

Enum variant to represent a Axolotl

§

Bat(Bat)

Enum variant to represent a Bat

§

Bee(Bee)

Enum variant to represent a Bee

§

Blaze(Blaze)

Enum variant to represent a Blaze

§

BlockDisplay(Box<BlockDisplay<dyn BlockStateIdentifier>>)

Enum variant to represent a BlockDisplay

§Note

This data is inside a Box to allow the T to be a type that implements BlockStateIdentifier

§

Boat(Boat)

Enum variant to represent a Boat

§

Camel(Camel)

Enum variant to represent a Camel

§

Cat(Cat)

Enum variant to represent a Cat

§

CaveSpider(Spider)

Enum variant to represent a CaveSpider

§

ChestBoat(ChestBoat)

Enum variant to represent a ChestBoat

§

ChestMinecart(MinecartChest)

Enum variant to represent a ChestMinecart

§

Chicken(Chicken)

Enum variant to represent a Chicken

§

Cod(Cod)

Enum variant to represent a Cod

§

CommandBlockMinecart(MinecartCommandBlock)

Enum variant to represent a CommandBlockMinecart

§

Cow(Cow)

Enum variant to represent a Cow

§

Creeper(Creeper)

Enum variant to represent a Creeper

§

Dolphin(Dolphin)

Enum variant to represent a Dolphin

§

Donkey(Donkey)

Enum variant to represent a Donkey

§

DragonFireball(DragonFireball)

Enum variant to represent a DragonFireball

§

Drowned(Drowned)

Enum variant to represent a Drowned

§

Egg(ThrownEgg)

Enum variant to represent a Egg

§

ElderGuardian(ElderGuardian)

Enum variant to represent a ElderGuardian

§

EndCrystal(EndCrystal)

Enum variant to represent a EndCrystal

§

EnderDragon(EnderDragon)

Enum variant to represent a EnderDragon

§

EnderPearl(ThrownEnderPearl)

Enum variant to represent a EnderPearl

§

Enderman(Enderman)

Enum variant to represent a Enderman

§

Endermite(Endermite)

Enum variant to represent a Endermite

§

Evoker(Evoker)

Enum variant to represent a Evoker

§

EvokerFangs(EvokerFangs)

Enum variant to represent a EvokerFangs

§

ExperienceBottle(ThrownExperienceBottle)

Enum variant to represent a ExperienceBottle

§

ExperienceOrb

Enum variant to represent a ExperienceOrb

§

EyeOfEnder(EyeOfEnder)

Enum variant to represent a EyeOfEnder

§

FallingBlock(FallingBlock)

Enum variant to represent a FallingBlock

§

FireworkRocket(FireworkRocketEntity)

Enum variant to represent a FireworkRocket

§

Fox(Fox)

Enum variant to represent a Fox

§

Frog(Frog)

Enum variant to represent a Frog

§

FurnaceMinecart(MinecartFurnace)

Enum variant to represent a FurnaceMinecart

§

Ghast(Ghast)

Enum variant to represent a Ghast

§

Giant(Giant)

Enum variant to represent a Giant

§

GlowItemFrame(GlowingItemFrame)

Enum variant to represent a GlowItemFrame

§

GlowSquid(Squid)

Enum variant to represent a GlowSquid

§

Goat(Goat)

Enum variant to represent a Goat

§

Guardian(Guardian)

Enum variant to represent a Guardian

§

Hoglin(Hoglin)

Enum variant to represent a Hoglin

§

HopperMinecart(MinecartHopper)

Enum variant to represent a HopperMinecart

§

Horse(Horse)

Enum variant to represent a Horse

§

Husk(Husk)

Enum variant to represent a Husk

§

Illusioner(Illusioner)

Enum variant to represent a Illusioner

§

Interaction(Interaction)

Enum variant to represent a Interaction

§

IronGolem(IronGolem)

Enum variant to represent a IronGolem

§

Item(ItemEntity)

Enum variant to represent a Item

§

ItemDisplay(ItemDisplay)

Enum variant to represent a ItemDisplay

§

ItemFrame(ItemFrame)

Enum variant to represent a ItemFrame

§

Fireball(Fireball)

Enum variant to represent a Fireball

§

LeashKnot

Enum variant to represent a LeashKnot

§

LightningBolt

Enum variant to represent a LightningBolt

§

Llama(Llama)

Enum variant to represent a Llama

§

LlamaSpit(LlamaSpit)

Enum variant to represent a LlamaSpit

§

MagmaCube(Slime)

Enum variant to represent a MagmaCube

§

Marker

Enum variant to represent a Marker

§

Minecart(Minecart)

Enum variant to represent a Minecart

§

Mooshroom(Mooshroom)

Enum variant to represent a Mooshroom

§

Mule(Mule)

Enum variant to represent a Mule

§

Ocelot(Ocelot)

Enum variant to represent a Ocelot

§

Painting(Painting)

Enum variant to represent a Painting

§

Panda(Panda)

Enum variant to represent a Panda

§

Parrot(Parrot)

Enum variant to represent a Parrot

§

Phantom(Phantom)

Enum variant to represent a Phantom

§

Pig(Pig)

Enum variant to represent a Pig

§

Piglin(Piglin)

Enum variant to represent a Piglin

§

PiglinBrute(PiglinBrute)

Enum variant to represent a PiglinBrute

§

Pillager(Pillager)

Enum variant to represent a Pillager

§

PolarBear(Polarbear)

Enum variant to represent a PolarBear

§

Potion(ThrownPotion)

Enum variant to represent a Potion

§

Pufferfish(PufferFish)

Enum variant to represent a Pufferfish

§

Rabbit(Rabbit)

Enum variant to represent a Rabbit

§

Ravager(Ravager)

Enum variant to represent a Ravager

§

Salmon(Salmon)

Enum variant to represent a Salmon

§

Sheep(Sheep)

Enum variant to represent a Sheep

§

Shulker(Shulker)

Enum variant to represent a Shulker

§

ShulkerBullet

Enum variant to represent a ShulkerBullet

§

Silverfish

Enum variant to represent a Silverfish

§

Skeleton(Skeleton)

Enum variant to represent a Skeleton

§

SkeletonHorse(SkeletonHorse)

Enum variant to represent a SkeletonHorse

§

Slime(Slime)

Enum variant to represent a Slime

§

SmallFireball(SmallFireball)

Enum variant to represent a SmallFireball

§

Sniffer(Sniffer)

Enum variant to represent a Sniffer

§

SnowGolem(SnowGolem)

Enum variant to represent a SnowGolem

§

Snowball(Snowball)

Enum variant to represent a Snowball

§

SpawnerMinecart(MinecartSpawner)

Enum variant to represent a SpawnerMinecart

§

SpectralArrow(SpectralArrow)

Enum variant to represent a SpectralArrow

§

Spider(Spider)

Enum variant to represent a Spider

§

Squid(Squid)

Enum variant to represent a Squid

§

Stray(Stray)

Enum variant to represent a Stray

§

Strider(Strider)

Enum variant to represent a Strider

§

Tadpole(Tadpole)

Enum variant to represent a Tadpole

§

TextDisplay(TextDisplay)

Enum variant to represent a TextDisplay

§

Tnt(PrimedTnt)

Enum variant to represent a Tnt

§

TntMinecart(MinecartTnt)

Enum variant to represent a TntMinecart

§

TraderLlama(TraderLlama)

Enum variant to represent a TraderLlama

§

Trident(ThrownTrident)

Enum variant to represent a Trident

§

TropicalFish(TropicalFish)

Enum variant to represent a TropicalFish

§

Turtle(Turtle)

Enum variant to represent a Turtle

§

Vex(Vex)

Enum variant to represent a Vex

§

Villager(Villager)

Enum variant to represent a Villager

§

Vindicator(Vindicator)

Enum variant to represent a Vindicator

§

WanderingTrader(WanderingTrader)

Enum variant to represent a WanderingTrader

§

Warden(Warden)

Enum variant to represent a Warden

§

Witch(Witch)

Enum variant to represent a Witch

§

Wither(Wither)

Enum variant to represent a Wither

§

WitherSkeleton(WitherSkeleton)

Enum variant to represent a WitherSkeleton

§

WitherSkull(WitherSkull)

Enum variant to represent a WitherSkull

§

Wolf(Wolf)

Enum variant to represent a Wolf

§

Zoglin(Zoglin)

Enum variant to represent a Zoglin

§

Zombie(Zombie)

Enum variant to represent a Zombie

§

ZombieHorse(ZombieHorse)

Enum variant to represent a ZombieHorse

§

ZombieVillager(ZombieVillager)

Enum variant to represent a ZombieVillager

§

ZombiePiglin(ZombifiedPiglin)

Enum variant to represent a ZombiePiglin

§

Player(Player)

Enum variant to represent a Player

§

FishingBobber(FishingHook)

Enum variant to represent a FishingBobber

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.