// IMPORTANT: DO NOT EDIT THIS FILE MANUALLY!
// This file is automatically generated with `cargo xtask codegen`.
// To make any changes, edit the xtask source instead.
/// Re-exports for all items of the latest Minecraft version.
#[cfg(feature = "latest")]
pub mod latest {
pub use super::mc1_21_7::*;
}
/// Accompanying types for entities in Minecraft 1.14.
#[cfg(feature = "1.14")]
pub mod mc1_14 {
entities! {
"1.14", mc1_14;
"minecraft:area_effect_cloud", AreaEffectCloud: AreaEffectCloud;
"minecraft:armor_stand", ArmorStand: ArmorStand;
"minecraft:arrow", Arrow: Arrow;
"minecraft:bat", Bat: Bat;
"minecraft:blaze", Blaze: Blaze;
"minecraft:boat", Boat: Boat;
"minecraft:cat", Cat: Cat;
"minecraft:cave_spider", CaveSpider: CaveSpider;
"minecraft:chest_minecart", ChestMinecart: MinecartChest;
"minecraft:chicken", Chicken: Chicken;
"minecraft:cod", Cod: Cod;
"minecraft:command_block_minecart", CommandBlockMinecart: MinecartCommandBlock;
"minecraft:cow", Cow: Cow;
"minecraft:creeper", Creeper: Creeper;
"minecraft:dolphin", Dolphin: Dolphin;
"minecraft:donkey", Donkey: Donkey;
"minecraft:dragon_fireball", DragonFireball: DragonFireball;
"minecraft:drowned", Drowned: Drowned;
"minecraft:egg", Egg: ThrownEgg;
"minecraft:elder_guardian", ElderGuardian: ElderGuardian;
"minecraft:end_crystal", EndCrystal: EndCrystal;
"minecraft:ender_dragon", EnderDragon: EnderDragon;
"minecraft:ender_pearl", EnderPearl: ThrownEnderpearl;
"minecraft:enderman", Enderman: EnderMan;
"minecraft:endermite", Endermite: Endermite;
"minecraft:evoker", Evoker: Evoker;
"minecraft:evoker_fangs", EvokerFangs: EvokerFangs;
"minecraft:experience_bottle", ExperienceBottle: ThrownExperienceBottle;
"minecraft:experience_orb", ExperienceOrb: ExperienceOrb;
"minecraft:eye_of_ender", EyeOfEnder: EyeOfEnder;
"minecraft:falling_block", FallingBlock: FallingBlockEntity;
"minecraft:fireball", Fireball: LargeFireball;
"minecraft:firework_rocket", FireworkRocket: FireworkRocketEntity;
"minecraft:fishing_bobber", FishingBobber: FishingHook;
"minecraft:fox", Fox: Fox;
"minecraft:furnace_minecart", FurnaceMinecart: MinecartFurnace;
"minecraft:ghast", Ghast: Ghast;
"minecraft:giant", Giant: Giant;
"minecraft:guardian", Guardian: Guardian;
"minecraft:hopper_minecart", HopperMinecart: MinecartHopper;
"minecraft:horse", Horse: Horse;
"minecraft:husk", Husk: Husk;
"minecraft:illusioner", Illusioner: Illusioner;
"minecraft:iron_golem", IronGolem: IronGolem;
"minecraft:item", Item: ItemEntity;
"minecraft:item_frame", ItemFrame: ItemFrame;
"minecraft:leash_knot", LeashKnot: LeashFenceKnotEntity;
"minecraft:lightning_bolt", LightningBolt: LightningBolt;
"minecraft:llama", Llama: Llama;
"minecraft:llama_spit", LlamaSpit: LlamaSpit;
"minecraft:magma_cube", MagmaCube: MagmaCube;
"minecraft:minecart", Minecart: Minecart;
"minecraft:mooshroom", Mooshroom: MushroomCow;
"minecraft:mule", Mule: Mule;
"minecraft:ocelot", Ocelot: Ocelot;
"minecraft:painting", Painting: Painting;
"minecraft:panda", Panda: Panda;
"minecraft:parrot", Parrot: Parrot;
"minecraft:phantom", Phantom: Phantom;
"minecraft:pig", Pig: Pig;
"minecraft:pillager", Pillager: Pillager;
"minecraft:polar_bear", PolarBear: PolarBear;
"minecraft:potion", Potion: ThrownPotion;
"minecraft:pufferfish", Pufferfish: Pufferfish;
"minecraft:rabbit", Rabbit: Rabbit;
"minecraft:ravager", Ravager: Ravager;
"minecraft:salmon", Salmon: Salmon;
"minecraft:sheep", Sheep: Sheep;
"minecraft:shulker", Shulker: Shulker;
"minecraft:shulker_bullet", ShulkerBullet: ShulkerBullet;
"minecraft:silverfish", Silverfish: Silverfish;
"minecraft:skeleton", Skeleton: Skeleton;
"minecraft:skeleton_horse", SkeletonHorse: SkeletonHorse;
"minecraft:slime", Slime: Slime;
"minecraft:small_fireball", SmallFireball: SmallFireball;
"minecraft:snow_golem", SnowGolem: SnowGolem;
"minecraft:snowball", Snowball: Snowball;
"minecraft:spawner_minecart", SpawnerMinecart: MinecartSpawner;
"minecraft:spectral_arrow", SpectralArrow: SpectralArrow;
"minecraft:spider", Spider: Spider;
"minecraft:squid", Squid: Squid;
"minecraft:stray", Stray: Stray;
"minecraft:tnt", Tnt: PrimedTnt;
"minecraft:tnt_minecart", TntMinecart: MinecartTNT;
"minecraft:trader_llama", TraderLlama: TraderLlama;
"minecraft:trident", Trident: ThrownTrident;
"minecraft:tropical_fish", TropicalFish: TropicalFish;
"minecraft:turtle", Turtle: Turtle;
"minecraft:vex", Vex: Vex;
"minecraft:villager", Villager: Villager;
"minecraft:vindicator", Vindicator: Vindicator;
"minecraft:wandering_trader", WanderingTrader: WanderingTrader;
"minecraft:witch", Witch: Witch;
"minecraft:wither", Wither: WitherBoss;
"minecraft:wither_skeleton", WitherSkeleton: WitherSkeleton;
"minecraft:wither_skull", WitherSkull: WitherSkull;
"minecraft:wolf", Wolf: Wolf;
"minecraft:zombie", Zombie: Zombie;
"minecraft:zombie_horse", ZombieHorse: ZombieHorse;
"minecraft:zombie_pigman", ZombiePigman: PigZombie;
"minecraft:zombie_villager", ZombieVillager: ZombieVillager;
}
entity_types! {
"1.14";
AbstractArrow > Entity { optional "OwnerUUID" as owner_uuid: u128, "PierceLevel" as pierce_level: i8, "ShotFromCrossbow" as shot_from_crossbow: bool, "SoundEvent" as sound_event: CowStr, "crit" as crit: bool, "damage" as damage: f64, optional "inBlockState" as in_block_state: super::BlockState, "inGround" as in_ground: i8, "life" as life: i16, "pickup" as pickup: i8, "shake" as shake: i8 }
AbstractChestedHorse > AbstractHorse { "ChestedHorse" as chested_horse: bool, optional "Items" as items: Vec<super::compounds::ItemStack_save_1> }
AbstractFish > WaterAnimal { "FromBucket" as from_bucket: bool }
AbstractGolem > PathfinderMob { }
AbstractHorse > Animal { "Bred" as bred: bool, "EatingHaystack" as eating_haystack: bool, optional "OwnerUUID" as owner_uuid: CowStr, optional "SaddleItem" as saddle_item: super::compounds::ItemStack_save_2, "Tame" as tame: bool, "Temper" as temper: i32 }
AbstractHurtingProjectile > Entity { "direction" as direction: Vec<f64>, "life" as life: i32, "power" as power: Vec<f64> }
AbstractIllager > Raider { }
AbstractMinecart > Entity { optional "CustomDisplayTile" as custom_display_tile: bool, optional "DisplayOffset" as display_offset: i32, optional "DisplayState" as display_state: super::BlockState }
AbstractMinecartContainer > AbstractMinecart { optional "Items" as items: Vec<super::compounds::ItemStack_save_1>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
AbstractSchoolingFish > AbstractFish { }
AbstractSkeleton > Monster { }
AbstractVillager > AgableMob { "Inventory" as inventory: Vec<super::compounds::ItemStack_save_2>, optional "Offers" as offers: super::compounds::MerchantOffers_createTag }
AgableMob > PathfinderMob { "Age" as age: i32, "ForcedAge" as forced_age: i32 }
AmbientCreature > Mob { }
Animal > AgableMob { "InLove" as in_love: i32, optional "LoveCause" as love_cause: u128 }
AreaEffectCloud > Entity { "Age" as age: i32, optional "Color" as color: i32, "Duration" as duration: i32, "DurationOnUse" as duration_on_use: i32, optional "Effects" as effects: Vec<super::compounds::MobEffectInstance_save>, optional "OwnerUUID" as owner_uuid: u128, "Particle" as particle: CowStr, optional "Potion" as potion: CowStr, "Radius" as radius: f32, "RadiusOnUse" as radius_on_use: f32, "RadiusPerTick" as radius_per_tick: f32, "ReapplicationDelay" as reapplication_delay: i32, "WaitTime" as wait_time: i32 }
ArmorStand > LivingEntity { "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save>, "DisabledSlots" as disabled_slots: i32, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save>, "Invisible" as invisible: bool, optional "Marker" as marker: bool, "NoBasePlate" as no_base_plate: bool, "Pose" as pose: super::compounds::ArmorStand_writePose, "ShowArms" as show_arms: bool, "Small" as small: bool }
Arrow > AbstractArrow { optional "Color" as color: i32, optional "CustomPotionEffects" as custom_potion_effects: Vec<super::compounds::MobEffectInstance_save>, optional "Potion" as potion: CowStr }
Bat > AmbientCreature { "BatFlags" as bat_flags: i8 }
Blaze > Monster { }
Boat > Entity { "Type" as r#type: CowStr }
Cat > TamableAnimal { "CatType" as cat_type: i32, "CollarColor" as collar_color: i8 }
CaveSpider > Spider { }
Chicken > Animal { "EggLayTime" as egg_lay_time: i32, "IsChickenJockey" as is_chicken_jockey: bool }
Cod > AbstractSchoolingFish { }
Cow > Animal { }
Creeper > Monster { "ExplosionRadius" as explosion_radius: i8, "Fuse" as fuse: i16, "ignited" as ignited: bool, optional "powered" as powered: bool }
Dolphin > WaterAnimal { "GotFish" as got_fish: bool, "Moistness" as moistness: i32, "TreasurePosX" as treasure_pos_x: i32, "TreasurePosY" as treasure_pos_y: i32, "TreasurePosZ" as treasure_pos_z: i32 }
Donkey > AbstractChestedHorse { }
DragonFireball > AbstractHurtingProjectile { }
Drowned > Zombie { }
ElderGuardian > Guardian { }
EndCrystal > Entity { optional "BeamTarget" as beam_target: super::compounds::NbtUtils_writeBlockPos, "ShowBottom" as show_bottom: bool }
EnderDragon > Mob { "DragonPhase" as dragon_phase: i32 }
EnderMan > Monster { optional "carriedBlockState" as carried_block_state: super::BlockState }
Endermite > Monster { "Lifetime" as lifetime: i32, "PlayerSpawned" as player_spawned: bool }
Entity { "Air" as air: i16, optional "CustomName" as custom_name: CowStr, optional "CustomNameVisible" as custom_name_visible: bool, "Dimension" as dimension: i32, "FallDistance" as fall_distance: f32, "Fire" as fire: i16, optional "Glowing" as glowing: bool, "Invulnerable" as invulnerable: bool, "Motion" as motion: Vec<f64>, optional "NoGravity" as no_gravity: bool, "OnGround" as on_ground: bool, optional "Passengers" as passengers: Vec<Box<super::Entity>>, "PortalCooldown" as portal_cooldown: i32, "Pos" as pos: Vec<f64>, "Rotation" as rotation: Vec<f32>, optional "Silent" as silent: bool, optional "Tags" as tags: Vec<CowStr>, "UUID" as uuid: u128 }
Evoker > SpellcasterIllager { }
EvokerFangs > Entity { optional "OwnerUUID" as owner_uuid: u128, "Warmup" as warmup: i32 }
ExperienceOrb > Entity { "Age" as age: i16, "Health" as health: i16, "Value" as value: i16 }
EyeOfEnder > Entity { optional "Item" as item: super::compounds::ItemStack_save_2 }
FallingBlockEntity > Entity { "BlockState" as block_state: super::BlockState, "DropItem" as drop_item: bool, "FallHurtAmount" as fall_hurt_amount: f32, "FallHurtMax" as fall_hurt_max: i32, "HurtEntities" as hurt_entities: bool, optional "TileEntityData" as tile_entity_data: HashMap<CowStr, fastnbt::Value>, "Time" as time: i32 }
Fireball > AbstractHurtingProjectile { optional "Item" as item: super::compounds::ItemStack_save_2 }
FireworkRocketEntity > Entity { optional "FireworksItem" as fireworks_item: super::compounds::ItemStack_save_2, "Life" as life: i32, "LifeTime" as life_time: i32, "ShotAtAngle" as shot_at_angle: bool }
FishingHook > Entity { }
FlyingMob > Mob { }
Fox > Animal { "Crouching" as crouching: bool, "Sitting" as sitting: bool, "Sleeping" as sleeping: bool, "TrustedUUIDs" as trusted_uui_ds: Vec<super::compounds::NbtUtils_createUUIDTag>, "Type" as r#type: CowStr }
Ghast > FlyingMob { "ExplosionPower" as explosion_power: i32 }
Giant > Monster { }
Guardian > Monster { }
HangingEntity > Entity { "Facing" as facing: i8, "TileX" as tile_x: i32, "TileY" as tile_y: i32, "TileZ" as tile_z: i32 }
Horse > AbstractHorse { optional "ArmorItem" as armor_item: super::compounds::ItemStack_save_2, "Variant" as variant: i32 }
Husk > Zombie { }
Illusioner > SpellcasterIllager { }
IronGolem > AbstractGolem { "PlayerCreated" as player_created: bool }
ItemEntity > Entity { "Age" as age: i16, "Health" as health: i16, optional "Item" as item: super::compounds::ItemStack_save_2, optional "Owner" as owner: super::compounds::NbtUtils_createUUIDTag, "PickupDelay" as pickup_delay: i16, optional "Thrower" as thrower: super::compounds::NbtUtils_createUUIDTag }
ItemFrame > HangingEntity { "Facing" as facing: i8, optional "Item" as item: super::compounds::ItemStack_save_2, optional "ItemDropChance" as item_drop_chance: f32, optional "ItemRotation" as item_rotation: i8 }
LargeFireball > Fireball { "ExplosionPower" as explosion_power: i32 }
LeashFenceKnotEntity > HangingEntity { }
LightningBolt > Entity { }
LivingEntity > Entity { "AbsorptionAmount" as absorption_amount: f32, optional "ActiveEffects" as active_effects: Vec<super::compounds::MobEffectInstance_save>, "Attributes" as attributes: Vec<super::compounds::SharedMonsterAttributes_saveAttribute>, "Brain" as brain: fastnbt::Value, "DeathTime" as death_time: i16, "FallFlying" as fall_flying: bool, "Health" as health: f32, "HurtByTimestamp" as hurt_by_timestamp: i32, "HurtTime" as hurt_time: i16, optional "SleepingX" as sleeping_x: i32, optional "SleepingY" as sleeping_y: i32, optional "SleepingZ" as sleeping_z: i32 }
Llama > AbstractChestedHorse { optional "DecorItem" as decor_item: super::compounds::ItemStack_save_2, "Strength" as strength: i32, "Variant" as variant: i32 }
LlamaSpit > Entity { optional "Owner" as owner: super::compounds::Compound10 }
MagmaCube > Slime { }
Minecart > AbstractMinecart { }
MinecartChest > AbstractMinecartContainer { }
MinecartCommandBlock > AbstractMinecart { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool }
MinecartFurnace > AbstractMinecart { "Fuel" as fuel: i16, "PushX" as push_x: f64, "PushZ" as push_z: f64 }
MinecartHopper > AbstractMinecartContainer { "Enabled" as enabled: bool, "TransferCooldown" as transfer_cooldown: i32 }
MinecartSpawner > AbstractMinecart { optional "Delay" as delay: i16, optional "MaxNearbyEntities" as max_nearby_entities: i16, optional "MaxSpawnDelay" as max_spawn_delay: i16, optional "MinSpawnDelay" as min_spawn_delay: i16, optional "RequiredPlayerRange" as required_player_range: i16, optional "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: HashMap<CowStr, fastnbt::Value>, optional "SpawnPotentials" as spawn_potentials: Vec<super::compounds::SpawnData_save>, optional "SpawnRange" as spawn_range: i16 }
MinecartTNT > AbstractMinecart { "TNTFuse" as tnt_fuse: i32 }
Mob > LivingEntity { "ArmorDropChances" as armor_drop_chances: Vec<f32>, "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save>, "CanPickUpLoot" as can_pick_up_loot: bool, optional "DeathLootTable" as death_loot_table: CowStr, optional "DeathLootTableSeed" as death_loot_table_seed: i64, "HandDropChances" as hand_drop_chances: Vec<f32>, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save>, optional "Leash" as leash: super::compounds::Compound5, "LeftHanded" as left_handed: bool, optional "NoAI" as no_ai: bool, "PersistenceRequired" as persistence_required: bool }
Monster > PathfinderMob { }
Mule > AbstractChestedHorse { }
MushroomCow > Cow { optional "EffectDuration" as effect_duration: i32, optional "EffectId" as effect_id: i8, "Type" as r#type: CowStr }
Ocelot > Animal { "Trusting" as trusting: bool }
Painting > HangingEntity { "Motive" as motive: CowStr }
Panda > Animal { "HiddenGene" as hidden_gene: CowStr, "MainGene" as main_gene: CowStr }
Parrot > ShoulderRidingEntity { "Variant" as variant: i32 }
PathfinderMob > Mob { }
PatrollingMonster > Monster { "PatrolLeader" as patrol_leader: bool, optional "PatrolTarget" as patrol_target: super::compounds::NbtUtils_writeBlockPos, "Patrolling" as patrolling: bool }
Phantom > FlyingMob { "AX" as ax: i32, "AY" as ay: i32, "AZ" as az: i32, "Size" as size: i32 }
Pig > Animal { "Saddle" as saddle: bool }
PigZombie > Zombie { "Anger" as anger: i16, optional "HurtBy" as hurt_by: CowStr }
Pillager > AbstractIllager { "Inventory" as inventory: Vec<super::compounds::ItemStack_save_2> }
PolarBear > Animal { }
PrimedTnt > Entity { "Fuse" as fuse: i16 }
Pufferfish > AbstractFish { "PuffState" as puff_state: i32 }
Rabbit > Animal { "MoreCarrotTicks" as more_carrot_ticks: i32, "RabbitType" as rabbit_type: i32 }
Raider > PatrollingMonster { "CanJoinRaid" as can_join_raid: bool, optional "RaidId" as raid_id: i32, "Wave" as wave: i32 }
Ravager > Raider { "AttackTick" as attack_tick: i32, "RoarTick" as roar_tick: i32, "StunTick" as stun_tick: i32 }
Salmon > AbstractSchoolingFish { }
Sheep > Animal { "Color" as color: i8, "Sheared" as sheared: bool }
ShoulderRidingEntity > TamableAnimal { }
Shulker > AbstractGolem { optional "APX" as apx: i32, optional "APY" as apy: i32, optional "APZ" as apz: i32, "AttachFace" as attach_face: i8, "Color" as color: i8, "Peek" as peek: i8 }
ShulkerBullet > Entity { optional "Dir" as dir: i32, optional "Owner" as owner: super::compounds::NbtUtils_createUUIDTag_1, "Steps" as steps: i32, "TXD" as txd: f64, "TYD" as tyd: f64, "TZD" as tzd: f64, optional "Target" as target: super::compounds::NbtUtils_createUUIDTag_1 }
Silverfish > Monster { }
Skeleton > AbstractSkeleton { }
SkeletonHorse > AbstractHorse { "SkeletonTrap" as skeleton_trap: bool, "SkeletonTrapTime" as skeleton_trap_time: i32 }
Slime > Mob { "Size" as size: i32, "wasOnGround" as was_on_ground: bool }
SmallFireball > Fireball { }
SnowGolem > AbstractGolem { "Pumpkin" as pumpkin: bool }
Snowball > ThrowableItemProjectile { }
SpectralArrow > AbstractArrow { "Duration" as duration: i32 }
SpellcasterIllager > AbstractIllager { "SpellTicks" as spell_ticks: i32 }
Spider > Monster { }
Squid > WaterAnimal { }
Stray > AbstractSkeleton { }
TamableAnimal > Animal { optional "OwnerUUID" as owner_uuid: CowStr, "Sitting" as sitting: bool }
ThrowableItemProjectile > ThrowableProjectile { optional "Item" as item: super::compounds::ItemStack_save_2 }
ThrowableProjectile > Entity { "inGround" as in_ground: i8, optional "owner" as owner: super::compounds::NbtUtils_createUUIDTag, "shake" as shake: i8, "xTile" as x_tile: i32, "yTile" as y_tile: i32, "zTile" as z_tile: i32 }
ThrownEgg > ThrowableItemProjectile { }
ThrownEnderpearl > ThrowableItemProjectile { }
ThrownExperienceBottle > ThrowableItemProjectile { }
ThrownPotion > ThrowableProjectile { optional "Potion" as potion: super::compounds::ItemStack_save_2 }
ThrownTrident > AbstractArrow { "DealtDamage" as dealt_damage: bool, "Trident" as trident: super::compounds::ItemStack_save_2 }
TraderLlama > Llama { "DespawnDelay" as despawn_delay: i32 }
TropicalFish > AbstractSchoolingFish { "Variant" as variant: i32 }
Turtle > Animal { "HasEgg" as has_egg: bool, "HomePosX" as home_pos_x: i32, "HomePosY" as home_pos_y: i32, "HomePosZ" as home_pos_z: i32, "TravelPosX" as travel_pos_x: i32, "TravelPosY" as travel_pos_y: i32, "TravelPosZ" as travel_pos_z: i32 }
Vex > Monster { optional "BoundX" as bound_x: i32, optional "BoundY" as bound_y: i32, optional "BoundZ" as bound_z: i32, optional "LifeTicks" as life_ticks: i32 }
Villager > AbstractVillager { "FoodLevel" as food_level: i8, "Gossips" as gossips: fastnbt::Value, "LastGossipDecay" as last_gossip_decay: i64, "LastRestock" as last_restock: i64, "RestocksToday" as restocks_today: i32, "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
Vindicator > AbstractIllager { optional "Johnny" as johnny: bool }
WanderingTrader > AbstractVillager { "DespawnDelay" as despawn_delay: i32, optional "WanderTarget" as wander_target: super::compounds::NbtUtils_writeBlockPos }
WaterAnimal > PathfinderMob { }
Witch > Raider { }
WitherBoss > Monster { "Invul" as invul: i32 }
WitherSkeleton > AbstractSkeleton { }
WitherSkull > AbstractHurtingProjectile { }
Wolf > TamableAnimal { "Angry" as angry: bool, "CollarColor" as collar_color: i8 }
Zombie > Monster { "CanBreakDoors" as can_break_doors: bool, "DrownedConversionTime" as drowned_conversion_time: i32, "InWaterTime" as in_water_time: i32, optional "IsBaby" as is_baby: bool }
ZombieHorse > AbstractHorse { }
ZombieVillager > Zombie { optional "ConversionPlayer" as conversion_player: u128, "ConversionTime" as conversion_time: i32, optional "Gossips" as gossips: fastnbt::Value, optional "Offers" as offers: HashMap<CowStr, fastnbt::Value>, "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
}
entity_compound_types! {
"1.14";
ArmorStand_writePose { optional "Body" as body: Vec<f32>, optional "Head" as head: Vec<f32>, optional "LeftArm" as left_arm: Vec<f32>, optional "LeftLeg" as left_leg: Vec<f32>, optional "RightArm" as right_arm: Vec<f32>, optional "RightLeg" as right_leg: Vec<f32> }
Compound10 { "OwnerUUID" as owner_uuid: u128 }
Compound5 { optional "UUID" as uuid: u128, optional "X" as x: i32, optional "Y" as y: i32, optional "Z" as z: i32 }
ItemStack_save { optional "Count" as count: i8, optional "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_1 { "Count" as count: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_2 { "Count" as count: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
MerchantOffer_createTag { "buy" as buy: super::compounds::ItemStack_save_2, "buyB" as buy_b: super::compounds::ItemStack_save_2, "demand" as demand: i32, "maxUses" as max_uses: i32, "priceMultiplier" as price_multiplier: f32, "rewardExp" as reward_exp: bool, "sell" as sell: super::compounds::ItemStack_save_2, "specialPrice" as special_price: i32, "uses" as uses: i32, "xp" as xp: i32 }
MerchantOffers_createTag { "Recipes" as recipes: Vec<super::compounds::MerchantOffer_createTag> }
MobEffectInstance_save { "Ambient" as ambient: bool, "Amplifier" as amplifier: i8, "Duration" as duration: i32, "Id" as id: i8, "ShowIcon" as show_icon: bool, "ShowParticles" as show_particles: bool }
NbtUtils_createUUIDTag { "L" as l: i64, "M" as m: i64 }
NbtUtils_createUUIDTag_1 { "L" as l: i64, "M" as m: i64, "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
SharedMonsterAttributes_saveAttribute { "Base" as base: f64, optional "Modifiers" as modifiers: Vec<super::compounds::SharedMonsterAttributes_saveAttributeModifier>, "Name" as name: CowStr }
SharedMonsterAttributes_saveAttributeModifier { "Amount" as amount: f64, "Name" as name: CowStr, "Operation" as operation: i32, "UUID" as uuid: u128 }
SpawnData_save { "Entity" as entity: HashMap<CowStr, fastnbt::Value>, "Weight" as weight: i32 }
}
}
/// Accompanying types for entities in Minecraft 1.15.
#[cfg(feature = "1.15")]
pub mod mc1_15 {
entities! {
"1.15", mc1_15;
"minecraft:area_effect_cloud", AreaEffectCloud: AreaEffectCloud;
"minecraft:armor_stand", ArmorStand: ArmorStand;
"minecraft:arrow", Arrow: Arrow;
"minecraft:bat", Bat: Bat;
"minecraft:bee", Bee: Bee;
"minecraft:blaze", Blaze: Blaze;
"minecraft:boat", Boat: Boat;
"minecraft:cat", Cat: Cat;
"minecraft:cave_spider", CaveSpider: CaveSpider;
"minecraft:chest_minecart", ChestMinecart: MinecartChest;
"minecraft:chicken", Chicken: Chicken;
"minecraft:cod", Cod: Cod;
"minecraft:command_block_minecart", CommandBlockMinecart: MinecartCommandBlock;
"minecraft:cow", Cow: Cow;
"minecraft:creeper", Creeper: Creeper;
"minecraft:dolphin", Dolphin: Dolphin;
"minecraft:donkey", Donkey: Donkey;
"minecraft:dragon_fireball", DragonFireball: DragonFireball;
"minecraft:drowned", Drowned: Drowned;
"minecraft:egg", Egg: ThrownEgg;
"minecraft:elder_guardian", ElderGuardian: ElderGuardian;
"minecraft:end_crystal", EndCrystal: EndCrystal;
"minecraft:ender_dragon", EnderDragon: EnderDragon;
"minecraft:ender_pearl", EnderPearl: ThrownEnderpearl;
"minecraft:enderman", Enderman: EnderMan;
"minecraft:endermite", Endermite: Endermite;
"minecraft:evoker", Evoker: Evoker;
"minecraft:evoker_fangs", EvokerFangs: EvokerFangs;
"minecraft:experience_bottle", ExperienceBottle: ThrownExperienceBottle;
"minecraft:experience_orb", ExperienceOrb: ExperienceOrb;
"minecraft:eye_of_ender", EyeOfEnder: EyeOfEnder;
"minecraft:falling_block", FallingBlock: FallingBlockEntity;
"minecraft:fireball", Fireball: LargeFireball;
"minecraft:firework_rocket", FireworkRocket: FireworkRocketEntity;
"minecraft:fishing_bobber", FishingBobber: FishingHook;
"minecraft:fox", Fox: Fox;
"minecraft:furnace_minecart", FurnaceMinecart: MinecartFurnace;
"minecraft:ghast", Ghast: Ghast;
"minecraft:giant", Giant: Giant;
"minecraft:guardian", Guardian: Guardian;
"minecraft:hopper_minecart", HopperMinecart: MinecartHopper;
"minecraft:horse", Horse: Horse;
"minecraft:husk", Husk: Husk;
"minecraft:illusioner", Illusioner: Illusioner;
"minecraft:iron_golem", IronGolem: IronGolem;
"minecraft:item", Item: ItemEntity;
"minecraft:item_frame", ItemFrame: ItemFrame;
"minecraft:leash_knot", LeashKnot: LeashFenceKnotEntity;
"minecraft:lightning_bolt", LightningBolt: LightningBolt;
"minecraft:llama", Llama: Llama;
"minecraft:llama_spit", LlamaSpit: LlamaSpit;
"minecraft:magma_cube", MagmaCube: MagmaCube;
"minecraft:minecart", Minecart: Minecart;
"minecraft:mooshroom", Mooshroom: MushroomCow;
"minecraft:mule", Mule: Mule;
"minecraft:ocelot", Ocelot: Ocelot;
"minecraft:painting", Painting: Painting;
"minecraft:panda", Panda: Panda;
"minecraft:parrot", Parrot: Parrot;
"minecraft:phantom", Phantom: Phantom;
"minecraft:pig", Pig: Pig;
"minecraft:pillager", Pillager: Pillager;
"minecraft:polar_bear", PolarBear: PolarBear;
"minecraft:potion", Potion: ThrownPotion;
"minecraft:pufferfish", Pufferfish: Pufferfish;
"minecraft:rabbit", Rabbit: Rabbit;
"minecraft:ravager", Ravager: Ravager;
"minecraft:salmon", Salmon: Salmon;
"minecraft:sheep", Sheep: Sheep;
"minecraft:shulker", Shulker: Shulker;
"minecraft:shulker_bullet", ShulkerBullet: ShulkerBullet;
"minecraft:silverfish", Silverfish: Silverfish;
"minecraft:skeleton", Skeleton: Skeleton;
"minecraft:skeleton_horse", SkeletonHorse: SkeletonHorse;
"minecraft:slime", Slime: Slime;
"minecraft:small_fireball", SmallFireball: SmallFireball;
"minecraft:snow_golem", SnowGolem: SnowGolem;
"minecraft:snowball", Snowball: Snowball;
"minecraft:spawner_minecart", SpawnerMinecart: MinecartSpawner;
"minecraft:spectral_arrow", SpectralArrow: SpectralArrow;
"minecraft:spider", Spider: Spider;
"minecraft:squid", Squid: Squid;
"minecraft:stray", Stray: Stray;
"minecraft:tnt", Tnt: PrimedTnt;
"minecraft:tnt_minecart", TntMinecart: MinecartTNT;
"minecraft:trader_llama", TraderLlama: TraderLlama;
"minecraft:trident", Trident: ThrownTrident;
"minecraft:tropical_fish", TropicalFish: TropicalFish;
"minecraft:turtle", Turtle: Turtle;
"minecraft:vex", Vex: Vex;
"minecraft:villager", Villager: Villager;
"minecraft:vindicator", Vindicator: Vindicator;
"minecraft:wandering_trader", WanderingTrader: WanderingTrader;
"minecraft:witch", Witch: Witch;
"minecraft:wither", Wither: WitherBoss;
"minecraft:wither_skeleton", WitherSkeleton: WitherSkeleton;
"minecraft:wither_skull", WitherSkull: WitherSkull;
"minecraft:wolf", Wolf: Wolf;
"minecraft:zombie", Zombie: Zombie;
"minecraft:zombie_horse", ZombieHorse: ZombieHorse;
"minecraft:zombie_pigman", ZombiePigman: PigZombie;
"minecraft:zombie_villager", ZombieVillager: ZombieVillager;
}
entity_types! {
"1.15";
AbstractArrow > Entity { optional "OwnerUUID" as owner_uuid: u128, "PierceLevel" as pierce_level: i8, "ShotFromCrossbow" as shot_from_crossbow: bool, "SoundEvent" as sound_event: CowStr, "crit" as crit: bool, "damage" as damage: f64, optional "inBlockState" as in_block_state: super::BlockState, "inGround" as in_ground: bool, "life" as life: i16, "pickup" as pickup: i8, "shake" as shake: i8 }
AbstractChestedHorse > AbstractHorse { "ChestedHorse" as chested_horse: bool, optional "Items" as items: Vec<super::compounds::ItemStack_save_1> }
AbstractFish > WaterAnimal { "FromBucket" as from_bucket: bool }
AbstractGolem > PathfinderMob { }
AbstractHorse > Animal { "Bred" as bred: bool, "EatingHaystack" as eating_haystack: bool, optional "OwnerUUID" as owner_uuid: CowStr, optional "SaddleItem" as saddle_item: super::compounds::ItemStack_save_2, "Tame" as tame: bool, "Temper" as temper: i32 }
AbstractHurtingProjectile > Entity { "direction" as direction: Vec<f64>, "life" as life: i32, "power" as power: Vec<f64> }
AbstractIllager > Raider { }
AbstractMinecart > Entity { optional "CustomDisplayTile" as custom_display_tile: bool, optional "DisplayOffset" as display_offset: i32, optional "DisplayState" as display_state: super::BlockState }
AbstractMinecartContainer > AbstractMinecart { optional "Items" as items: Vec<super::compounds::ItemStack_save_1>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
AbstractSchoolingFish > AbstractFish { }
AbstractSkeleton > Monster { }
AbstractVillager > AgableMob { "Inventory" as inventory: Vec<super::compounds::ItemStack_save_2>, optional "Offers" as offers: super::compounds::MerchantOffers_createTag }
AgableMob > PathfinderMob { "Age" as age: i32, "ForcedAge" as forced_age: i32 }
AmbientCreature > Mob { }
Animal > AgableMob { "InLove" as in_love: i32, optional "LoveCause" as love_cause: u128 }
AreaEffectCloud > Entity { "Age" as age: i32, optional "Color" as color: i32, "Duration" as duration: i32, "DurationOnUse" as duration_on_use: i32, optional "Effects" as effects: Vec<super::compounds::MobEffectInstance_save>, optional "OwnerUUID" as owner_uuid: u128, "Particle" as particle: CowStr, optional "Potion" as potion: CowStr, "Radius" as radius: f32, "RadiusOnUse" as radius_on_use: f32, "RadiusPerTick" as radius_per_tick: f32, "ReapplicationDelay" as reapplication_delay: i32, "WaitTime" as wait_time: i32 }
ArmorStand > LivingEntity { "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save>, "DisabledSlots" as disabled_slots: i32, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save>, "Invisible" as invisible: bool, optional "Marker" as marker: bool, "NoBasePlate" as no_base_plate: bool, "Pose" as pose: super::compounds::ArmorStand_writePose, "ShowArms" as show_arms: bool, "Small" as small: bool }
Arrow > AbstractArrow { optional "Color" as color: i32, optional "CustomPotionEffects" as custom_potion_effects: Vec<super::compounds::MobEffectInstance_save>, optional "Potion" as potion: CowStr }
Bat > AmbientCreature { "BatFlags" as bat_flags: i8 }
Bee > Animal { "Anger" as anger: i32, "CannotEnterHiveTicks" as cannot_enter_hive_ticks: i32, "CropsGrownSincePollination" as crops_grown_since_pollination: i32, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos, "HasNectar" as has_nectar: bool, "HasStung" as has_stung: bool, optional "HivePos" as hive_pos: super::compounds::NbtUtils_writeBlockPos, optional "HurtBy" as hurt_by: CowStr, "TicksSincePollination" as ticks_since_pollination: i32 }
Blaze > Monster { }
Boat > Entity { "Type" as r#type: CowStr }
Cat > TamableAnimal { "CatType" as cat_type: i32, "CollarColor" as collar_color: i8 }
CaveSpider > Spider { }
Chicken > Animal { "EggLayTime" as egg_lay_time: i32, "IsChickenJockey" as is_chicken_jockey: bool }
Cod > AbstractSchoolingFish { }
Cow > Animal { }
Creeper > Monster { "ExplosionRadius" as explosion_radius: i8, "Fuse" as fuse: i16, "ignited" as ignited: bool, optional "powered" as powered: bool }
Dolphin > WaterAnimal { "GotFish" as got_fish: bool, "Moistness" as moistness: i32, "TreasurePosX" as treasure_pos_x: i32, "TreasurePosY" as treasure_pos_y: i32, "TreasurePosZ" as treasure_pos_z: i32 }
Donkey > AbstractChestedHorse { }
DragonFireball > AbstractHurtingProjectile { }
Drowned > Zombie { }
ElderGuardian > Guardian { }
EndCrystal > Entity { optional "BeamTarget" as beam_target: super::compounds::NbtUtils_writeBlockPos, "ShowBottom" as show_bottom: bool }
EnderDragon > Mob { "DragonPhase" as dragon_phase: i32 }
EnderMan > Monster { optional "carriedBlockState" as carried_block_state: super::BlockState }
Endermite > Monster { "Lifetime" as lifetime: i32, "PlayerSpawned" as player_spawned: bool }
Entity { "Air" as air: i16, optional "CustomName" as custom_name: CowStr, optional "CustomNameVisible" as custom_name_visible: bool, "Dimension" as dimension: i32, "FallDistance" as fall_distance: f32, "Fire" as fire: i16, optional "Glowing" as glowing: bool, "Invulnerable" as invulnerable: bool, "Motion" as motion: Vec<f64>, optional "NoGravity" as no_gravity: bool, "OnGround" as on_ground: bool, optional "Passengers" as passengers: Vec<Box<super::Entity>>, "PortalCooldown" as portal_cooldown: i32, "Pos" as pos: Vec<f64>, "Rotation" as rotation: Vec<f32>, optional "Silent" as silent: bool, optional "Tags" as tags: Vec<CowStr>, "UUID" as uuid: u128 }
Evoker > SpellcasterIllager { }
EvokerFangs > Entity { optional "OwnerUUID" as owner_uuid: u128, "Warmup" as warmup: i32 }
ExperienceOrb > Entity { "Age" as age: i16, "Health" as health: i16, "Value" as value: i16 }
EyeOfEnder > Entity { optional "Item" as item: super::compounds::ItemStack_save_2 }
FallingBlockEntity > Entity { "BlockState" as block_state: super::BlockState, "DropItem" as drop_item: bool, "FallHurtAmount" as fall_hurt_amount: f32, "FallHurtMax" as fall_hurt_max: i32, "HurtEntities" as hurt_entities: bool, optional "TileEntityData" as tile_entity_data: HashMap<CowStr, fastnbt::Value>, "Time" as time: i32 }
Fireball > AbstractHurtingProjectile { optional "Item" as item: super::compounds::ItemStack_save_2 }
FireworkRocketEntity > Entity { optional "FireworksItem" as fireworks_item: super::compounds::ItemStack_save_2, "Life" as life: i32, "LifeTime" as life_time: i32, "ShotAtAngle" as shot_at_angle: bool }
FishingHook > Entity { }
FlyingMob > Mob { }
Fox > Animal { "Crouching" as crouching: bool, "Sitting" as sitting: bool, "Sleeping" as sleeping: bool, "TrustedUUIDs" as trusted_uui_ds: Vec<super::compounds::NbtUtils_createUUIDTag>, "Type" as r#type: CowStr }
Ghast > FlyingMob { "ExplosionPower" as explosion_power: i32 }
Giant > Monster { }
Guardian > Monster { }
HangingEntity > Entity { "Facing" as facing: i8, "TileX" as tile_x: i32, "TileY" as tile_y: i32, "TileZ" as tile_z: i32 }
Horse > AbstractHorse { optional "ArmorItem" as armor_item: super::compounds::ItemStack_save_2, "Variant" as variant: i32 }
Husk > Zombie { }
Illusioner > SpellcasterIllager { }
IronGolem > AbstractGolem { "PlayerCreated" as player_created: bool }
ItemEntity > Entity { "Age" as age: i16, "Health" as health: i16, optional "Item" as item: super::compounds::ItemStack_save_2, optional "Owner" as owner: super::compounds::NbtUtils_createUUIDTag, "PickupDelay" as pickup_delay: i16, optional "Thrower" as thrower: super::compounds::NbtUtils_createUUIDTag }
ItemFrame > HangingEntity { "Facing" as facing: i8, optional "Item" as item: super::compounds::ItemStack_save_2, optional "ItemDropChance" as item_drop_chance: f32, optional "ItemRotation" as item_rotation: i8 }
LargeFireball > Fireball { "ExplosionPower" as explosion_power: i32 }
LeashFenceKnotEntity > HangingEntity { }
LightningBolt > Entity { }
LivingEntity > Entity { "AbsorptionAmount" as absorption_amount: f32, optional "ActiveEffects" as active_effects: Vec<super::compounds::MobEffectInstance_save>, "Attributes" as attributes: Vec<super::compounds::SharedMonsterAttributes_saveAttribute>, "Brain" as brain: fastnbt::Value, "DeathTime" as death_time: i16, "FallFlying" as fall_flying: bool, "Health" as health: f32, "HurtByTimestamp" as hurt_by_timestamp: i32, "HurtTime" as hurt_time: i16, optional "SleepingX" as sleeping_x: i32, optional "SleepingY" as sleeping_y: i32, optional "SleepingZ" as sleeping_z: i32 }
Llama > AbstractChestedHorse { optional "DecorItem" as decor_item: super::compounds::ItemStack_save_2, "Strength" as strength: i32, "Variant" as variant: i32 }
LlamaSpit > Entity { optional "Owner" as owner: super::compounds::Compound10 }
MagmaCube > Slime { }
Minecart > AbstractMinecart { }
MinecartChest > AbstractMinecartContainer { }
MinecartCommandBlock > AbstractMinecart { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool }
MinecartFurnace > AbstractMinecart { "Fuel" as fuel: i16, "PushX" as push_x: f64, "PushZ" as push_z: f64 }
MinecartHopper > AbstractMinecartContainer { "Enabled" as enabled: bool, "TransferCooldown" as transfer_cooldown: i32 }
MinecartSpawner > AbstractMinecart { optional "Delay" as delay: i16, optional "MaxNearbyEntities" as max_nearby_entities: i16, optional "MaxSpawnDelay" as max_spawn_delay: i16, optional "MinSpawnDelay" as min_spawn_delay: i16, optional "RequiredPlayerRange" as required_player_range: i16, optional "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: HashMap<CowStr, fastnbt::Value>, optional "SpawnPotentials" as spawn_potentials: Vec<super::compounds::SpawnData_save>, optional "SpawnRange" as spawn_range: i16 }
MinecartTNT > AbstractMinecart { "TNTFuse" as tnt_fuse: i32 }
Mob > LivingEntity { "ArmorDropChances" as armor_drop_chances: Vec<f32>, "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save>, "CanPickUpLoot" as can_pick_up_loot: bool, optional "DeathLootTable" as death_loot_table: CowStr, optional "DeathLootTableSeed" as death_loot_table_seed: i64, "HandDropChances" as hand_drop_chances: Vec<f32>, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save>, optional "Leash" as leash: super::compounds::Compound5, "LeftHanded" as left_handed: bool, optional "NoAI" as no_ai: bool, "PersistenceRequired" as persistence_required: bool }
Monster > PathfinderMob { }
Mule > AbstractChestedHorse { }
MushroomCow > Cow { optional "EffectDuration" as effect_duration: i32, optional "EffectId" as effect_id: i8, "Type" as r#type: CowStr }
Ocelot > Animal { "Trusting" as trusting: bool }
Painting > HangingEntity { "Motive" as motive: CowStr }
Panda > Animal { "HiddenGene" as hidden_gene: CowStr, "MainGene" as main_gene: CowStr }
Parrot > ShoulderRidingEntity { "Variant" as variant: i32 }
PathfinderMob > Mob { }
PatrollingMonster > Monster { "PatrolLeader" as patrol_leader: bool, optional "PatrolTarget" as patrol_target: super::compounds::NbtUtils_writeBlockPos, "Patrolling" as patrolling: bool }
Phantom > FlyingMob { "AX" as ax: i32, "AY" as ay: i32, "AZ" as az: i32, "Size" as size: i32 }
Pig > Animal { "Saddle" as saddle: bool }
PigZombie > Zombie { "Anger" as anger: i16, optional "HurtBy" as hurt_by: CowStr }
Pillager > AbstractIllager { "Inventory" as inventory: Vec<super::compounds::ItemStack_save_2> }
PolarBear > Animal { }
PrimedTnt > Entity { "Fuse" as fuse: i16 }
Pufferfish > AbstractFish { "PuffState" as puff_state: i32 }
Rabbit > Animal { "MoreCarrotTicks" as more_carrot_ticks: i32, "RabbitType" as rabbit_type: i32 }
Raider > PatrollingMonster { "CanJoinRaid" as can_join_raid: bool, optional "RaidId" as raid_id: i32, "Wave" as wave: i32 }
Ravager > Raider { "AttackTick" as attack_tick: i32, "RoarTick" as roar_tick: i32, "StunTick" as stun_tick: i32 }
Salmon > AbstractSchoolingFish { }
Sheep > Animal { "Color" as color: i8, "Sheared" as sheared: bool }
ShoulderRidingEntity > TamableAnimal { }
Shulker > AbstractGolem { optional "APX" as apx: i32, optional "APY" as apy: i32, optional "APZ" as apz: i32, "AttachFace" as attach_face: i8, "Color" as color: i8, "Peek" as peek: i8 }
ShulkerBullet > Entity { optional "Dir" as dir: i32, optional "Owner" as owner: super::compounds::NbtUtils_createUUIDTag_1, "Steps" as steps: i32, "TXD" as txd: f64, "TYD" as tyd: f64, "TZD" as tzd: f64, optional "Target" as target: super::compounds::NbtUtils_createUUIDTag_1 }
Silverfish > Monster { }
Skeleton > AbstractSkeleton { }
SkeletonHorse > AbstractHorse { "SkeletonTrap" as skeleton_trap: bool, "SkeletonTrapTime" as skeleton_trap_time: i32 }
Slime > Mob { "Size" as size: i32, "wasOnGround" as was_on_ground: bool }
SmallFireball > Fireball { }
SnowGolem > AbstractGolem { "Pumpkin" as pumpkin: bool }
Snowball > ThrowableItemProjectile { }
SpectralArrow > AbstractArrow { "Duration" as duration: i32 }
SpellcasterIllager > AbstractIllager { "SpellTicks" as spell_ticks: i32 }
Spider > Monster { }
Squid > WaterAnimal { }
Stray > AbstractSkeleton { }
TamableAnimal > Animal { optional "OwnerUUID" as owner_uuid: CowStr, "Sitting" as sitting: bool }
ThrowableItemProjectile > ThrowableProjectile { optional "Item" as item: super::compounds::ItemStack_save_2 }
ThrowableProjectile > Entity { "inGround" as in_ground: bool, optional "owner" as owner: super::compounds::NbtUtils_createUUIDTag, "shake" as shake: i8, "xTile" as x_tile: i32, "yTile" as y_tile: i32, "zTile" as z_tile: i32 }
ThrownEgg > ThrowableItemProjectile { }
ThrownEnderpearl > ThrowableItemProjectile { }
ThrownExperienceBottle > ThrowableItemProjectile { }
ThrownPotion > ThrowableProjectile { optional "Potion" as potion: super::compounds::ItemStack_save_2 }
ThrownTrident > AbstractArrow { "DealtDamage" as dealt_damage: bool, "Trident" as trident: super::compounds::ItemStack_save_2 }
TraderLlama > Llama { "DespawnDelay" as despawn_delay: i32 }
TropicalFish > AbstractSchoolingFish { "Variant" as variant: i32 }
Turtle > Animal { "HasEgg" as has_egg: bool, "HomePosX" as home_pos_x: i32, "HomePosY" as home_pos_y: i32, "HomePosZ" as home_pos_z: i32, "TravelPosX" as travel_pos_x: i32, "TravelPosY" as travel_pos_y: i32, "TravelPosZ" as travel_pos_z: i32 }
Vex > Monster { optional "BoundX" as bound_x: i32, optional "BoundY" as bound_y: i32, optional "BoundZ" as bound_z: i32, optional "LifeTicks" as life_ticks: i32 }
Villager > AbstractVillager { "FoodLevel" as food_level: i8, "Gossips" as gossips: fastnbt::Value, "LastGossipDecay" as last_gossip_decay: i64, "LastRestock" as last_restock: i64, "RestocksToday" as restocks_today: i32, "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
Vindicator > AbstractIllager { optional "Johnny" as johnny: bool }
WanderingTrader > AbstractVillager { "DespawnDelay" as despawn_delay: i32, optional "WanderTarget" as wander_target: super::compounds::NbtUtils_writeBlockPos }
WaterAnimal > PathfinderMob { }
Witch > Raider { }
WitherBoss > Monster { "Invul" as invul: i32 }
WitherSkeleton > AbstractSkeleton { }
WitherSkull > AbstractHurtingProjectile { }
Wolf > TamableAnimal { "Angry" as angry: bool, "CollarColor" as collar_color: i8 }
Zombie > Monster { "CanBreakDoors" as can_break_doors: bool, "DrownedConversionTime" as drowned_conversion_time: i32, "InWaterTime" as in_water_time: i32, optional "IsBaby" as is_baby: bool }
ZombieHorse > AbstractHorse { }
ZombieVillager > Zombie { optional "ConversionPlayer" as conversion_player: u128, "ConversionTime" as conversion_time: i32, optional "Gossips" as gossips: fastnbt::Value, optional "Offers" as offers: HashMap<CowStr, fastnbt::Value>, "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
}
entity_compound_types! {
"1.15";
ArmorStand_writePose { optional "Body" as body: Vec<f32>, optional "Head" as head: Vec<f32>, optional "LeftArm" as left_arm: Vec<f32>, optional "LeftLeg" as left_leg: Vec<f32>, optional "RightArm" as right_arm: Vec<f32>, optional "RightLeg" as right_leg: Vec<f32> }
Compound10 { "OwnerUUID" as owner_uuid: u128 }
Compound5 { optional "UUID" as uuid: u128, optional "X" as x: i32, optional "Y" as y: i32, optional "Z" as z: i32 }
ItemStack_save { optional "Count" as count: i8, optional "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_1 { "Count" as count: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_2 { "Count" as count: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
MerchantOffer_createTag { "buy" as buy: super::compounds::ItemStack_save_2, "buyB" as buy_b: super::compounds::ItemStack_save_2, "demand" as demand: i32, "maxUses" as max_uses: i32, "priceMultiplier" as price_multiplier: f32, "rewardExp" as reward_exp: bool, "sell" as sell: super::compounds::ItemStack_save_2, "specialPrice" as special_price: i32, "uses" as uses: i32, "xp" as xp: i32 }
MerchantOffers_createTag { "Recipes" as recipes: Vec<super::compounds::MerchantOffer_createTag> }
MobEffectInstance_save { "Ambient" as ambient: bool, "Amplifier" as amplifier: i8, "Duration" as duration: i32, "Id" as id: i8, "ShowIcon" as show_icon: bool, "ShowParticles" as show_particles: bool }
NbtUtils_createUUIDTag { "L" as l: i64, "M" as m: i64 }
NbtUtils_createUUIDTag_1 { "L" as l: i64, "M" as m: i64, "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
SharedMonsterAttributes_saveAttribute { "Base" as base: f64, optional "Modifiers" as modifiers: Vec<super::compounds::SharedMonsterAttributes_saveAttributeModifier>, "Name" as name: CowStr }
SharedMonsterAttributes_saveAttributeModifier { "Amount" as amount: f64, "Name" as name: CowStr, "Operation" as operation: i32, "UUID" as uuid: u128 }
SpawnData_save { "Entity" as entity: HashMap<CowStr, fastnbt::Value>, "Weight" as weight: i32 }
}
}
/// Accompanying types for entities in Minecraft 1.15.2.
#[cfg(feature = "1.15.2")]
pub mod mc1_15_2 {
entities! {
"1.15.2", mc1_15_2;
"minecraft:area_effect_cloud", AreaEffectCloud: AreaEffectCloud;
"minecraft:armor_stand", ArmorStand: ArmorStand;
"minecraft:arrow", Arrow: Arrow;
"minecraft:bat", Bat: Bat;
"minecraft:bee", Bee: Bee;
"minecraft:blaze", Blaze: Blaze;
"minecraft:boat", Boat: Boat;
"minecraft:cat", Cat: Cat;
"minecraft:cave_spider", CaveSpider: CaveSpider;
"minecraft:chest_minecart", ChestMinecart: MinecartChest;
"minecraft:chicken", Chicken: Chicken;
"minecraft:cod", Cod: Cod;
"minecraft:command_block_minecart", CommandBlockMinecart: MinecartCommandBlock;
"minecraft:cow", Cow: Cow;
"minecraft:creeper", Creeper: Creeper;
"minecraft:dolphin", Dolphin: Dolphin;
"minecraft:donkey", Donkey: Donkey;
"minecraft:dragon_fireball", DragonFireball: DragonFireball;
"minecraft:drowned", Drowned: Drowned;
"minecraft:egg", Egg: ThrownEgg;
"minecraft:elder_guardian", ElderGuardian: ElderGuardian;
"minecraft:end_crystal", EndCrystal: EndCrystal;
"minecraft:ender_dragon", EnderDragon: EnderDragon;
"minecraft:ender_pearl", EnderPearl: ThrownEnderpearl;
"minecraft:enderman", Enderman: EnderMan;
"minecraft:endermite", Endermite: Endermite;
"minecraft:evoker", Evoker: Evoker;
"minecraft:evoker_fangs", EvokerFangs: EvokerFangs;
"minecraft:experience_bottle", ExperienceBottle: ThrownExperienceBottle;
"minecraft:experience_orb", ExperienceOrb: ExperienceOrb;
"minecraft:eye_of_ender", EyeOfEnder: EyeOfEnder;
"minecraft:falling_block", FallingBlock: FallingBlockEntity;
"minecraft:fireball", Fireball: LargeFireball;
"minecraft:firework_rocket", FireworkRocket: FireworkRocketEntity;
"minecraft:fishing_bobber", FishingBobber: FishingHook;
"minecraft:fox", Fox: Fox;
"minecraft:furnace_minecart", FurnaceMinecart: MinecartFurnace;
"minecraft:ghast", Ghast: Ghast;
"minecraft:giant", Giant: Giant;
"minecraft:guardian", Guardian: Guardian;
"minecraft:hopper_minecart", HopperMinecart: MinecartHopper;
"minecraft:horse", Horse: Horse;
"minecraft:husk", Husk: Husk;
"minecraft:illusioner", Illusioner: Illusioner;
"minecraft:iron_golem", IronGolem: IronGolem;
"minecraft:item", Item: ItemEntity;
"minecraft:item_frame", ItemFrame: ItemFrame;
"minecraft:leash_knot", LeashKnot: LeashFenceKnotEntity;
"minecraft:lightning_bolt", LightningBolt: LightningBolt;
"minecraft:llama", Llama: Llama;
"minecraft:llama_spit", LlamaSpit: LlamaSpit;
"minecraft:magma_cube", MagmaCube: MagmaCube;
"minecraft:minecart", Minecart: Minecart;
"minecraft:mooshroom", Mooshroom: MushroomCow;
"minecraft:mule", Mule: Mule;
"minecraft:ocelot", Ocelot: Ocelot;
"minecraft:painting", Painting: Painting;
"minecraft:panda", Panda: Panda;
"minecraft:parrot", Parrot: Parrot;
"minecraft:phantom", Phantom: Phantom;
"minecraft:pig", Pig: Pig;
"minecraft:pillager", Pillager: Pillager;
"minecraft:polar_bear", PolarBear: PolarBear;
"minecraft:potion", Potion: ThrownPotion;
"minecraft:pufferfish", Pufferfish: Pufferfish;
"minecraft:rabbit", Rabbit: Rabbit;
"minecraft:ravager", Ravager: Ravager;
"minecraft:salmon", Salmon: Salmon;
"minecraft:sheep", Sheep: Sheep;
"minecraft:shulker", Shulker: Shulker;
"minecraft:shulker_bullet", ShulkerBullet: ShulkerBullet;
"minecraft:silverfish", Silverfish: Silverfish;
"minecraft:skeleton", Skeleton: Skeleton;
"minecraft:skeleton_horse", SkeletonHorse: SkeletonHorse;
"minecraft:slime", Slime: Slime;
"minecraft:small_fireball", SmallFireball: SmallFireball;
"minecraft:snow_golem", SnowGolem: SnowGolem;
"minecraft:snowball", Snowball: Snowball;
"minecraft:spawner_minecart", SpawnerMinecart: MinecartSpawner;
"minecraft:spectral_arrow", SpectralArrow: SpectralArrow;
"minecraft:spider", Spider: Spider;
"minecraft:squid", Squid: Squid;
"minecraft:stray", Stray: Stray;
"minecraft:tnt", Tnt: PrimedTnt;
"minecraft:tnt_minecart", TntMinecart: MinecartTNT;
"minecraft:trader_llama", TraderLlama: TraderLlama;
"minecraft:trident", Trident: ThrownTrident;
"minecraft:tropical_fish", TropicalFish: TropicalFish;
"minecraft:turtle", Turtle: Turtle;
"minecraft:vex", Vex: Vex;
"minecraft:villager", Villager: Villager;
"minecraft:vindicator", Vindicator: Vindicator;
"minecraft:wandering_trader", WanderingTrader: WanderingTrader;
"minecraft:witch", Witch: Witch;
"minecraft:wither", Wither: WitherBoss;
"minecraft:wither_skeleton", WitherSkeleton: WitherSkeleton;
"minecraft:wither_skull", WitherSkull: WitherSkull;
"minecraft:wolf", Wolf: Wolf;
"minecraft:zombie", Zombie: Zombie;
"minecraft:zombie_horse", ZombieHorse: ZombieHorse;
"minecraft:zombie_pigman", ZombiePigman: PigZombie;
"minecraft:zombie_villager", ZombieVillager: ZombieVillager;
}
entity_types! {
"1.15.2";
AbstractArrow > Entity { optional "OwnerUUID" as owner_uuid: u128, "PierceLevel" as pierce_level: i8, "ShotFromCrossbow" as shot_from_crossbow: bool, "SoundEvent" as sound_event: CowStr, "crit" as crit: bool, "damage" as damage: f64, optional "inBlockState" as in_block_state: super::BlockState, "inGround" as in_ground: bool, "life" as life: i16, "pickup" as pickup: i8, "shake" as shake: i8 }
AbstractChestedHorse > AbstractHorse { "ChestedHorse" as chested_horse: bool, optional "Items" as items: Vec<super::compounds::ItemStack_save_1> }
AbstractFish > WaterAnimal { "FromBucket" as from_bucket: bool }
AbstractGolem > PathfinderMob { }
AbstractHorse > Animal { "Bred" as bred: bool, "EatingHaystack" as eating_haystack: bool, optional "OwnerUUID" as owner_uuid: CowStr, optional "SaddleItem" as saddle_item: super::compounds::ItemStack_save_2, "Tame" as tame: bool, "Temper" as temper: i32 }
AbstractHurtingProjectile > Entity { "direction" as direction: Vec<f64>, "life" as life: i32, "power" as power: Vec<f64> }
AbstractIllager > Raider { }
AbstractMinecart > Entity { optional "CustomDisplayTile" as custom_display_tile: bool, optional "DisplayOffset" as display_offset: i32, optional "DisplayState" as display_state: super::BlockState }
AbstractMinecartContainer > AbstractMinecart { optional "Items" as items: Vec<super::compounds::ItemStack_save_1>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
AbstractSchoolingFish > AbstractFish { }
AbstractSkeleton > Monster { }
AbstractVillager > AgableMob { "Inventory" as inventory: Vec<super::compounds::ItemStack_save_2>, optional "Offers" as offers: super::compounds::MerchantOffers_createTag }
AgableMob > PathfinderMob { "Age" as age: i32, "ForcedAge" as forced_age: i32 }
AmbientCreature > Mob { }
Animal > AgableMob { "InLove" as in_love: i32, optional "LoveCause" as love_cause: u128 }
AreaEffectCloud > Entity { "Age" as age: i32, optional "Color" as color: i32, "Duration" as duration: i32, "DurationOnUse" as duration_on_use: i32, optional "Effects" as effects: Vec<super::compounds::MobEffectInstance_save>, optional "OwnerUUID" as owner_uuid: u128, "Particle" as particle: CowStr, optional "Potion" as potion: CowStr, "Radius" as radius: f32, "RadiusOnUse" as radius_on_use: f32, "RadiusPerTick" as radius_per_tick: f32, "ReapplicationDelay" as reapplication_delay: i32, "WaitTime" as wait_time: i32 }
ArmorStand > LivingEntity { "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save>, "DisabledSlots" as disabled_slots: i32, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save>, "Invisible" as invisible: bool, optional "Marker" as marker: bool, "NoBasePlate" as no_base_plate: bool, "Pose" as pose: super::compounds::ArmorStand_writePose, "ShowArms" as show_arms: bool, "Small" as small: bool }
Arrow > AbstractArrow { optional "Color" as color: i32, optional "CustomPotionEffects" as custom_potion_effects: Vec<super::compounds::MobEffectInstance_save>, optional "Potion" as potion: CowStr }
Bat > AmbientCreature { "BatFlags" as bat_flags: i8 }
Bee > Animal { "Anger" as anger: i32, "CannotEnterHiveTicks" as cannot_enter_hive_ticks: i32, "CropsGrownSincePollination" as crops_grown_since_pollination: i32, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos, "HasNectar" as has_nectar: bool, "HasStung" as has_stung: bool, optional "HivePos" as hive_pos: super::compounds::NbtUtils_writeBlockPos, optional "HurtBy" as hurt_by: CowStr, "TicksSincePollination" as ticks_since_pollination: i32 }
Blaze > Monster { }
Boat > Entity { "Type" as r#type: CowStr }
Cat > TamableAnimal { "CatType" as cat_type: i32, "CollarColor" as collar_color: i8 }
CaveSpider > Spider { }
Chicken > Animal { "EggLayTime" as egg_lay_time: i32, "IsChickenJockey" as is_chicken_jockey: bool }
Cod > AbstractSchoolingFish { }
Cow > Animal { }
Creeper > Monster { "ExplosionRadius" as explosion_radius: i8, "Fuse" as fuse: i16, "ignited" as ignited: bool, optional "powered" as powered: bool }
Dolphin > WaterAnimal { "GotFish" as got_fish: bool, "Moistness" as moistness: i32, "TreasurePosX" as treasure_pos_x: i32, "TreasurePosY" as treasure_pos_y: i32, "TreasurePosZ" as treasure_pos_z: i32 }
Donkey > AbstractChestedHorse { }
DragonFireball > AbstractHurtingProjectile { }
Drowned > Zombie { }
ElderGuardian > Guardian { }
EndCrystal > Entity { optional "BeamTarget" as beam_target: super::compounds::NbtUtils_writeBlockPos, "ShowBottom" as show_bottom: bool }
EnderDragon > Mob { "DragonPhase" as dragon_phase: i32 }
EnderMan > Monster { optional "carriedBlockState" as carried_block_state: super::BlockState }
Endermite > Monster { "Lifetime" as lifetime: i32, "PlayerSpawned" as player_spawned: bool }
Entity { "Air" as air: i16, optional "CustomName" as custom_name: CowStr, optional "CustomNameVisible" as custom_name_visible: bool, "Dimension" as dimension: i32, "FallDistance" as fall_distance: f32, "Fire" as fire: i16, optional "Glowing" as glowing: bool, "Invulnerable" as invulnerable: bool, "Motion" as motion: Vec<f64>, optional "NoGravity" as no_gravity: bool, "OnGround" as on_ground: bool, optional "Passengers" as passengers: Vec<Box<super::Entity>>, "PortalCooldown" as portal_cooldown: i32, "Pos" as pos: Vec<f64>, "Rotation" as rotation: Vec<f32>, optional "Silent" as silent: bool, optional "Tags" as tags: Vec<CowStr>, "UUID" as uuid: u128 }
Evoker > SpellcasterIllager { }
EvokerFangs > Entity { optional "OwnerUUID" as owner_uuid: u128, "Warmup" as warmup: i32 }
ExperienceOrb > Entity { "Age" as age: i16, "Health" as health: i16, "Value" as value: i16 }
EyeOfEnder > Entity { optional "Item" as item: super::compounds::ItemStack_save_2 }
FallingBlockEntity > Entity { "BlockState" as block_state: super::BlockState, "DropItem" as drop_item: bool, "FallHurtAmount" as fall_hurt_amount: f32, "FallHurtMax" as fall_hurt_max: i32, "HurtEntities" as hurt_entities: bool, optional "TileEntityData" as tile_entity_data: HashMap<CowStr, fastnbt::Value>, "Time" as time: i32 }
Fireball > AbstractHurtingProjectile { optional "Item" as item: super::compounds::ItemStack_save_2 }
FireworkRocketEntity > Entity { optional "FireworksItem" as fireworks_item: super::compounds::ItemStack_save_2, "Life" as life: i32, "LifeTime" as life_time: i32, "ShotAtAngle" as shot_at_angle: bool }
FishingHook > Entity { }
FlyingMob > Mob { }
Fox > Animal { "Crouching" as crouching: bool, "Sitting" as sitting: bool, "Sleeping" as sleeping: bool, "TrustedUUIDs" as trusted_uui_ds: Vec<super::compounds::NbtUtils_createUUIDTag>, "Type" as r#type: CowStr }
Ghast > FlyingMob { "ExplosionPower" as explosion_power: i32 }
Giant > Monster { }
Guardian > Monster { }
HangingEntity > Entity { "Facing" as facing: i8, "TileX" as tile_x: i32, "TileY" as tile_y: i32, "TileZ" as tile_z: i32 }
Horse > AbstractHorse { optional "ArmorItem" as armor_item: super::compounds::ItemStack_save_2, "Variant" as variant: i32 }
Husk > Zombie { }
Illusioner > SpellcasterIllager { }
IronGolem > AbstractGolem { "PlayerCreated" as player_created: bool }
ItemEntity > Entity { "Age" as age: i16, "Health" as health: i16, optional "Item" as item: super::compounds::ItemStack_save_2, optional "Owner" as owner: super::compounds::NbtUtils_createUUIDTag, "PickupDelay" as pickup_delay: i16, optional "Thrower" as thrower: super::compounds::NbtUtils_createUUIDTag }
ItemFrame > HangingEntity { "Facing" as facing: i8, optional "Item" as item: super::compounds::ItemStack_save_2, optional "ItemDropChance" as item_drop_chance: f32, optional "ItemRotation" as item_rotation: i8 }
LargeFireball > Fireball { "ExplosionPower" as explosion_power: i32 }
LeashFenceKnotEntity > HangingEntity { }
LightningBolt > Entity { }
LivingEntity > Entity { "AbsorptionAmount" as absorption_amount: f32, optional "ActiveEffects" as active_effects: Vec<super::compounds::MobEffectInstance_save>, "Attributes" as attributes: Vec<super::compounds::SharedMonsterAttributes_saveAttribute>, "Brain" as brain: fastnbt::Value, "DeathTime" as death_time: i16, "FallFlying" as fall_flying: bool, "Health" as health: f32, "HurtByTimestamp" as hurt_by_timestamp: i32, "HurtTime" as hurt_time: i16, optional "SleepingX" as sleeping_x: i32, optional "SleepingY" as sleeping_y: i32, optional "SleepingZ" as sleeping_z: i32 }
Llama > AbstractChestedHorse { optional "DecorItem" as decor_item: super::compounds::ItemStack_save_2, "Strength" as strength: i32, "Variant" as variant: i32 }
LlamaSpit > Entity { optional "Owner" as owner: super::compounds::Compound10 }
MagmaCube > Slime { }
Minecart > AbstractMinecart { }
MinecartChest > AbstractMinecartContainer { }
MinecartCommandBlock > AbstractMinecart { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool }
MinecartFurnace > AbstractMinecart { "Fuel" as fuel: i16, "PushX" as push_x: f64, "PushZ" as push_z: f64 }
MinecartHopper > AbstractMinecartContainer { "Enabled" as enabled: bool, "TransferCooldown" as transfer_cooldown: i32 }
MinecartSpawner > AbstractMinecart { optional "Delay" as delay: i16, optional "MaxNearbyEntities" as max_nearby_entities: i16, optional "MaxSpawnDelay" as max_spawn_delay: i16, optional "MinSpawnDelay" as min_spawn_delay: i16, optional "RequiredPlayerRange" as required_player_range: i16, optional "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: HashMap<CowStr, fastnbt::Value>, optional "SpawnPotentials" as spawn_potentials: Vec<super::compounds::SpawnData_save>, optional "SpawnRange" as spawn_range: i16 }
MinecartTNT > AbstractMinecart { "TNTFuse" as tnt_fuse: i32 }
Mob > LivingEntity { "ArmorDropChances" as armor_drop_chances: Vec<f32>, "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save>, "CanPickUpLoot" as can_pick_up_loot: bool, optional "DeathLootTable" as death_loot_table: CowStr, optional "DeathLootTableSeed" as death_loot_table_seed: i64, "HandDropChances" as hand_drop_chances: Vec<f32>, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save>, optional "Leash" as leash: super::compounds::Compound5, "LeftHanded" as left_handed: bool, optional "NoAI" as no_ai: bool, "PersistenceRequired" as persistence_required: bool }
Monster > PathfinderMob { }
Mule > AbstractChestedHorse { }
MushroomCow > Cow { optional "EffectDuration" as effect_duration: i32, optional "EffectId" as effect_id: i8, "Type" as r#type: CowStr }
Ocelot > Animal { "Trusting" as trusting: bool }
Painting > HangingEntity { "Motive" as motive: CowStr }
Panda > Animal { "HiddenGene" as hidden_gene: CowStr, "MainGene" as main_gene: CowStr }
Parrot > ShoulderRidingEntity { "Variant" as variant: i32 }
PathfinderMob > Mob { }
PatrollingMonster > Monster { "PatrolLeader" as patrol_leader: bool, optional "PatrolTarget" as patrol_target: super::compounds::NbtUtils_writeBlockPos, "Patrolling" as patrolling: bool }
Phantom > FlyingMob { "AX" as ax: i32, "AY" as ay: i32, "AZ" as az: i32, "Size" as size: i32 }
Pig > Animal { "Saddle" as saddle: bool }
PigZombie > Zombie { "Anger" as anger: i16, optional "HurtBy" as hurt_by: CowStr }
Pillager > AbstractIllager { "Inventory" as inventory: Vec<super::compounds::ItemStack_save_2> }
PolarBear > Animal { }
PrimedTnt > Entity { "Fuse" as fuse: i16 }
Pufferfish > AbstractFish { "PuffState" as puff_state: i32 }
Rabbit > Animal { "MoreCarrotTicks" as more_carrot_ticks: i32, "RabbitType" as rabbit_type: i32 }
Raider > PatrollingMonster { "CanJoinRaid" as can_join_raid: bool, optional "RaidId" as raid_id: i32, "Wave" as wave: i32 }
Ravager > Raider { "AttackTick" as attack_tick: i32, "RoarTick" as roar_tick: i32, "StunTick" as stun_tick: i32 }
Salmon > AbstractSchoolingFish { }
Sheep > Animal { "Color" as color: i8, "Sheared" as sheared: bool }
ShoulderRidingEntity > TamableAnimal { }
Shulker > AbstractGolem { optional "APX" as apx: i32, optional "APY" as apy: i32, optional "APZ" as apz: i32, "AttachFace" as attach_face: i8, "Color" as color: i8, "Peek" as peek: i8 }
ShulkerBullet > Entity { optional "Dir" as dir: i32, optional "Owner" as owner: super::compounds::NbtUtils_createUUIDTag_1, "Steps" as steps: i32, "TXD" as txd: f64, "TYD" as tyd: f64, "TZD" as tzd: f64, optional "Target" as target: super::compounds::NbtUtils_createUUIDTag_1 }
Silverfish > Monster { }
Skeleton > AbstractSkeleton { }
SkeletonHorse > AbstractHorse { "SkeletonTrap" as skeleton_trap: bool, "SkeletonTrapTime" as skeleton_trap_time: i32 }
Slime > Mob { "Size" as size: i32, "wasOnGround" as was_on_ground: bool }
SmallFireball > Fireball { }
SnowGolem > AbstractGolem { "Pumpkin" as pumpkin: bool }
Snowball > ThrowableItemProjectile { }
SpectralArrow > AbstractArrow { "Duration" as duration: i32 }
SpellcasterIllager > AbstractIllager { "SpellTicks" as spell_ticks: i32 }
Spider > Monster { }
Squid > WaterAnimal { }
Stray > AbstractSkeleton { }
TamableAnimal > Animal { optional "OwnerUUID" as owner_uuid: CowStr, "Sitting" as sitting: bool }
ThrowableItemProjectile > ThrowableProjectile { optional "Item" as item: super::compounds::ItemStack_save_2 }
ThrowableProjectile > Entity { "inGround" as in_ground: bool, optional "owner" as owner: super::compounds::NbtUtils_createUUIDTag, "shake" as shake: i8, "xTile" as x_tile: i32, "yTile" as y_tile: i32, "zTile" as z_tile: i32 }
ThrownEgg > ThrowableItemProjectile { }
ThrownEnderpearl > ThrowableItemProjectile { }
ThrownExperienceBottle > ThrowableItemProjectile { }
ThrownPotion > ThrowableProjectile { optional "Potion" as potion: super::compounds::ItemStack_save_2 }
ThrownTrident > AbstractArrow { "DealtDamage" as dealt_damage: bool, "Trident" as trident: super::compounds::ItemStack_save_2 }
TraderLlama > Llama { "DespawnDelay" as despawn_delay: i32 }
TropicalFish > AbstractSchoolingFish { "Variant" as variant: i32 }
Turtle > Animal { "HasEgg" as has_egg: bool, "HomePosX" as home_pos_x: i32, "HomePosY" as home_pos_y: i32, "HomePosZ" as home_pos_z: i32, "TravelPosX" as travel_pos_x: i32, "TravelPosY" as travel_pos_y: i32, "TravelPosZ" as travel_pos_z: i32 }
Vex > Monster { optional "BoundX" as bound_x: i32, optional "BoundY" as bound_y: i32, optional "BoundZ" as bound_z: i32, optional "LifeTicks" as life_ticks: i32 }
Villager > AbstractVillager { "FoodLevel" as food_level: i8, "Gossips" as gossips: fastnbt::Value, "LastGossipDecay" as last_gossip_decay: i64, "LastRestock" as last_restock: i64, "RestocksToday" as restocks_today: i32, "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
Vindicator > AbstractIllager { optional "Johnny" as johnny: bool }
WanderingTrader > AbstractVillager { "DespawnDelay" as despawn_delay: i32, optional "WanderTarget" as wander_target: super::compounds::NbtUtils_writeBlockPos }
WaterAnimal > PathfinderMob { }
Witch > Raider { }
WitherBoss > Monster { "Invul" as invul: i32 }
WitherSkeleton > AbstractSkeleton { }
WitherSkull > AbstractHurtingProjectile { }
Wolf > TamableAnimal { "Angry" as angry: bool, "CollarColor" as collar_color: i8 }
Zombie > Monster { "CanBreakDoors" as can_break_doors: bool, "DrownedConversionTime" as drowned_conversion_time: i32, "InWaterTime" as in_water_time: i32, optional "IsBaby" as is_baby: bool }
ZombieHorse > AbstractHorse { }
ZombieVillager > Zombie { optional "ConversionPlayer" as conversion_player: u128, "ConversionTime" as conversion_time: i32, optional "Gossips" as gossips: fastnbt::Value, optional "Offers" as offers: HashMap<CowStr, fastnbt::Value>, "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
}
entity_compound_types! {
"1.15.2";
ArmorStand_writePose { optional "Body" as body: Vec<f32>, optional "Head" as head: Vec<f32>, optional "LeftArm" as left_arm: Vec<f32>, optional "LeftLeg" as left_leg: Vec<f32>, optional "RightArm" as right_arm: Vec<f32>, optional "RightLeg" as right_leg: Vec<f32> }
Compound10 { "OwnerUUID" as owner_uuid: u128 }
Compound5 { optional "UUID" as uuid: u128, optional "X" as x: i32, optional "Y" as y: i32, optional "Z" as z: i32 }
ItemStack_save { optional "Count" as count: i8, optional "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_1 { "Count" as count: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_2 { "Count" as count: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
MerchantOffer_createTag { "buy" as buy: super::compounds::ItemStack_save_2, "buyB" as buy_b: super::compounds::ItemStack_save_2, "demand" as demand: i32, "maxUses" as max_uses: i32, "priceMultiplier" as price_multiplier: f32, "rewardExp" as reward_exp: bool, "sell" as sell: super::compounds::ItemStack_save_2, "specialPrice" as special_price: i32, "uses" as uses: i32, "xp" as xp: i32 }
MerchantOffers_createTag { "Recipes" as recipes: Vec<super::compounds::MerchantOffer_createTag> }
MobEffectInstance_save { "Ambient" as ambient: bool, "Amplifier" as amplifier: i8, "Duration" as duration: i32, optional "HiddenEffect" as hidden_effect: Box<super::compounds::MobEffectInstance_save>, "Id" as id: i8, "ShowIcon" as show_icon: bool, "ShowParticles" as show_particles: bool }
NbtUtils_createUUIDTag { "L" as l: i64, "M" as m: i64 }
NbtUtils_createUUIDTag_1 { "L" as l: i64, "M" as m: i64, "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
SharedMonsterAttributes_saveAttribute { "Base" as base: f64, optional "Modifiers" as modifiers: Vec<super::compounds::SharedMonsterAttributes_saveAttributeModifier>, "Name" as name: CowStr }
SharedMonsterAttributes_saveAttributeModifier { "Amount" as amount: f64, "Name" as name: CowStr, "Operation" as operation: i32, "UUID" as uuid: u128 }
SpawnData_save { "Entity" as entity: HashMap<CowStr, fastnbt::Value>, "Weight" as weight: i32 }
}
}
/// Accompanying types for entities in Minecraft 1.16.
#[cfg(feature = "1.16")]
pub mod mc1_16 {
entities! {
"1.16", mc1_16;
"minecraft:area_effect_cloud", AreaEffectCloud: AreaEffectCloud;
"minecraft:armor_stand", ArmorStand: ArmorStand;
"minecraft:arrow", Arrow: Arrow;
"minecraft:bat", Bat: Bat;
"minecraft:bee", Bee: Bee;
"minecraft:blaze", Blaze: Blaze;
"minecraft:boat", Boat: Boat;
"minecraft:cat", Cat: Cat;
"minecraft:cave_spider", CaveSpider: CaveSpider;
"minecraft:chest_minecart", ChestMinecart: MinecartChest;
"minecraft:chicken", Chicken: Chicken;
"minecraft:cod", Cod: Cod;
"minecraft:command_block_minecart", CommandBlockMinecart: MinecartCommandBlock;
"minecraft:cow", Cow: Cow;
"minecraft:creeper", Creeper: Creeper;
"minecraft:dolphin", Dolphin: Dolphin;
"minecraft:donkey", Donkey: Donkey;
"minecraft:dragon_fireball", DragonFireball: DragonFireball;
"minecraft:drowned", Drowned: Drowned;
"minecraft:egg", Egg: ThrownEgg;
"minecraft:elder_guardian", ElderGuardian: ElderGuardian;
"minecraft:end_crystal", EndCrystal: EndCrystal;
"minecraft:ender_dragon", EnderDragon: EnderDragon;
"minecraft:ender_pearl", EnderPearl: ThrownEnderpearl;
"minecraft:enderman", Enderman: EnderMan;
"minecraft:endermite", Endermite: Endermite;
"minecraft:evoker", Evoker: Evoker;
"minecraft:evoker_fangs", EvokerFangs: EvokerFangs;
"minecraft:experience_bottle", ExperienceBottle: ThrownExperienceBottle;
"minecraft:experience_orb", ExperienceOrb: ExperienceOrb;
"minecraft:eye_of_ender", EyeOfEnder: EyeOfEnder;
"minecraft:falling_block", FallingBlock: FallingBlockEntity;
"minecraft:fireball", Fireball: LargeFireball;
"minecraft:firework_rocket", FireworkRocket: FireworkRocketEntity;
"minecraft:fishing_bobber", FishingBobber: FishingHook;
"minecraft:fox", Fox: Fox;
"minecraft:furnace_minecart", FurnaceMinecart: MinecartFurnace;
"minecraft:ghast", Ghast: Ghast;
"minecraft:giant", Giant: Giant;
"minecraft:guardian", Guardian: Guardian;
"minecraft:hoglin", Hoglin: Hoglin;
"minecraft:hopper_minecart", HopperMinecart: MinecartHopper;
"minecraft:horse", Horse: Horse;
"minecraft:husk", Husk: Husk;
"minecraft:illusioner", Illusioner: Illusioner;
"minecraft:iron_golem", IronGolem: IronGolem;
"minecraft:item", Item: ItemEntity;
"minecraft:item_frame", ItemFrame: ItemFrame;
"minecraft:leash_knot", LeashKnot: LeashFenceKnotEntity;
"minecraft:lightning_bolt", LightningBolt: LightningBolt;
"minecraft:llama", Llama: Llama;
"minecraft:llama_spit", LlamaSpit: LlamaSpit;
"minecraft:magma_cube", MagmaCube: MagmaCube;
"minecraft:minecart", Minecart: Minecart;
"minecraft:mooshroom", Mooshroom: MushroomCow;
"minecraft:mule", Mule: Mule;
"minecraft:ocelot", Ocelot: Ocelot;
"minecraft:painting", Painting: Painting;
"minecraft:panda", Panda: Panda;
"minecraft:parrot", Parrot: Parrot;
"minecraft:phantom", Phantom: Phantom;
"minecraft:pig", Pig: Pig;
"minecraft:piglin", Piglin: Piglin;
"minecraft:pillager", Pillager: Pillager;
"minecraft:polar_bear", PolarBear: PolarBear;
"minecraft:potion", Potion: ThrownPotion;
"minecraft:pufferfish", Pufferfish: Pufferfish;
"minecraft:rabbit", Rabbit: Rabbit;
"minecraft:ravager", Ravager: Ravager;
"minecraft:salmon", Salmon: Salmon;
"minecraft:sheep", Sheep: Sheep;
"minecraft:shulker", Shulker: Shulker;
"minecraft:shulker_bullet", ShulkerBullet: ShulkerBullet;
"minecraft:silverfish", Silverfish: Silverfish;
"minecraft:skeleton", Skeleton: Skeleton;
"minecraft:skeleton_horse", SkeletonHorse: SkeletonHorse;
"minecraft:slime", Slime: Slime;
"minecraft:small_fireball", SmallFireball: SmallFireball;
"minecraft:snow_golem", SnowGolem: SnowGolem;
"minecraft:snowball", Snowball: Snowball;
"minecraft:spawner_minecart", SpawnerMinecart: MinecartSpawner;
"minecraft:spectral_arrow", SpectralArrow: SpectralArrow;
"minecraft:spider", Spider: Spider;
"minecraft:squid", Squid: Squid;
"minecraft:stray", Stray: Stray;
"minecraft:strider", Strider: Strider;
"minecraft:tnt", Tnt: PrimedTnt;
"minecraft:tnt_minecart", TntMinecart: MinecartTNT;
"minecraft:trader_llama", TraderLlama: TraderLlama;
"minecraft:trident", Trident: ThrownTrident;
"minecraft:tropical_fish", TropicalFish: TropicalFish;
"minecraft:turtle", Turtle: Turtle;
"minecraft:vex", Vex: Vex;
"minecraft:villager", Villager: Villager;
"minecraft:vindicator", Vindicator: Vindicator;
"minecraft:wandering_trader", WanderingTrader: WanderingTrader;
"minecraft:witch", Witch: Witch;
"minecraft:wither", Wither: WitherBoss;
"minecraft:wither_skeleton", WitherSkeleton: WitherSkeleton;
"minecraft:wither_skull", WitherSkull: WitherSkull;
"minecraft:wolf", Wolf: Wolf;
"minecraft:zoglin", Zoglin: Zoglin;
"minecraft:zombie", Zombie: Zombie;
"minecraft:zombie_horse", ZombieHorse: ZombieHorse;
"minecraft:zombie_villager", ZombieVillager: ZombieVillager;
"minecraft:zombified_piglin", ZombifiedPiglin: ZombifiedPiglin;
}
entity_types! {
"1.16";
AbstractArrow > Projectile { "PierceLevel" as pierce_level: i8, "ShotFromCrossbow" as shot_from_crossbow: bool, "SoundEvent" as sound_event: CowStr, "crit" as crit: bool, "damage" as damage: f64, optional "inBlockState" as in_block_state: super::BlockState, "inGround" as in_ground: bool, "life" as life: i16, "pickup" as pickup: i8, "shake" as shake: i8 }
AbstractChestedHorse > AbstractHorse { "ChestedHorse" as chested_horse: bool, optional "Items" as items: Vec<super::compounds::ItemStack_save_1> }
AbstractFish > WaterAnimal { "FromBucket" as from_bucket: bool }
AbstractGolem > PathfinderMob { }
AbstractHorse > Animal { "Bred" as bred: bool, "EatingHaystack" as eating_haystack: bool, optional "Owner" as owner: u128, optional "SaddleItem" as saddle_item: super::compounds::ItemStack_save_2, "Tame" as tame: bool, "Temper" as temper: i32 }
AbstractHurtingProjectile > Projectile { "power" as power: Vec<f64> }
AbstractIllager > Raider { }
AbstractMinecart > Entity { optional "CustomDisplayTile" as custom_display_tile: bool, optional "DisplayOffset" as display_offset: i32, optional "DisplayState" as display_state: super::BlockState }
AbstractMinecartContainer > AbstractMinecart { optional "Items" as items: Vec<super::compounds::ItemStack_save_1>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
AbstractSchoolingFish > AbstractFish { }
AbstractSkeleton > Monster { }
AbstractVillager > AgableMob { "Inventory" as inventory: Vec<super::compounds::ItemStack_save_2>, optional "Offers" as offers: super::compounds::MerchantOffers_createTag }
AgableMob > PathfinderMob { "Age" as age: i32, "ForcedAge" as forced_age: i32 }
AmbientCreature > Mob { }
Animal > AgableMob { "InLove" as in_love: i32, optional "LoveCause" as love_cause: u128 }
AreaEffectCloud > Entity { "Age" as age: i32, optional "Color" as color: i32, "Duration" as duration: i32, "DurationOnUse" as duration_on_use: i32, optional "Effects" as effects: Vec<super::compounds::MobEffectInstance_save>, optional "Owner" as owner: u128, "Particle" as particle: CowStr, optional "Potion" as potion: CowStr, "Radius" as radius: f32, "RadiusOnUse" as radius_on_use: f32, "RadiusPerTick" as radius_per_tick: f32, "ReapplicationDelay" as reapplication_delay: i32, "WaitTime" as wait_time: i32 }
ArmorStand > LivingEntity { "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save>, "DisabledSlots" as disabled_slots: i32, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save>, "Invisible" as invisible: bool, optional "Marker" as marker: bool, "NoBasePlate" as no_base_plate: bool, "Pose" as pose: super::compounds::ArmorStand_writePose, "ShowArms" as show_arms: bool, "Small" as small: bool }
Arrow > AbstractArrow { optional "Color" as color: i32, optional "CustomPotionEffects" as custom_potion_effects: Vec<super::compounds::MobEffectInstance_save>, optional "Potion" as potion: CowStr }
Bat > AmbientCreature { "BatFlags" as bat_flags: i8 }
Bee > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CannotEnterHiveTicks" as cannot_enter_hive_ticks: i32, "CropsGrownSincePollination" as crops_grown_since_pollination: i32, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos, "HasNectar" as has_nectar: bool, "HasStung" as has_stung: bool, optional "HivePos" as hive_pos: super::compounds::NbtUtils_writeBlockPos, "TicksSincePollination" as ticks_since_pollination: i32 }
Blaze > Monster { }
Boat > Entity { "Type" as r#type: CowStr }
Cat > TamableAnimal { "CatType" as cat_type: i32, "CollarColor" as collar_color: i8 }
CaveSpider > Spider { }
Chicken > Animal { "EggLayTime" as egg_lay_time: i32, "IsChickenJockey" as is_chicken_jockey: bool }
Cod > AbstractSchoolingFish { }
Cow > Animal { }
Creeper > Monster { "ExplosionRadius" as explosion_radius: i8, "Fuse" as fuse: i16, "ignited" as ignited: bool, optional "powered" as powered: bool }
Dolphin > WaterAnimal { "GotFish" as got_fish: bool, "Moistness" as moistness: i32, "TreasurePosX" as treasure_pos_x: i32, "TreasurePosY" as treasure_pos_y: i32, "TreasurePosZ" as treasure_pos_z: i32 }
Donkey > AbstractChestedHorse { }
DragonFireball > AbstractHurtingProjectile { }
Drowned > Zombie { }
ElderGuardian > Guardian { }
EndCrystal > Entity { optional "BeamTarget" as beam_target: super::compounds::NbtUtils_writeBlockPos, "ShowBottom" as show_bottom: bool }
EnderDragon > Mob { "DragonPhase" as dragon_phase: i32 }
EnderMan > Monster { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, optional "carriedBlockState" as carried_block_state: super::BlockState }
Endermite > Monster { "Lifetime" as lifetime: i32, "PlayerSpawned" as player_spawned: bool }
Entity { "Air" as air: i16, optional "CustomName" as custom_name: CowStr, optional "CustomNameVisible" as custom_name_visible: bool, "FallDistance" as fall_distance: f32, "Fire" as fire: i16, optional "Glowing" as glowing: bool, "Invulnerable" as invulnerable: bool, "Motion" as motion: Vec<f64>, optional "NoGravity" as no_gravity: bool, "OnGround" as on_ground: bool, optional "Passengers" as passengers: Vec<Box<super::Entity>>, "PortalCooldown" as portal_cooldown: i32, optional "Pos" as pos: Vec<f64>, "Rotation" as rotation: Vec<f32>, optional "Silent" as silent: bool, optional "Tags" as tags: Vec<CowStr>, "UUID" as uuid: u128 }
Evoker > SpellcasterIllager { }
EvokerFangs > Entity { optional "Owner" as owner: u128, "Warmup" as warmup: i32 }
ExperienceOrb > Entity { "Age" as age: i16, "Health" as health: i16, "Value" as value: i16 }
EyeOfEnder > Entity { optional "Item" as item: super::compounds::ItemStack_save_2 }
FallingBlockEntity > Entity { "BlockState" as block_state: super::BlockState, "DropItem" as drop_item: bool, "FallHurtAmount" as fall_hurt_amount: f32, "FallHurtMax" as fall_hurt_max: i32, "HurtEntities" as hurt_entities: bool, optional "TileEntityData" as tile_entity_data: HashMap<CowStr, fastnbt::Value>, "Time" as time: i32 }
Fireball > AbstractHurtingProjectile { optional "Item" as item: super::compounds::ItemStack_save_2 }
FireworkRocketEntity > Projectile { optional "FireworksItem" as fireworks_item: super::compounds::ItemStack_save_2, "Life" as life: i32, "LifeTime" as life_time: i32, "ShotAtAngle" as shot_at_angle: bool }
FishingHook > Projectile { }
FlyingMob > Mob { }
Fox > Animal { "Crouching" as crouching: bool, "Sitting" as sitting: bool, "Sleeping" as sleeping: bool, "Trusted" as trusted: Vec<fastnbt::IntArray>, "Type" as r#type: CowStr }
Ghast > FlyingMob { "ExplosionPower" as explosion_power: i32 }
Giant > Monster { }
Guardian > Monster { }
HangingEntity > Entity { "Facing" as facing: i8, "TileX" as tile_x: i32, "TileY" as tile_y: i32, "TileZ" as tile_z: i32 }
Hoglin > Animal { optional "CannotBeHunted" as cannot_be_hunted: bool, optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
Horse > AbstractHorse { optional "ArmorItem" as armor_item: super::compounds::ItemStack_save_2, "Variant" as variant: i32 }
Husk > Zombie { }
Illusioner > SpellcasterIllager { }
IronGolem > AbstractGolem { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "PlayerCreated" as player_created: bool }
ItemEntity > Entity { "Age" as age: i16, "Health" as health: i16, optional "Item" as item: super::compounds::ItemStack_save_2, optional "Owner" as owner: u128, "PickupDelay" as pickup_delay: i16, optional "Thrower" as thrower: u128 }
ItemFrame > HangingEntity { "Facing" as facing: i8, "Fixed" as fixed: bool, "Invisible" as invisible: bool, optional "Item" as item: super::compounds::ItemStack_save_2, optional "ItemDropChance" as item_drop_chance: f32, optional "ItemRotation" as item_rotation: i8 }
LargeFireball > Fireball { "ExplosionPower" as explosion_power: i32 }
LeashFenceKnotEntity > HangingEntity { }
LightningBolt > Entity { }
LivingEntity > Entity { "AbsorptionAmount" as absorption_amount: f32, optional "ActiveEffects" as active_effects: Vec<super::compounds::MobEffectInstance_save>, "Attributes" as attributes: Vec<super::compounds::AttributeInstance_save>, optional "Brain" as brain: fastnbt::Value, "DeathTime" as death_time: i16, "FallFlying" as fall_flying: bool, "Health" as health: f32, "HurtByTimestamp" as hurt_by_timestamp: i32, "HurtTime" as hurt_time: i16, optional "SleepingX" as sleeping_x: i32, optional "SleepingY" as sleeping_y: i32, optional "SleepingZ" as sleeping_z: i32 }
Llama > AbstractChestedHorse { optional "DecorItem" as decor_item: super::compounds::ItemStack_save_2, "Strength" as strength: i32, "Variant" as variant: i32 }
LlamaSpit > Projectile { }
MagmaCube > Slime { }
Minecart > AbstractMinecart { }
MinecartChest > AbstractMinecartContainer { }
MinecartCommandBlock > AbstractMinecart { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool }
MinecartFurnace > AbstractMinecart { "Fuel" as fuel: i16, "PushX" as push_x: f64, "PushZ" as push_z: f64 }
MinecartHopper > AbstractMinecartContainer { "Enabled" as enabled: bool, "TransferCooldown" as transfer_cooldown: i32 }
MinecartSpawner > AbstractMinecart { optional "Delay" as delay: i16, optional "MaxNearbyEntities" as max_nearby_entities: i16, optional "MaxSpawnDelay" as max_spawn_delay: i16, optional "MinSpawnDelay" as min_spawn_delay: i16, optional "RequiredPlayerRange" as required_player_range: i16, optional "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: HashMap<CowStr, fastnbt::Value>, optional "SpawnPotentials" as spawn_potentials: Vec<super::compounds::SpawnData_save>, optional "SpawnRange" as spawn_range: i16 }
MinecartTNT > AbstractMinecart { "TNTFuse" as tnt_fuse: i32 }
Mob > LivingEntity { "ArmorDropChances" as armor_drop_chances: Vec<f32>, "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save>, "CanPickUpLoot" as can_pick_up_loot: bool, optional "DeathLootTable" as death_loot_table: CowStr, optional "DeathLootTableSeed" as death_loot_table_seed: i64, "HandDropChances" as hand_drop_chances: Vec<f32>, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save>, optional "Leash" as leash: super::compounds::Compound5, "LeftHanded" as left_handed: bool, optional "NoAI" as no_ai: bool, "PersistenceRequired" as persistence_required: bool }
Monster > PathfinderMob { }
Mule > AbstractChestedHorse { }
MushroomCow > Cow { optional "EffectDuration" as effect_duration: i32, optional "EffectId" as effect_id: i8, "Type" as r#type: CowStr }
Ocelot > Animal { "Trusting" as trusting: bool }
Painting > HangingEntity { "Motive" as motive: CowStr }
Panda > Animal { "HiddenGene" as hidden_gene: CowStr, "MainGene" as main_gene: CowStr }
Parrot > ShoulderRidingEntity { "Variant" as variant: i32 }
PathfinderMob > Mob { }
PatrollingMonster > Monster { "PatrolLeader" as patrol_leader: bool, optional "PatrolTarget" as patrol_target: super::compounds::NbtUtils_writeBlockPos, "Patrolling" as patrolling: bool }
Phantom > FlyingMob { "AX" as ax: i32, "AY" as ay: i32, "AZ" as az: i32, "Size" as size: i32 }
Pig > Animal { "Saddle" as saddle: bool }
Piglin > Monster { optional "CannotHunt" as cannot_hunt: bool, "Inventory" as inventory: Vec<super::compounds::ItemStack_save_2>, optional "IsBaby" as is_baby: bool, optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
Pillager > AbstractIllager { "Inventory" as inventory: Vec<super::compounds::ItemStack_save_2> }
PolarBear > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
PrimedTnt > Entity { "Fuse" as fuse: i16 }
Projectile > Entity { optional "LeftOwner" as left_owner: bool, optional "Owner" as owner: u128 }
Pufferfish > AbstractFish { "PuffState" as puff_state: i32 }
Rabbit > Animal { "MoreCarrotTicks" as more_carrot_ticks: i32, "RabbitType" as rabbit_type: i32 }
Raider > PatrollingMonster { "CanJoinRaid" as can_join_raid: bool, optional "RaidId" as raid_id: i32, "Wave" as wave: i32 }
Ravager > Raider { "AttackTick" as attack_tick: i32, "RoarTick" as roar_tick: i32, "StunTick" as stun_tick: i32 }
Salmon > AbstractSchoolingFish { }
Sheep > Animal { "Color" as color: i8, "Sheared" as sheared: bool }
ShoulderRidingEntity > TamableAnimal { }
Shulker > AbstractGolem { optional "APX" as apx: i32, optional "APY" as apy: i32, optional "APZ" as apz: i32, "AttachFace" as attach_face: i8, "Color" as color: i8, "Peek" as peek: i8 }
ShulkerBullet > Projectile { optional "Dir" as dir: i32, "Steps" as steps: i32, "TXD" as txd: f64, "TYD" as tyd: f64, "TZD" as tzd: f64, optional "Target" as target: u128 }
Silverfish > Monster { }
Skeleton > AbstractSkeleton { }
SkeletonHorse > AbstractHorse { "SkeletonTrap" as skeleton_trap: bool, "SkeletonTrapTime" as skeleton_trap_time: i32 }
Slime > Mob { "Size" as size: i32, "wasOnGround" as was_on_ground: bool }
SmallFireball > Fireball { }
SnowGolem > AbstractGolem { "Pumpkin" as pumpkin: bool }
Snowball > ThrowableItemProjectile { }
SpectralArrow > AbstractArrow { "Duration" as duration: i32 }
SpellcasterIllager > AbstractIllager { "SpellTicks" as spell_ticks: i32 }
Spider > Monster { }
Squid > WaterAnimal { }
Stray > AbstractSkeleton { }
Strider > Animal { "Saddle" as saddle: bool }
TamableAnimal > Animal { optional "Owner" as owner: u128, "Sitting" as sitting: bool }
ThrowableItemProjectile > ThrowableProjectile { optional "Item" as item: super::compounds::ItemStack_save_2 }
ThrowableProjectile > Projectile { }
ThrownEgg > ThrowableItemProjectile { }
ThrownEnderpearl > ThrowableItemProjectile { }
ThrownExperienceBottle > ThrowableItemProjectile { }
ThrownPotion > ThrowableItemProjectile { }
ThrownTrident > AbstractArrow { "DealtDamage" as dealt_damage: bool, "Trident" as trident: super::compounds::ItemStack_save_2 }
TraderLlama > Llama { "DespawnDelay" as despawn_delay: i32 }
TropicalFish > AbstractSchoolingFish { "Variant" as variant: i32 }
Turtle > Animal { "HasEgg" as has_egg: bool, "HomePosX" as home_pos_x: i32, "HomePosY" as home_pos_y: i32, "HomePosZ" as home_pos_z: i32, "TravelPosX" as travel_pos_x: i32, "TravelPosY" as travel_pos_y: i32, "TravelPosZ" as travel_pos_z: i32 }
Vex > Monster { optional "BoundX" as bound_x: i32, optional "BoundY" as bound_y: i32, optional "BoundZ" as bound_z: i32, optional "LifeTicks" as life_ticks: i32 }
Villager > AbstractVillager { optional "AssignProfessionWhenSpawned" as assign_profession_when_spawned: bool, "FoodLevel" as food_level: i8, "Gossips" as gossips: fastnbt::Value, "LastGossipDecay" as last_gossip_decay: i64, "LastRestock" as last_restock: i64, "RestocksToday" as restocks_today: i32, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
Vindicator > AbstractIllager { optional "Johnny" as johnny: bool }
WanderingTrader > AbstractVillager { "DespawnDelay" as despawn_delay: i32, optional "WanderTarget" as wander_target: super::compounds::NbtUtils_writeBlockPos }
WaterAnimal > PathfinderMob { }
Witch > Raider { }
WitherBoss > Monster { "Invul" as invul: i32 }
WitherSkeleton > AbstractSkeleton { }
WitherSkull > AbstractHurtingProjectile { }
Wolf > TamableAnimal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CollarColor" as collar_color: i8 }
Zoglin > Monster { optional "IsBaby" as is_baby: bool }
Zombie > Monster { "CanBreakDoors" as can_break_doors: bool, "DrownedConversionTime" as drowned_conversion_time: i32, "InWaterTime" as in_water_time: i32, optional "IsBaby" as is_baby: bool }
ZombieHorse > AbstractHorse { }
ZombieVillager > Zombie { optional "ConversionPlayer" as conversion_player: u128, "ConversionTime" as conversion_time: i32, optional "Gossips" as gossips: fastnbt::Value, optional "Offers" as offers: HashMap<CowStr, fastnbt::Value>, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
ZombifiedPiglin > Zombie { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
}
entity_compound_types! {
"1.16";
ArmorStand_writePose { optional "Body" as body: Vec<f32>, optional "Head" as head: Vec<f32>, optional "LeftArm" as left_arm: Vec<f32>, optional "LeftLeg" as left_leg: Vec<f32>, optional "RightArm" as right_arm: Vec<f32>, optional "RightLeg" as right_leg: Vec<f32> }
AttributeInstance_save { "Base" as base: f64, optional "Modifiers" as modifiers: Vec<super::compounds::AttributeModifier_save>, "Name" as name: CowStr }
AttributeModifier_save { "Amount" as amount: f64, "Name" as name: CowStr, "Operation" as operation: i32, "UUID" as uuid: u128 }
Compound5 { optional "UUID" as uuid: u128, optional "X" as x: i32, optional "Y" as y: i32, optional "Z" as z: i32 }
ItemStack_save { optional "Count" as count: i8, optional "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_1 { "Count" as count: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_2 { "Count" as count: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
MerchantOffer_createTag { "buy" as buy: super::compounds::ItemStack_save_2, "buyB" as buy_b: super::compounds::ItemStack_save_2, "demand" as demand: i32, "maxUses" as max_uses: i32, "priceMultiplier" as price_multiplier: f32, "rewardExp" as reward_exp: bool, "sell" as sell: super::compounds::ItemStack_save_2, "specialPrice" as special_price: i32, "uses" as uses: i32, "xp" as xp: i32 }
MerchantOffers_createTag { "Recipes" as recipes: Vec<super::compounds::MerchantOffer_createTag> }
MobEffectInstance_save { "Ambient" as ambient: bool, "Amplifier" as amplifier: i8, "Duration" as duration: i32, optional "HiddenEffect" as hidden_effect: Box<super::compounds::MobEffectInstance_save>, "Id" as id: i8, "ShowIcon" as show_icon: bool, "ShowParticles" as show_particles: bool }
NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
SpawnData_save { "Entity" as entity: HashMap<CowStr, fastnbt::Value>, "Weight" as weight: i32 }
}
}
/// Accompanying types for entities in Minecraft 1.16.2.
#[cfg(feature = "1.16.2")]
pub mod mc1_16_2 {
entities! {
"1.16.2", mc1_16_2;
"minecraft:area_effect_cloud", AreaEffectCloud: AreaEffectCloud;
"minecraft:armor_stand", ArmorStand: ArmorStand;
"minecraft:arrow", Arrow: Arrow;
"minecraft:bat", Bat: Bat;
"minecraft:bee", Bee: Bee;
"minecraft:blaze", Blaze: Blaze;
"minecraft:boat", Boat: Boat;
"minecraft:cat", Cat: Cat;
"minecraft:cave_spider", CaveSpider: CaveSpider;
"minecraft:chest_minecart", ChestMinecart: MinecartChest;
"minecraft:chicken", Chicken: Chicken;
"minecraft:cod", Cod: Cod;
"minecraft:command_block_minecart", CommandBlockMinecart: MinecartCommandBlock;
"minecraft:cow", Cow: Cow;
"minecraft:creeper", Creeper: Creeper;
"minecraft:dolphin", Dolphin: Dolphin;
"minecraft:donkey", Donkey: Donkey;
"minecraft:dragon_fireball", DragonFireball: DragonFireball;
"minecraft:drowned", Drowned: Drowned;
"minecraft:egg", Egg: ThrownEgg;
"minecraft:elder_guardian", ElderGuardian: ElderGuardian;
"minecraft:end_crystal", EndCrystal: EndCrystal;
"minecraft:ender_dragon", EnderDragon: EnderDragon;
"minecraft:ender_pearl", EnderPearl: ThrownEnderpearl;
"minecraft:enderman", Enderman: EnderMan;
"minecraft:endermite", Endermite: Endermite;
"minecraft:evoker", Evoker: Evoker;
"minecraft:evoker_fangs", EvokerFangs: EvokerFangs;
"minecraft:experience_bottle", ExperienceBottle: ThrownExperienceBottle;
"minecraft:experience_orb", ExperienceOrb: ExperienceOrb;
"minecraft:eye_of_ender", EyeOfEnder: EyeOfEnder;
"minecraft:falling_block", FallingBlock: FallingBlockEntity;
"minecraft:fireball", Fireball: LargeFireball;
"minecraft:firework_rocket", FireworkRocket: FireworkRocketEntity;
"minecraft:fishing_bobber", FishingBobber: FishingHook;
"minecraft:fox", Fox: Fox;
"minecraft:furnace_minecart", FurnaceMinecart: MinecartFurnace;
"minecraft:ghast", Ghast: Ghast;
"minecraft:giant", Giant: Giant;
"minecraft:guardian", Guardian: Guardian;
"minecraft:hoglin", Hoglin: Hoglin;
"minecraft:hopper_minecart", HopperMinecart: MinecartHopper;
"minecraft:horse", Horse: Horse;
"minecraft:husk", Husk: Husk;
"minecraft:illusioner", Illusioner: Illusioner;
"minecraft:iron_golem", IronGolem: IronGolem;
"minecraft:item", Item: ItemEntity;
"minecraft:item_frame", ItemFrame: ItemFrame;
"minecraft:leash_knot", LeashKnot: LeashFenceKnotEntity;
"minecraft:lightning_bolt", LightningBolt: LightningBolt;
"minecraft:llama", Llama: Llama;
"minecraft:llama_spit", LlamaSpit: LlamaSpit;
"minecraft:magma_cube", MagmaCube: MagmaCube;
"minecraft:minecart", Minecart: Minecart;
"minecraft:mooshroom", Mooshroom: MushroomCow;
"minecraft:mule", Mule: Mule;
"minecraft:ocelot", Ocelot: Ocelot;
"minecraft:painting", Painting: Painting;
"minecraft:panda", Panda: Panda;
"minecraft:parrot", Parrot: Parrot;
"minecraft:phantom", Phantom: Phantom;
"minecraft:pig", Pig: Pig;
"minecraft:piglin", Piglin: Piglin;
"minecraft:piglin_brute", PiglinBrute: PiglinBrute;
"minecraft:pillager", Pillager: Pillager;
"minecraft:polar_bear", PolarBear: PolarBear;
"minecraft:potion", Potion: ThrownPotion;
"minecraft:pufferfish", Pufferfish: Pufferfish;
"minecraft:rabbit", Rabbit: Rabbit;
"minecraft:ravager", Ravager: Ravager;
"minecraft:salmon", Salmon: Salmon;
"minecraft:sheep", Sheep: Sheep;
"minecraft:shulker", Shulker: Shulker;
"minecraft:shulker_bullet", ShulkerBullet: ShulkerBullet;
"minecraft:silverfish", Silverfish: Silverfish;
"minecraft:skeleton", Skeleton: Skeleton;
"minecraft:skeleton_horse", SkeletonHorse: SkeletonHorse;
"minecraft:slime", Slime: Slime;
"minecraft:small_fireball", SmallFireball: SmallFireball;
"minecraft:snow_golem", SnowGolem: SnowGolem;
"minecraft:snowball", Snowball: Snowball;
"minecraft:spawner_minecart", SpawnerMinecart: MinecartSpawner;
"minecraft:spectral_arrow", SpectralArrow: SpectralArrow;
"minecraft:spider", Spider: Spider;
"minecraft:squid", Squid: Squid;
"minecraft:stray", Stray: Stray;
"minecraft:strider", Strider: Strider;
"minecraft:tnt", Tnt: PrimedTnt;
"minecraft:tnt_minecart", TntMinecart: MinecartTNT;
"minecraft:trader_llama", TraderLlama: TraderLlama;
"minecraft:trident", Trident: ThrownTrident;
"minecraft:tropical_fish", TropicalFish: TropicalFish;
"minecraft:turtle", Turtle: Turtle;
"minecraft:vex", Vex: Vex;
"minecraft:villager", Villager: Villager;
"minecraft:vindicator", Vindicator: Vindicator;
"minecraft:wandering_trader", WanderingTrader: WanderingTrader;
"minecraft:witch", Witch: Witch;
"minecraft:wither", Wither: WitherBoss;
"minecraft:wither_skeleton", WitherSkeleton: WitherSkeleton;
"minecraft:wither_skull", WitherSkull: WitherSkull;
"minecraft:wolf", Wolf: Wolf;
"minecraft:zoglin", Zoglin: Zoglin;
"minecraft:zombie", Zombie: Zombie;
"minecraft:zombie_horse", ZombieHorse: ZombieHorse;
"minecraft:zombie_villager", ZombieVillager: ZombieVillager;
"minecraft:zombified_piglin", ZombifiedPiglin: ZombifiedPiglin;
}
entity_types! {
"1.16.2";
AbstractArrow > Projectile { "PierceLevel" as pierce_level: i8, "ShotFromCrossbow" as shot_from_crossbow: bool, "SoundEvent" as sound_event: CowStr, "crit" as crit: bool, "damage" as damage: f64, optional "inBlockState" as in_block_state: super::BlockState, "inGround" as in_ground: bool, "life" as life: i16, "pickup" as pickup: i8, "shake" as shake: i8 }
AbstractChestedHorse > AbstractHorse { "ChestedHorse" as chested_horse: bool, optional "Items" as items: Vec<super::compounds::ItemStack_save_1> }
AbstractFish > WaterAnimal { "FromBucket" as from_bucket: bool }
AbstractGolem > PathfinderMob { }
AbstractHorse > Animal { "Bred" as bred: bool, "EatingHaystack" as eating_haystack: bool, optional "Owner" as owner: u128, optional "SaddleItem" as saddle_item: super::compounds::ItemStack_save_2, "Tame" as tame: bool, "Temper" as temper: i32 }
AbstractHurtingProjectile > Projectile { "power" as power: Vec<f64> }
AbstractIllager > Raider { }
AbstractMinecart > Entity { optional "CustomDisplayTile" as custom_display_tile: bool, optional "DisplayOffset" as display_offset: i32, optional "DisplayState" as display_state: super::BlockState }
AbstractMinecartContainer > AbstractMinecart { optional "Items" as items: Vec<super::compounds::ItemStack_save_1>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
AbstractPiglin > Monster { optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
AbstractSchoolingFish > AbstractFish { }
AbstractSkeleton > Monster { }
AbstractVillager > AgableMob { "Inventory" as inventory: Vec<super::compounds::ItemStack_save_2>, optional "Offers" as offers: super::compounds::MerchantOffers_createTag }
AgableMob > PathfinderMob { "Age" as age: i32, "ForcedAge" as forced_age: i32 }
AmbientCreature > Mob { }
Animal > AgableMob { "InLove" as in_love: i32, optional "LoveCause" as love_cause: u128 }
AreaEffectCloud > Entity { "Age" as age: i32, optional "Color" as color: i32, "Duration" as duration: i32, "DurationOnUse" as duration_on_use: i32, optional "Effects" as effects: Vec<super::compounds::MobEffectInstance_save>, optional "Owner" as owner: u128, "Particle" as particle: CowStr, optional "Potion" as potion: CowStr, "Radius" as radius: f32, "RadiusOnUse" as radius_on_use: f32, "RadiusPerTick" as radius_per_tick: f32, "ReapplicationDelay" as reapplication_delay: i32, "WaitTime" as wait_time: i32 }
ArmorStand > LivingEntity { "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save>, "DisabledSlots" as disabled_slots: i32, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save>, "Invisible" as invisible: bool, optional "Marker" as marker: bool, "NoBasePlate" as no_base_plate: bool, "Pose" as pose: super::compounds::ArmorStand_writePose, "ShowArms" as show_arms: bool, "Small" as small: bool }
Arrow > AbstractArrow { optional "Color" as color: i32, optional "CustomPotionEffects" as custom_potion_effects: Vec<super::compounds::MobEffectInstance_save>, optional "Potion" as potion: CowStr }
Bat > AmbientCreature { "BatFlags" as bat_flags: i8 }
Bee > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CannotEnterHiveTicks" as cannot_enter_hive_ticks: i32, "CropsGrownSincePollination" as crops_grown_since_pollination: i32, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos, "HasNectar" as has_nectar: bool, "HasStung" as has_stung: bool, optional "HivePos" as hive_pos: super::compounds::NbtUtils_writeBlockPos, "TicksSincePollination" as ticks_since_pollination: i32 }
Blaze > Monster { }
Boat > Entity { "Type" as r#type: CowStr }
Cat > TamableAnimal { "CatType" as cat_type: i32, "CollarColor" as collar_color: i8 }
CaveSpider > Spider { }
Chicken > Animal { "EggLayTime" as egg_lay_time: i32, "IsChickenJockey" as is_chicken_jockey: bool }
Cod > AbstractSchoolingFish { }
Cow > Animal { }
Creeper > Monster { "ExplosionRadius" as explosion_radius: i8, "Fuse" as fuse: i16, "ignited" as ignited: bool, optional "powered" as powered: bool }
Dolphin > WaterAnimal { "GotFish" as got_fish: bool, "Moistness" as moistness: i32, "TreasurePosX" as treasure_pos_x: i32, "TreasurePosY" as treasure_pos_y: i32, "TreasurePosZ" as treasure_pos_z: i32 }
Donkey > AbstractChestedHorse { }
DragonFireball > AbstractHurtingProjectile { }
Drowned > Zombie { }
ElderGuardian > Guardian { }
EndCrystal > Entity { optional "BeamTarget" as beam_target: super::compounds::NbtUtils_writeBlockPos, "ShowBottom" as show_bottom: bool }
EnderDragon > Mob { "DragonPhase" as dragon_phase: i32 }
EnderMan > Monster { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, optional "carriedBlockState" as carried_block_state: super::BlockState }
Endermite > Monster { "Lifetime" as lifetime: i32, "PlayerSpawned" as player_spawned: bool }
Entity { "Air" as air: i16, optional "CustomName" as custom_name: CowStr, optional "CustomNameVisible" as custom_name_visible: bool, "FallDistance" as fall_distance: f32, "Fire" as fire: i16, optional "Glowing" as glowing: bool, "Invulnerable" as invulnerable: bool, "Motion" as motion: Vec<f64>, optional "NoGravity" as no_gravity: bool, "OnGround" as on_ground: bool, optional "Passengers" as passengers: Vec<Box<super::Entity>>, "PortalCooldown" as portal_cooldown: i32, optional "Pos" as pos: Vec<f64>, "Rotation" as rotation: Vec<f32>, optional "Silent" as silent: bool, optional "Tags" as tags: Vec<CowStr>, "UUID" as uuid: u128 }
Evoker > SpellcasterIllager { }
EvokerFangs > Entity { optional "Owner" as owner: u128, "Warmup" as warmup: i32 }
ExperienceOrb > Entity { "Age" as age: i16, "Health" as health: i16, "Value" as value: i16 }
EyeOfEnder > Entity { optional "Item" as item: super::compounds::ItemStack_save_2 }
FallingBlockEntity > Entity { "BlockState" as block_state: super::BlockState, "DropItem" as drop_item: bool, "FallHurtAmount" as fall_hurt_amount: f32, "FallHurtMax" as fall_hurt_max: i32, "HurtEntities" as hurt_entities: bool, optional "TileEntityData" as tile_entity_data: HashMap<CowStr, fastnbt::Value>, "Time" as time: i32 }
Fireball > AbstractHurtingProjectile { optional "Item" as item: super::compounds::ItemStack_save_2 }
FireworkRocketEntity > Projectile { optional "FireworksItem" as fireworks_item: super::compounds::ItemStack_save_2, "Life" as life: i32, "LifeTime" as life_time: i32, "ShotAtAngle" as shot_at_angle: bool }
FishingHook > Projectile { }
FlyingMob > Mob { }
Fox > Animal { "Crouching" as crouching: bool, "Sitting" as sitting: bool, "Sleeping" as sleeping: bool, "Trusted" as trusted: Vec<fastnbt::IntArray>, "Type" as r#type: CowStr }
Ghast > FlyingMob { "ExplosionPower" as explosion_power: i32 }
Giant > Monster { }
Guardian > Monster { }
HangingEntity > Entity { "TileX" as tile_x: i32, "TileY" as tile_y: i32, "TileZ" as tile_z: i32 }
Hoglin > Animal { optional "CannotBeHunted" as cannot_be_hunted: bool, optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
Horse > AbstractHorse { optional "ArmorItem" as armor_item: super::compounds::ItemStack_save_2, "Variant" as variant: i32 }
Husk > Zombie { }
Illusioner > SpellcasterIllager { }
IronGolem > AbstractGolem { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "PlayerCreated" as player_created: bool }
ItemEntity > Entity { "Age" as age: i16, "Health" as health: i16, optional "Item" as item: super::compounds::ItemStack_save_2, optional "Owner" as owner: u128, "PickupDelay" as pickup_delay: i16, optional "Thrower" as thrower: u128 }
ItemFrame > HangingEntity { "Facing" as facing: i8, "Fixed" as fixed: bool, "Invisible" as invisible: bool, optional "Item" as item: super::compounds::ItemStack_save_2, optional "ItemDropChance" as item_drop_chance: f32, optional "ItemRotation" as item_rotation: i8 }
LargeFireball > Fireball { "ExplosionPower" as explosion_power: i32 }
LeashFenceKnotEntity > HangingEntity { }
LightningBolt > Entity { }
LivingEntity > Entity { "AbsorptionAmount" as absorption_amount: f32, optional "ActiveEffects" as active_effects: Vec<super::compounds::MobEffectInstance_save>, "Attributes" as attributes: Vec<super::compounds::AttributeInstance_save>, optional "Brain" as brain: fastnbt::Value, "DeathTime" as death_time: i16, "FallFlying" as fall_flying: bool, "Health" as health: f32, "HurtByTimestamp" as hurt_by_timestamp: i32, "HurtTime" as hurt_time: i16, optional "SleepingX" as sleeping_x: i32, optional "SleepingY" as sleeping_y: i32, optional "SleepingZ" as sleeping_z: i32 }
Llama > AbstractChestedHorse { optional "DecorItem" as decor_item: super::compounds::ItemStack_save_2, "Strength" as strength: i32, "Variant" as variant: i32 }
LlamaSpit > Projectile { }
MagmaCube > Slime { }
Minecart > AbstractMinecart { }
MinecartChest > AbstractMinecartContainer { }
MinecartCommandBlock > AbstractMinecart { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool }
MinecartFurnace > AbstractMinecart { "Fuel" as fuel: i16, "PushX" as push_x: f64, "PushZ" as push_z: f64 }
MinecartHopper > AbstractMinecartContainer { "Enabled" as enabled: bool, "TransferCooldown" as transfer_cooldown: i32 }
MinecartSpawner > AbstractMinecart { optional "Delay" as delay: i16, optional "MaxNearbyEntities" as max_nearby_entities: i16, optional "MaxSpawnDelay" as max_spawn_delay: i16, optional "MinSpawnDelay" as min_spawn_delay: i16, optional "RequiredPlayerRange" as required_player_range: i16, optional "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: HashMap<CowStr, fastnbt::Value>, optional "SpawnPotentials" as spawn_potentials: Vec<super::compounds::SpawnData_save>, optional "SpawnRange" as spawn_range: i16 }
MinecartTNT > AbstractMinecart { "TNTFuse" as tnt_fuse: i32 }
Mob > LivingEntity { "ArmorDropChances" as armor_drop_chances: Vec<f32>, "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save>, "CanPickUpLoot" as can_pick_up_loot: bool, optional "DeathLootTable" as death_loot_table: CowStr, optional "DeathLootTableSeed" as death_loot_table_seed: i64, "HandDropChances" as hand_drop_chances: Vec<f32>, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save>, optional "Leash" as leash: super::compounds::Compound5, "LeftHanded" as left_handed: bool, optional "NoAI" as no_ai: bool, "PersistenceRequired" as persistence_required: bool }
Monster > PathfinderMob { }
Mule > AbstractChestedHorse { }
MushroomCow > Cow { optional "EffectDuration" as effect_duration: i32, optional "EffectId" as effect_id: i8, "Type" as r#type: CowStr }
Ocelot > Animal { "Trusting" as trusting: bool }
Painting > HangingEntity { "Facing" as facing: i8, "Motive" as motive: CowStr }
Panda > Animal { "HiddenGene" as hidden_gene: CowStr, "MainGene" as main_gene: CowStr }
Parrot > ShoulderRidingEntity { "Variant" as variant: i32 }
PathfinderMob > Mob { }
PatrollingMonster > Monster { "PatrolLeader" as patrol_leader: bool, optional "PatrolTarget" as patrol_target: super::compounds::NbtUtils_writeBlockPos, "Patrolling" as patrolling: bool }
Phantom > FlyingMob { "AX" as ax: i32, "AY" as ay: i32, "AZ" as az: i32, "Size" as size: i32 }
Pig > Animal { "Saddle" as saddle: bool }
Piglin > AbstractPiglin { optional "CannotHunt" as cannot_hunt: bool, "Inventory" as inventory: Vec<super::compounds::ItemStack_save_2>, optional "IsBaby" as is_baby: bool }
PiglinBrute > AbstractPiglin { }
Pillager > AbstractIllager { "Inventory" as inventory: Vec<super::compounds::ItemStack_save_2> }
PolarBear > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
PrimedTnt > Entity { "Fuse" as fuse: i16 }
Projectile > Entity { optional "LeftOwner" as left_owner: bool, optional "Owner" as owner: u128 }
Pufferfish > AbstractFish { "PuffState" as puff_state: i32 }
Rabbit > Animal { "MoreCarrotTicks" as more_carrot_ticks: i32, "RabbitType" as rabbit_type: i32 }
Raider > PatrollingMonster { "CanJoinRaid" as can_join_raid: bool, optional "RaidId" as raid_id: i32, "Wave" as wave: i32 }
Ravager > Raider { "AttackTick" as attack_tick: i32, "RoarTick" as roar_tick: i32, "StunTick" as stun_tick: i32 }
Salmon > AbstractSchoolingFish { }
Sheep > Animal { "Color" as color: i8, "Sheared" as sheared: bool }
ShoulderRidingEntity > TamableAnimal { }
Shulker > AbstractGolem { optional "APX" as apx: i32, optional "APY" as apy: i32, optional "APZ" as apz: i32, "AttachFace" as attach_face: i8, "Color" as color: i8, "Peek" as peek: i8 }
ShulkerBullet > Projectile { optional "Dir" as dir: i32, "Steps" as steps: i32, "TXD" as txd: f64, "TYD" as tyd: f64, "TZD" as tzd: f64, optional "Target" as target: u128 }
Silverfish > Monster { }
Skeleton > AbstractSkeleton { }
SkeletonHorse > AbstractHorse { "SkeletonTrap" as skeleton_trap: bool, "SkeletonTrapTime" as skeleton_trap_time: i32 }
Slime > Mob { "Size" as size: i32, "wasOnGround" as was_on_ground: bool }
SmallFireball > Fireball { }
SnowGolem > AbstractGolem { "Pumpkin" as pumpkin: bool }
Snowball > ThrowableItemProjectile { }
SpectralArrow > AbstractArrow { "Duration" as duration: i32 }
SpellcasterIllager > AbstractIllager { "SpellTicks" as spell_ticks: i32 }
Spider > Monster { }
Squid > WaterAnimal { }
Stray > AbstractSkeleton { }
Strider > Animal { "Saddle" as saddle: bool }
TamableAnimal > Animal { optional "Owner" as owner: u128, "Sitting" as sitting: bool }
ThrowableItemProjectile > ThrowableProjectile { optional "Item" as item: super::compounds::ItemStack_save_2 }
ThrowableProjectile > Projectile { }
ThrownEgg > ThrowableItemProjectile { }
ThrownEnderpearl > ThrowableItemProjectile { }
ThrownExperienceBottle > ThrowableItemProjectile { }
ThrownPotion > ThrowableItemProjectile { }
ThrownTrident > AbstractArrow { "DealtDamage" as dealt_damage: bool, "Trident" as trident: super::compounds::ItemStack_save_2 }
TraderLlama > Llama { "DespawnDelay" as despawn_delay: i32 }
TropicalFish > AbstractSchoolingFish { "Variant" as variant: i32 }
Turtle > Animal { "HasEgg" as has_egg: bool, "HomePosX" as home_pos_x: i32, "HomePosY" as home_pos_y: i32, "HomePosZ" as home_pos_z: i32, "TravelPosX" as travel_pos_x: i32, "TravelPosY" as travel_pos_y: i32, "TravelPosZ" as travel_pos_z: i32 }
Vex > Monster { optional "BoundX" as bound_x: i32, optional "BoundY" as bound_y: i32, optional "BoundZ" as bound_z: i32, optional "LifeTicks" as life_ticks: i32 }
Villager > AbstractVillager { optional "AssignProfessionWhenSpawned" as assign_profession_when_spawned: bool, "FoodLevel" as food_level: i8, "Gossips" as gossips: fastnbt::Value, "LastGossipDecay" as last_gossip_decay: i64, "LastRestock" as last_restock: i64, "RestocksToday" as restocks_today: i32, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
Vindicator > AbstractIllager { optional "Johnny" as johnny: bool }
WanderingTrader > AbstractVillager { "DespawnDelay" as despawn_delay: i32, optional "WanderTarget" as wander_target: super::compounds::NbtUtils_writeBlockPos }
WaterAnimal > PathfinderMob { }
Witch > Raider { }
WitherBoss > Monster { "Invul" as invul: i32 }
WitherSkeleton > AbstractSkeleton { }
WitherSkull > AbstractHurtingProjectile { }
Wolf > TamableAnimal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CollarColor" as collar_color: i8 }
Zoglin > Monster { optional "IsBaby" as is_baby: bool }
Zombie > Monster { "CanBreakDoors" as can_break_doors: bool, "DrownedConversionTime" as drowned_conversion_time: i32, "InWaterTime" as in_water_time: i32, "IsBaby" as is_baby: bool }
ZombieHorse > AbstractHorse { }
ZombieVillager > Zombie { optional "ConversionPlayer" as conversion_player: u128, "ConversionTime" as conversion_time: i32, optional "Gossips" as gossips: fastnbt::Value, optional "Offers" as offers: HashMap<CowStr, fastnbt::Value>, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
ZombifiedPiglin > Zombie { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
}
entity_compound_types! {
"1.16.2";
ArmorStand_writePose { optional "Body" as body: Vec<f32>, optional "Head" as head: Vec<f32>, optional "LeftArm" as left_arm: Vec<f32>, optional "LeftLeg" as left_leg: Vec<f32>, optional "RightArm" as right_arm: Vec<f32>, optional "RightLeg" as right_leg: Vec<f32> }
AttributeInstance_save { "Base" as base: f64, optional "Modifiers" as modifiers: Vec<super::compounds::AttributeModifier_save>, "Name" as name: CowStr }
AttributeModifier_save { "Amount" as amount: f64, "Name" as name: CowStr, "Operation" as operation: i32, "UUID" as uuid: u128 }
Compound5 { optional "UUID" as uuid: u128, optional "X" as x: i32, optional "Y" as y: i32, optional "Z" as z: i32 }
ItemStack_save { optional "Count" as count: i8, optional "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_1 { "Count" as count: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_2 { "Count" as count: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
MerchantOffer_createTag { "buy" as buy: super::compounds::ItemStack_save_2, "buyB" as buy_b: super::compounds::ItemStack_save_2, "demand" as demand: i32, "maxUses" as max_uses: i32, "priceMultiplier" as price_multiplier: f32, "rewardExp" as reward_exp: bool, "sell" as sell: super::compounds::ItemStack_save_2, "specialPrice" as special_price: i32, "uses" as uses: i32, "xp" as xp: i32 }
MerchantOffers_createTag { "Recipes" as recipes: Vec<super::compounds::MerchantOffer_createTag> }
MobEffectInstance_save { "Ambient" as ambient: bool, "Amplifier" as amplifier: i8, "Duration" as duration: i32, optional "HiddenEffect" as hidden_effect: Box<super::compounds::MobEffectInstance_save>, "Id" as id: i8, "ShowIcon" as show_icon: bool, "ShowParticles" as show_particles: bool }
NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
SpawnData_save { "Entity" as entity: HashMap<CowStr, fastnbt::Value>, "Weight" as weight: i32 }
}
}
/// Accompanying types for entities in Minecraft 1.17.
#[cfg(feature = "1.17")]
pub mod mc1_17 {
entities! {
"1.17", mc1_17;
"minecraft:area_effect_cloud", AreaEffectCloud: AreaEffectCloud;
"minecraft:armor_stand", ArmorStand: ArmorStand;
"minecraft:arrow", Arrow: Arrow;
"minecraft:axolotl", Axolotl: Axolotl;
"minecraft:bat", Bat: Bat;
"minecraft:bee", Bee: Bee;
"minecraft:blaze", Blaze: Blaze;
"minecraft:boat", Boat: Boat;
"minecraft:cat", Cat: Cat;
"minecraft:cave_spider", CaveSpider: CaveSpider;
"minecraft:chest_minecart", ChestMinecart: MinecartChest;
"minecraft:chicken", Chicken: Chicken;
"minecraft:cod", Cod: Cod;
"minecraft:command_block_minecart", CommandBlockMinecart: MinecartCommandBlock;
"minecraft:cow", Cow: Cow;
"minecraft:creeper", Creeper: Creeper;
"minecraft:dolphin", Dolphin: Dolphin;
"minecraft:donkey", Donkey: Donkey;
"minecraft:dragon_fireball", DragonFireball: DragonFireball;
"minecraft:drowned", Drowned: Drowned;
"minecraft:egg", Egg: ThrownEgg;
"minecraft:elder_guardian", ElderGuardian: ElderGuardian;
"minecraft:end_crystal", EndCrystal: EndCrystal;
"minecraft:ender_dragon", EnderDragon: EnderDragon;
"minecraft:ender_pearl", EnderPearl: ThrownEnderpearl;
"minecraft:enderman", Enderman: EnderMan;
"minecraft:endermite", Endermite: Endermite;
"minecraft:evoker", Evoker: Evoker;
"minecraft:evoker_fangs", EvokerFangs: EvokerFangs;
"minecraft:experience_bottle", ExperienceBottle: ThrownExperienceBottle;
"minecraft:experience_orb", ExperienceOrb: ExperienceOrb;
"minecraft:eye_of_ender", EyeOfEnder: EyeOfEnder;
"minecraft:falling_block", FallingBlock: FallingBlockEntity;
"minecraft:fireball", Fireball: LargeFireball;
"minecraft:firework_rocket", FireworkRocket: FireworkRocketEntity;
"minecraft:fishing_bobber", FishingBobber: FishingHook;
"minecraft:fox", Fox: Fox;
"minecraft:furnace_minecart", FurnaceMinecart: MinecartFurnace;
"minecraft:ghast", Ghast: Ghast;
"minecraft:giant", Giant: Giant;
"minecraft:glow_item_frame", GlowItemFrame: GlowItemFrame;
"minecraft:glow_squid", GlowSquid: GlowSquid;
"minecraft:goat", Goat: Goat;
"minecraft:guardian", Guardian: Guardian;
"minecraft:hoglin", Hoglin: Hoglin;
"minecraft:hopper_minecart", HopperMinecart: MinecartHopper;
"minecraft:horse", Horse: Horse;
"minecraft:husk", Husk: Husk;
"minecraft:illusioner", Illusioner: Illusioner;
"minecraft:iron_golem", IronGolem: IronGolem;
"minecraft:item", Item: ItemEntity;
"minecraft:item_frame", ItemFrame: ItemFrame;
"minecraft:leash_knot", LeashKnot: LeashFenceKnotEntity;
"minecraft:lightning_bolt", LightningBolt: LightningBolt;
"minecraft:llama", Llama: Llama;
"minecraft:llama_spit", LlamaSpit: LlamaSpit;
"minecraft:magma_cube", MagmaCube: MagmaCube;
"minecraft:marker", Marker: Marker;
"minecraft:minecart", Minecart: Minecart;
"minecraft:mooshroom", Mooshroom: MushroomCow;
"minecraft:mule", Mule: Mule;
"minecraft:ocelot", Ocelot: Ocelot;
"minecraft:painting", Painting: Painting;
"minecraft:panda", Panda: Panda;
"minecraft:parrot", Parrot: Parrot;
"minecraft:phantom", Phantom: Phantom;
"minecraft:pig", Pig: Pig;
"minecraft:piglin", Piglin: Piglin;
"minecraft:piglin_brute", PiglinBrute: PiglinBrute;
"minecraft:pillager", Pillager: Pillager;
"minecraft:polar_bear", PolarBear: PolarBear;
"minecraft:potion", Potion: ThrownPotion;
"minecraft:pufferfish", Pufferfish: Pufferfish;
"minecraft:rabbit", Rabbit: Rabbit;
"minecraft:ravager", Ravager: Ravager;
"minecraft:salmon", Salmon: Salmon;
"minecraft:sheep", Sheep: Sheep;
"minecraft:shulker", Shulker: Shulker;
"minecraft:shulker_bullet", ShulkerBullet: ShulkerBullet;
"minecraft:silverfish", Silverfish: Silverfish;
"minecraft:skeleton", Skeleton: Skeleton;
"minecraft:skeleton_horse", SkeletonHorse: SkeletonHorse;
"minecraft:slime", Slime: Slime;
"minecraft:small_fireball", SmallFireball: SmallFireball;
"minecraft:snow_golem", SnowGolem: SnowGolem;
"minecraft:snowball", Snowball: Snowball;
"minecraft:spawner_minecart", SpawnerMinecart: MinecartSpawner;
"minecraft:spectral_arrow", SpectralArrow: SpectralArrow;
"minecraft:spider", Spider: Spider;
"minecraft:squid", Squid: Squid;
"minecraft:stray", Stray: Stray;
"minecraft:strider", Strider: Strider;
"minecraft:tnt", Tnt: PrimedTnt;
"minecraft:tnt_minecart", TntMinecart: MinecartTNT;
"minecraft:trader_llama", TraderLlama: TraderLlama;
"minecraft:trident", Trident: ThrownTrident;
"minecraft:tropical_fish", TropicalFish: TropicalFish;
"minecraft:turtle", Turtle: Turtle;
"minecraft:vex", Vex: Vex;
"minecraft:villager", Villager: Villager;
"minecraft:vindicator", Vindicator: Vindicator;
"minecraft:wandering_trader", WanderingTrader: WanderingTrader;
"minecraft:witch", Witch: Witch;
"minecraft:wither", Wither: WitherBoss;
"minecraft:wither_skeleton", WitherSkeleton: WitherSkeleton;
"minecraft:wither_skull", WitherSkull: WitherSkull;
"minecraft:wolf", Wolf: Wolf;
"minecraft:zoglin", Zoglin: Zoglin;
"minecraft:zombie", Zombie: Zombie;
"minecraft:zombie_horse", ZombieHorse: ZombieHorse;
"minecraft:zombie_villager", ZombieVillager: ZombieVillager;
"minecraft:zombified_piglin", ZombifiedPiglin: ZombifiedPiglin;
}
entity_types! {
"1.17";
AbstractArrow > Projectile { "PierceLevel" as pierce_level: i8, "ShotFromCrossbow" as shot_from_crossbow: bool, "SoundEvent" as sound_event: CowStr, "crit" as crit: bool, "damage" as damage: f64, optional "inBlockState" as in_block_state: super::BlockState, "inGround" as in_ground: bool, "life" as life: i16, "pickup" as pickup: i8, "shake" as shake: i8 }
AbstractChestedHorse > AbstractHorse { "ChestedHorse" as chested_horse: bool, optional "Items" as items: Vec<super::compounds::ItemStack_save_1> }
AbstractFish > WaterAnimal { "FromBucket" as from_bucket: bool }
AbstractGolem > PathfinderMob { }
AbstractHorse > Animal { "Bred" as bred: bool, "EatingHaystack" as eating_haystack: bool, optional "Owner" as owner: u128, optional "SaddleItem" as saddle_item: super::compounds::ItemStack_save_2, "Tame" as tame: bool, "Temper" as temper: i32 }
AbstractHurtingProjectile > Projectile { "power" as power: Vec<f64> }
AbstractIllager > Raider { }
AbstractMinecart > Entity { optional "CustomDisplayTile" as custom_display_tile: bool, optional "DisplayOffset" as display_offset: i32, optional "DisplayState" as display_state: super::BlockState }
AbstractMinecartContainer > AbstractMinecart { optional "Items" as items: Vec<super::compounds::ItemStack_save_1>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
AbstractPiglin > Monster { optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
AbstractSchoolingFish > AbstractFish { }
AbstractSkeleton > Monster { }
AbstractVillager > AgeableMob { "Inventory" as inventory: Vec<super::compounds::ItemStack_save_2>, optional "Offers" as offers: super::compounds::MerchantOffers_createTag }
AgeableMob > PathfinderMob { "Age" as age: i32, "ForcedAge" as forced_age: i32 }
AmbientCreature > Mob { }
Animal > AgeableMob { "InLove" as in_love: i32, optional "LoveCause" as love_cause: u128 }
AreaEffectCloud > Entity { "Age" as age: i32, optional "Color" as color: i32, "Duration" as duration: i32, "DurationOnUse" as duration_on_use: i32, optional "Effects" as effects: Vec<super::compounds::MobEffectInstance_save>, optional "Owner" as owner: u128, "Particle" as particle: CowStr, optional "Potion" as potion: CowStr, "Radius" as radius: f32, "RadiusOnUse" as radius_on_use: f32, "RadiusPerTick" as radius_per_tick: f32, "ReapplicationDelay" as reapplication_delay: i32, "WaitTime" as wait_time: i32 }
ArmorStand > LivingEntity { "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save>, "DisabledSlots" as disabled_slots: i32, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save>, "Invisible" as invisible: bool, optional "Marker" as marker: bool, "NoBasePlate" as no_base_plate: bool, "Pose" as pose: super::compounds::ArmorStand_writePose, "ShowArms" as show_arms: bool, "Small" as small: bool }
Arrow > AbstractArrow { optional "Color" as color: i32, optional "CustomPotionEffects" as custom_potion_effects: Vec<super::compounds::MobEffectInstance_save>, optional "Potion" as potion: CowStr }
Axolotl > Animal { "FromBucket" as from_bucket: bool, "Variant" as variant: i32 }
Bat > AmbientCreature { "BatFlags" as bat_flags: i8 }
Bee > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CannotEnterHiveTicks" as cannot_enter_hive_ticks: i32, "CropsGrownSincePollination" as crops_grown_since_pollination: i32, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos, "HasNectar" as has_nectar: bool, "HasStung" as has_stung: bool, optional "HivePos" as hive_pos: super::compounds::NbtUtils_writeBlockPos, "TicksSincePollination" as ticks_since_pollination: i32 }
Blaze > Monster { }
Boat > Entity { "Type" as r#type: CowStr }
Cat > TamableAnimal { "CatType" as cat_type: i32, "CollarColor" as collar_color: i8 }
CaveSpider > Spider { }
Chicken > Animal { "EggLayTime" as egg_lay_time: i32, "IsChickenJockey" as is_chicken_jockey: bool }
Cod > AbstractSchoolingFish { }
Cow > Animal { }
Creeper > Monster { "ExplosionRadius" as explosion_radius: i8, "Fuse" as fuse: i16, "ignited" as ignited: bool, optional "powered" as powered: bool }
Dolphin > WaterAnimal { "GotFish" as got_fish: bool, "Moistness" as moistness: i32, "TreasurePosX" as treasure_pos_x: i32, "TreasurePosY" as treasure_pos_y: i32, "TreasurePosZ" as treasure_pos_z: i32 }
Donkey > AbstractChestedHorse { }
DragonFireball > AbstractHurtingProjectile { }
Drowned > Zombie { }
ElderGuardian > Guardian { }
EndCrystal > Entity { optional "BeamTarget" as beam_target: super::compounds::NbtUtils_writeBlockPos, "ShowBottom" as show_bottom: bool }
EnderDragon > Mob { "DragonDeathTime" as dragon_death_time: i32, "DragonPhase" as dragon_phase: i32 }
EnderMan > Monster { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, optional "carriedBlockState" as carried_block_state: super::BlockState }
Endermite > Monster { "Lifetime" as lifetime: i32 }
Entity { "Air" as air: i16, optional "CustomName" as custom_name: CowStr, optional "CustomNameVisible" as custom_name_visible: bool, "FallDistance" as fall_distance: f32, "Fire" as fire: i16, optional "Glowing" as glowing: bool, optional "HasVisualFire" as has_visual_fire: bool, "Invulnerable" as invulnerable: bool, "Motion" as motion: Vec<f64>, optional "NoGravity" as no_gravity: bool, "OnGround" as on_ground: bool, optional "Passengers" as passengers: Vec<Box<super::Entity>>, "PortalCooldown" as portal_cooldown: i32, optional "Pos" as pos: Vec<f64>, "Rotation" as rotation: Vec<f32>, optional "Silent" as silent: bool, optional "Tags" as tags: Vec<CowStr>, optional "TicksFrozen" as ticks_frozen: i32, "UUID" as uuid: u128 }
Evoker > SpellcasterIllager { }
EvokerFangs > Entity { optional "Owner" as owner: u128, "Warmup" as warmup: i32 }
ExperienceOrb > Entity { "Age" as age: i16, "Count" as count: i32, "Health" as health: i16, "Value" as value: i16 }
EyeOfEnder > Entity { optional "Item" as item: super::compounds::ItemStack_save_2 }
FallingBlockEntity > Entity { "BlockState" as block_state: super::BlockState, "DropItem" as drop_item: bool, "FallHurtAmount" as fall_hurt_amount: f32, "FallHurtMax" as fall_hurt_max: i32, "HurtEntities" as hurt_entities: bool, optional "TileEntityData" as tile_entity_data: HashMap<CowStr, fastnbt::Value>, "Time" as time: i32 }
Fireball > AbstractHurtingProjectile { optional "Item" as item: super::compounds::ItemStack_save_2 }
FireworkRocketEntity > Projectile { optional "FireworksItem" as fireworks_item: super::compounds::ItemStack_save_2, "Life" as life: i32, "LifeTime" as life_time: i32, "ShotAtAngle" as shot_at_angle: bool }
FishingHook > Projectile { }
FlyingMob > Mob { }
Fox > Animal { "Crouching" as crouching: bool, "Sitting" as sitting: bool, "Sleeping" as sleeping: bool, "Trusted" as trusted: Vec<fastnbt::IntArray>, "Type" as r#type: CowStr }
Ghast > FlyingMob { "ExplosionPower" as explosion_power: i8 }
Giant > Monster { }
GlowItemFrame > ItemFrame { }
GlowSquid > Squid { "DarkTicksRemaining" as dark_ticks_remaining: i32 }
Goat > Animal { "IsScreamingGoat" as is_screaming_goat: bool }
Guardian > Monster { }
HangingEntity > Entity { "TileX" as tile_x: i32, "TileY" as tile_y: i32, "TileZ" as tile_z: i32 }
Hoglin > Animal { optional "CannotBeHunted" as cannot_be_hunted: bool, optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
Horse > AbstractHorse { optional "ArmorItem" as armor_item: super::compounds::ItemStack_save_2, "Variant" as variant: i32 }
Husk > Zombie { }
Illusioner > SpellcasterIllager { }
IronGolem > AbstractGolem { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "PlayerCreated" as player_created: bool }
ItemEntity > Entity { "Age" as age: i16, "Health" as health: i16, optional "Item" as item: super::compounds::ItemStack_save_2, optional "Owner" as owner: u128, "PickupDelay" as pickup_delay: i16, optional "Thrower" as thrower: u128 }
ItemFrame > HangingEntity { "Facing" as facing: i8, "Fixed" as fixed: bool, "Invisible" as invisible: bool, optional "Item" as item: super::compounds::ItemStack_save_2, optional "ItemDropChance" as item_drop_chance: f32, optional "ItemRotation" as item_rotation: i8 }
LargeFireball > Fireball { "ExplosionPower" as explosion_power: i8 }
LeashFenceKnotEntity > HangingEntity { }
LightningBolt > Entity { }
LivingEntity > Entity { "AbsorptionAmount" as absorption_amount: f32, optional "ActiveEffects" as active_effects: Vec<super::compounds::MobEffectInstance_save>, "Attributes" as attributes: Vec<super::compounds::AttributeInstance_save>, optional "Brain" as brain: fastnbt::Value, "DeathTime" as death_time: i16, "FallFlying" as fall_flying: bool, "Health" as health: f32, "HurtByTimestamp" as hurt_by_timestamp: i32, "HurtTime" as hurt_time: i16, optional "SleepingX" as sleeping_x: i32, optional "SleepingY" as sleeping_y: i32, optional "SleepingZ" as sleeping_z: i32 }
Llama > AbstractChestedHorse { optional "DecorItem" as decor_item: super::compounds::ItemStack_save_2, "Strength" as strength: i32, "Variant" as variant: i32 }
LlamaSpit > Projectile { }
MagmaCube > Slime { }
Marker > Entity { "data" as data: HashMap<CowStr, fastnbt::Value> }
Minecart > AbstractMinecart { }
MinecartChest > AbstractMinecartContainer { }
MinecartCommandBlock > AbstractMinecart { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool }
MinecartFurnace > AbstractMinecart { "Fuel" as fuel: i16, "PushX" as push_x: f64, "PushZ" as push_z: f64 }
MinecartHopper > AbstractMinecartContainer { "Enabled" as enabled: bool, "TransferCooldown" as transfer_cooldown: i32 }
MinecartSpawner > AbstractMinecart { optional "Delay" as delay: i16, optional "MaxNearbyEntities" as max_nearby_entities: i16, optional "MaxSpawnDelay" as max_spawn_delay: i16, optional "MinSpawnDelay" as min_spawn_delay: i16, optional "RequiredPlayerRange" as required_player_range: i16, optional "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: HashMap<CowStr, fastnbt::Value>, optional "SpawnPotentials" as spawn_potentials: Vec<super::compounds::SpawnData_save>, optional "SpawnRange" as spawn_range: i16 }
MinecartTNT > AbstractMinecart { "TNTFuse" as tnt_fuse: i32 }
Mob > LivingEntity { "ArmorDropChances" as armor_drop_chances: Vec<f32>, "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save>, "CanPickUpLoot" as can_pick_up_loot: bool, optional "DeathLootTable" as death_loot_table: CowStr, optional "DeathLootTableSeed" as death_loot_table_seed: i64, "HandDropChances" as hand_drop_chances: Vec<f32>, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save>, optional "Leash" as leash: super::compounds::Compound5, "LeftHanded" as left_handed: bool, optional "NoAI" as no_ai: bool, "PersistenceRequired" as persistence_required: bool }
Monster > PathfinderMob { }
Mule > AbstractChestedHorse { }
MushroomCow > Cow { optional "EffectDuration" as effect_duration: i32, optional "EffectId" as effect_id: i8, "Type" as r#type: CowStr }
Ocelot > Animal { "Trusting" as trusting: bool }
Painting > HangingEntity { "Facing" as facing: i8, "Motive" as motive: CowStr }
Panda > Animal { "HiddenGene" as hidden_gene: CowStr, "MainGene" as main_gene: CowStr }
Parrot > ShoulderRidingEntity { "Variant" as variant: i32 }
PathfinderMob > Mob { }
PatrollingMonster > Monster { "PatrolLeader" as patrol_leader: bool, optional "PatrolTarget" as patrol_target: super::compounds::NbtUtils_writeBlockPos, "Patrolling" as patrolling: bool }
Phantom > FlyingMob { "AX" as ax: i32, "AY" as ay: i32, "AZ" as az: i32, "Size" as size: i32 }
Pig > Animal { "Saddle" as saddle: bool }
Piglin > AbstractPiglin { optional "CannotHunt" as cannot_hunt: bool, "Inventory" as inventory: Vec<super::compounds::ItemStack_save_2>, optional "IsBaby" as is_baby: bool }
PiglinBrute > AbstractPiglin { }
Pillager > AbstractIllager { "Inventory" as inventory: Vec<super::compounds::ItemStack_save_2> }
PolarBear > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
PrimedTnt > Entity { "Fuse" as fuse: i16 }
Projectile > Entity { "HasBeenShot" as has_been_shot: bool, optional "LeftOwner" as left_owner: bool, optional "Owner" as owner: u128 }
Pufferfish > AbstractFish { "PuffState" as puff_state: i32 }
Rabbit > Animal { "MoreCarrotTicks" as more_carrot_ticks: i32, "RabbitType" as rabbit_type: i32 }
Raider > PatrollingMonster { "CanJoinRaid" as can_join_raid: bool, optional "RaidId" as raid_id: i32, "Wave" as wave: i32 }
Ravager > Raider { "AttackTick" as attack_tick: i32, "RoarTick" as roar_tick: i32, "StunTick" as stun_tick: i32 }
Salmon > AbstractSchoolingFish { }
Sheep > Animal { "Color" as color: i8, "Sheared" as sheared: bool }
ShoulderRidingEntity > TamableAnimal { }
Shulker > AbstractGolem { "AttachFace" as attach_face: i8, "Color" as color: i8, "Peek" as peek: i8 }
ShulkerBullet > Projectile { optional "Dir" as dir: i32, "Steps" as steps: i32, "TXD" as txd: f64, "TYD" as tyd: f64, "TZD" as tzd: f64, optional "Target" as target: u128 }
Silverfish > Monster { }
Skeleton > AbstractSkeleton { "StrayConversionTime" as stray_conversion_time: i32 }
SkeletonHorse > AbstractHorse { "SkeletonTrap" as skeleton_trap: bool, "SkeletonTrapTime" as skeleton_trap_time: i32 }
Slime > Mob { "Size" as size: i32, "wasOnGround" as was_on_ground: bool }
SmallFireball > Fireball { }
SnowGolem > AbstractGolem { "Pumpkin" as pumpkin: bool }
Snowball > ThrowableItemProjectile { }
SpectralArrow > AbstractArrow { "Duration" as duration: i32 }
SpellcasterIllager > AbstractIllager { "SpellTicks" as spell_ticks: i32 }
Spider > Monster { }
Squid > WaterAnimal { }
Stray > AbstractSkeleton { }
Strider > Animal { "Saddle" as saddle: bool }
TamableAnimal > Animal { optional "Owner" as owner: u128, "Sitting" as sitting: bool }
ThrowableItemProjectile > ThrowableProjectile { optional "Item" as item: super::compounds::ItemStack_save_2 }
ThrowableProjectile > Projectile { }
ThrownEgg > ThrowableItemProjectile { }
ThrownEnderpearl > ThrowableItemProjectile { }
ThrownExperienceBottle > ThrowableItemProjectile { }
ThrownPotion > ThrowableItemProjectile { }
ThrownTrident > AbstractArrow { "DealtDamage" as dealt_damage: bool, "Trident" as trident: super::compounds::ItemStack_save_2 }
TraderLlama > Llama { "DespawnDelay" as despawn_delay: i32 }
TropicalFish > AbstractSchoolingFish { "Variant" as variant: i32 }
Turtle > Animal { "HasEgg" as has_egg: bool, "HomePosX" as home_pos_x: i32, "HomePosY" as home_pos_y: i32, "HomePosZ" as home_pos_z: i32, "TravelPosX" as travel_pos_x: i32, "TravelPosY" as travel_pos_y: i32, "TravelPosZ" as travel_pos_z: i32 }
Vex > Monster { optional "BoundX" as bound_x: i32, optional "BoundY" as bound_y: i32, optional "BoundZ" as bound_z: i32, optional "LifeTicks" as life_ticks: i32 }
Villager > AbstractVillager { optional "AssignProfessionWhenSpawned" as assign_profession_when_spawned: bool, "FoodLevel" as food_level: i8, "Gossips" as gossips: fastnbt::Value, "LastGossipDecay" as last_gossip_decay: i64, "LastRestock" as last_restock: i64, "RestocksToday" as restocks_today: i32, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
Vindicator > AbstractIllager { optional "Johnny" as johnny: bool }
WanderingTrader > AbstractVillager { "DespawnDelay" as despawn_delay: i32, optional "WanderTarget" as wander_target: super::compounds::NbtUtils_writeBlockPos }
WaterAnimal > PathfinderMob { }
Witch > Raider { }
WitherBoss > Monster { "Invul" as invul: i32 }
WitherSkeleton > AbstractSkeleton { }
WitherSkull > AbstractHurtingProjectile { }
Wolf > TamableAnimal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CollarColor" as collar_color: i8 }
Zoglin > Monster { optional "IsBaby" as is_baby: bool }
Zombie > Monster { "CanBreakDoors" as can_break_doors: bool, "DrownedConversionTime" as drowned_conversion_time: i32, "InWaterTime" as in_water_time: i32, "IsBaby" as is_baby: bool }
ZombieHorse > AbstractHorse { }
ZombieVillager > Zombie { optional "ConversionPlayer" as conversion_player: u128, "ConversionTime" as conversion_time: i32, optional "Gossips" as gossips: fastnbt::Value, optional "Offers" as offers: HashMap<CowStr, fastnbt::Value>, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
ZombifiedPiglin > Zombie { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
}
entity_compound_types! {
"1.17";
ArmorStand_writePose { optional "Body" as body: Vec<f32>, optional "Head" as head: Vec<f32>, optional "LeftArm" as left_arm: Vec<f32>, optional "LeftLeg" as left_leg: Vec<f32>, optional "RightArm" as right_arm: Vec<f32>, optional "RightLeg" as right_leg: Vec<f32> }
AttributeInstance_save { "Base" as base: f64, optional "Modifiers" as modifiers: Vec<super::compounds::AttributeModifier_save>, "Name" as name: CowStr }
AttributeModifier_save { "Amount" as amount: f64, "Name" as name: CowStr, "Operation" as operation: i32, "UUID" as uuid: u128 }
Compound5 { optional "UUID" as uuid: u128, optional "X" as x: i32, optional "Y" as y: i32, optional "Z" as z: i32 }
ItemStack_save { optional "Count" as count: i8, optional "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_1 { "Count" as count: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_2 { "Count" as count: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
MerchantOffer_createTag { "buy" as buy: super::compounds::ItemStack_save_2, "buyB" as buy_b: super::compounds::ItemStack_save_2, "demand" as demand: i32, "maxUses" as max_uses: i32, "priceMultiplier" as price_multiplier: f32, "rewardExp" as reward_exp: bool, "sell" as sell: super::compounds::ItemStack_save_2, "specialPrice" as special_price: i32, "uses" as uses: i32, "xp" as xp: i32 }
MerchantOffers_createTag { "Recipes" as recipes: Vec<super::compounds::MerchantOffer_createTag> }
MobEffectInstance_save { "Ambient" as ambient: bool, "Amplifier" as amplifier: i8, "Duration" as duration: i32, optional "HiddenEffect" as hidden_effect: Box<super::compounds::MobEffectInstance_save>, "Id" as id: i8, "ShowIcon" as show_icon: bool, "ShowParticles" as show_particles: bool }
NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
SpawnData_save { "Entity" as entity: HashMap<CowStr, fastnbt::Value>, "Weight" as weight: i32 }
}
}
/// Accompanying types for entities in Minecraft 1.18.
#[cfg(feature = "1.18")]
pub mod mc1_18 {
entities! {
"1.18", mc1_18;
"minecraft:area_effect_cloud", AreaEffectCloud: AreaEffectCloud;
"minecraft:armor_stand", ArmorStand: ArmorStand;
"minecraft:arrow", Arrow: Arrow;
"minecraft:axolotl", Axolotl: Axolotl;
"minecraft:bat", Bat: Bat;
"minecraft:bee", Bee: Bee;
"minecraft:blaze", Blaze: Blaze;
"minecraft:boat", Boat: Boat;
"minecraft:cat", Cat: Cat;
"minecraft:cave_spider", CaveSpider: CaveSpider;
"minecraft:chest_minecart", ChestMinecart: MinecartChest;
"minecraft:chicken", Chicken: Chicken;
"minecraft:cod", Cod: Cod;
"minecraft:command_block_minecart", CommandBlockMinecart: MinecartCommandBlock;
"minecraft:cow", Cow: Cow;
"minecraft:creeper", Creeper: Creeper;
"minecraft:dolphin", Dolphin: Dolphin;
"minecraft:donkey", Donkey: Donkey;
"minecraft:dragon_fireball", DragonFireball: DragonFireball;
"minecraft:drowned", Drowned: Drowned;
"minecraft:egg", Egg: ThrownEgg;
"minecraft:elder_guardian", ElderGuardian: ElderGuardian;
"minecraft:end_crystal", EndCrystal: EndCrystal;
"minecraft:ender_dragon", EnderDragon: EnderDragon;
"minecraft:ender_pearl", EnderPearl: ThrownEnderpearl;
"minecraft:enderman", Enderman: EnderMan;
"minecraft:endermite", Endermite: Endermite;
"minecraft:evoker", Evoker: Evoker;
"minecraft:evoker_fangs", EvokerFangs: EvokerFangs;
"minecraft:experience_bottle", ExperienceBottle: ThrownExperienceBottle;
"minecraft:experience_orb", ExperienceOrb: ExperienceOrb;
"minecraft:eye_of_ender", EyeOfEnder: EyeOfEnder;
"minecraft:falling_block", FallingBlock: FallingBlockEntity;
"minecraft:fireball", Fireball: LargeFireball;
"minecraft:firework_rocket", FireworkRocket: FireworkRocketEntity;
"minecraft:fishing_bobber", FishingBobber: FishingHook;
"minecraft:fox", Fox: Fox;
"minecraft:furnace_minecart", FurnaceMinecart: MinecartFurnace;
"minecraft:ghast", Ghast: Ghast;
"minecraft:giant", Giant: Giant;
"minecraft:glow_item_frame", GlowItemFrame: GlowItemFrame;
"minecraft:glow_squid", GlowSquid: GlowSquid;
"minecraft:goat", Goat: Goat;
"minecraft:guardian", Guardian: Guardian;
"minecraft:hoglin", Hoglin: Hoglin;
"minecraft:hopper_minecart", HopperMinecart: MinecartHopper;
"minecraft:horse", Horse: Horse;
"minecraft:husk", Husk: Husk;
"minecraft:illusioner", Illusioner: Illusioner;
"minecraft:iron_golem", IronGolem: IronGolem;
"minecraft:item", Item: ItemEntity;
"minecraft:item_frame", ItemFrame: ItemFrame;
"minecraft:leash_knot", LeashKnot: LeashFenceKnotEntity;
"minecraft:lightning_bolt", LightningBolt: LightningBolt;
"minecraft:llama", Llama: Llama;
"minecraft:llama_spit", LlamaSpit: LlamaSpit;
"minecraft:magma_cube", MagmaCube: MagmaCube;
"minecraft:marker", Marker: Marker;
"minecraft:minecart", Minecart: Minecart;
"minecraft:mooshroom", Mooshroom: MushroomCow;
"minecraft:mule", Mule: Mule;
"minecraft:ocelot", Ocelot: Ocelot;
"minecraft:painting", Painting: Painting;
"minecraft:panda", Panda: Panda;
"minecraft:parrot", Parrot: Parrot;
"minecraft:phantom", Phantom: Phantom;
"minecraft:pig", Pig: Pig;
"minecraft:piglin", Piglin: Piglin;
"minecraft:piglin_brute", PiglinBrute: PiglinBrute;
"minecraft:pillager", Pillager: Pillager;
"minecraft:polar_bear", PolarBear: PolarBear;
"minecraft:potion", Potion: ThrownPotion;
"minecraft:pufferfish", Pufferfish: Pufferfish;
"minecraft:rabbit", Rabbit: Rabbit;
"minecraft:ravager", Ravager: Ravager;
"minecraft:salmon", Salmon: Salmon;
"minecraft:sheep", Sheep: Sheep;
"minecraft:shulker", Shulker: Shulker;
"minecraft:shulker_bullet", ShulkerBullet: ShulkerBullet;
"minecraft:silverfish", Silverfish: Silverfish;
"minecraft:skeleton", Skeleton: Skeleton;
"minecraft:skeleton_horse", SkeletonHorse: SkeletonHorse;
"minecraft:slime", Slime: Slime;
"minecraft:small_fireball", SmallFireball: SmallFireball;
"minecraft:snow_golem", SnowGolem: SnowGolem;
"minecraft:snowball", Snowball: Snowball;
"minecraft:spawner_minecart", SpawnerMinecart: MinecartSpawner;
"minecraft:spectral_arrow", SpectralArrow: SpectralArrow;
"minecraft:spider", Spider: Spider;
"minecraft:squid", Squid: Squid;
"minecraft:stray", Stray: Stray;
"minecraft:strider", Strider: Strider;
"minecraft:tnt", Tnt: PrimedTnt;
"minecraft:tnt_minecart", TntMinecart: MinecartTNT;
"minecraft:trader_llama", TraderLlama: TraderLlama;
"minecraft:trident", Trident: ThrownTrident;
"minecraft:tropical_fish", TropicalFish: TropicalFish;
"minecraft:turtle", Turtle: Turtle;
"minecraft:vex", Vex: Vex;
"minecraft:villager", Villager: Villager;
"minecraft:vindicator", Vindicator: Vindicator;
"minecraft:wandering_trader", WanderingTrader: WanderingTrader;
"minecraft:witch", Witch: Witch;
"minecraft:wither", Wither: WitherBoss;
"minecraft:wither_skeleton", WitherSkeleton: WitherSkeleton;
"minecraft:wither_skull", WitherSkull: WitherSkull;
"minecraft:wolf", Wolf: Wolf;
"minecraft:zoglin", Zoglin: Zoglin;
"minecraft:zombie", Zombie: Zombie;
"minecraft:zombie_horse", ZombieHorse: ZombieHorse;
"minecraft:zombie_villager", ZombieVillager: ZombieVillager;
"minecraft:zombified_piglin", ZombifiedPiglin: ZombifiedPiglin;
}
entity_types! {
"1.18";
AbstractArrow > Projectile { "PierceLevel" as pierce_level: i8, "ShotFromCrossbow" as shot_from_crossbow: bool, "SoundEvent" as sound_event: CowStr, "crit" as crit: bool, "damage" as damage: f64, optional "inBlockState" as in_block_state: super::BlockState, "inGround" as in_ground: bool, "life" as life: i16, "pickup" as pickup: i8, "shake" as shake: i8 }
AbstractChestedHorse > AbstractHorse { "ChestedHorse" as chested_horse: bool, optional "Items" as items: Vec<super::compounds::ItemStack_save_1> }
AbstractFish > WaterAnimal { "FromBucket" as from_bucket: bool }
AbstractGolem > PathfinderMob { }
AbstractHorse > Animal { "Bred" as bred: bool, "EatingHaystack" as eating_haystack: bool, optional "Owner" as owner: u128, optional "SaddleItem" as saddle_item: super::compounds::ItemStack_save_2, "Tame" as tame: bool, "Temper" as temper: i32 }
AbstractHurtingProjectile > Projectile { "power" as power: Vec<f64> }
AbstractIllager > Raider { }
AbstractMinecart > Entity { optional "CustomDisplayTile" as custom_display_tile: bool, optional "DisplayOffset" as display_offset: i32, optional "DisplayState" as display_state: super::BlockState }
AbstractMinecartContainer > AbstractMinecart { optional "Items" as items: Vec<super::compounds::ItemStack_save_1>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
AbstractPiglin > Monster { optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
AbstractSchoolingFish > AbstractFish { }
AbstractSkeleton > Monster { }
AbstractVillager > AgeableMob { "Inventory" as inventory: Vec<super::compounds::ItemStack_save_2>, optional "Offers" as offers: super::compounds::MerchantOffers_createTag }
AgeableMob > PathfinderMob { "Age" as age: i32, "ForcedAge" as forced_age: i32 }
AmbientCreature > Mob { }
Animal > AgeableMob { "InLove" as in_love: i32, optional "LoveCause" as love_cause: u128 }
AreaEffectCloud > Entity { "Age" as age: i32, optional "Color" as color: i32, "Duration" as duration: i32, "DurationOnUse" as duration_on_use: i32, optional "Effects" as effects: Vec<super::compounds::MobEffectInstance_save>, optional "Owner" as owner: u128, "Particle" as particle: CowStr, optional "Potion" as potion: CowStr, "Radius" as radius: f32, "RadiusOnUse" as radius_on_use: f32, "RadiusPerTick" as radius_per_tick: f32, "ReapplicationDelay" as reapplication_delay: i32, "WaitTime" as wait_time: i32 }
ArmorStand > LivingEntity { "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save>, "DisabledSlots" as disabled_slots: i32, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save>, "Invisible" as invisible: bool, optional "Marker" as marker: bool, "NoBasePlate" as no_base_plate: bool, "Pose" as pose: super::compounds::ArmorStand_writePose, "ShowArms" as show_arms: bool, "Small" as small: bool }
Arrow > AbstractArrow { optional "Color" as color: i32, optional "CustomPotionEffects" as custom_potion_effects: Vec<super::compounds::MobEffectInstance_save>, optional "Potion" as potion: CowStr }
Axolotl > Animal { "FromBucket" as from_bucket: bool, "Variant" as variant: i32 }
Bat > AmbientCreature { "BatFlags" as bat_flags: i8 }
Bee > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CannotEnterHiveTicks" as cannot_enter_hive_ticks: i32, "CropsGrownSincePollination" as crops_grown_since_pollination: i32, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos, "HasNectar" as has_nectar: bool, "HasStung" as has_stung: bool, optional "HivePos" as hive_pos: super::compounds::NbtUtils_writeBlockPos, "TicksSincePollination" as ticks_since_pollination: i32 }
Blaze > Monster { }
Boat > Entity { "Type" as r#type: CowStr }
Cat > TamableAnimal { "CatType" as cat_type: i32, "CollarColor" as collar_color: i8 }
CaveSpider > Spider { }
Chicken > Animal { "EggLayTime" as egg_lay_time: i32, "IsChickenJockey" as is_chicken_jockey: bool }
Cod > AbstractSchoolingFish { }
Cow > Animal { }
Creeper > Monster { "ExplosionRadius" as explosion_radius: i8, "Fuse" as fuse: i16, "ignited" as ignited: bool, optional "powered" as powered: bool }
Dolphin > WaterAnimal { "GotFish" as got_fish: bool, "Moistness" as moistness: i32, "TreasurePosX" as treasure_pos_x: i32, "TreasurePosY" as treasure_pos_y: i32, "TreasurePosZ" as treasure_pos_z: i32 }
Donkey > AbstractChestedHorse { }
DragonFireball > AbstractHurtingProjectile { }
Drowned > Zombie { }
ElderGuardian > Guardian { }
EndCrystal > Entity { optional "BeamTarget" as beam_target: super::compounds::NbtUtils_writeBlockPos, "ShowBottom" as show_bottom: bool }
EnderDragon > Mob { "DragonDeathTime" as dragon_death_time: i32, "DragonPhase" as dragon_phase: i32 }
EnderMan > Monster { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, optional "carriedBlockState" as carried_block_state: super::BlockState }
Endermite > Monster { "Lifetime" as lifetime: i32 }
Entity { "Air" as air: i16, optional "CustomName" as custom_name: CowStr, optional "CustomNameVisible" as custom_name_visible: bool, "FallDistance" as fall_distance: f32, "Fire" as fire: i16, optional "Glowing" as glowing: bool, optional "HasVisualFire" as has_visual_fire: bool, "Invulnerable" as invulnerable: bool, "Motion" as motion: Vec<f64>, optional "NoGravity" as no_gravity: bool, "OnGround" as on_ground: bool, optional "Passengers" as passengers: Vec<Box<super::Entity>>, "PortalCooldown" as portal_cooldown: i32, optional "Pos" as pos: Vec<f64>, "Rotation" as rotation: Vec<f32>, optional "Silent" as silent: bool, optional "Tags" as tags: Vec<CowStr>, optional "TicksFrozen" as ticks_frozen: i32, "UUID" as uuid: u128 }
Evoker > SpellcasterIllager { }
EvokerFangs > Entity { optional "Owner" as owner: u128, "Warmup" as warmup: i32 }
ExperienceOrb > Entity { "Age" as age: i16, "Count" as count: i32, "Health" as health: i16, "Value" as value: i16 }
EyeOfEnder > Entity { optional "Item" as item: super::compounds::ItemStack_save_2 }
FallingBlockEntity > Entity { "BlockState" as block_state: super::BlockState, "DropItem" as drop_item: bool, "FallHurtAmount" as fall_hurt_amount: f32, "FallHurtMax" as fall_hurt_max: i32, "HurtEntities" as hurt_entities: bool, optional "TileEntityData" as tile_entity_data: HashMap<CowStr, fastnbt::Value>, "Time" as time: i32 }
Fireball > AbstractHurtingProjectile { optional "Item" as item: super::compounds::ItemStack_save_2 }
FireworkRocketEntity > Projectile { optional "FireworksItem" as fireworks_item: super::compounds::ItemStack_save_2, "Life" as life: i32, "LifeTime" as life_time: i32, "ShotAtAngle" as shot_at_angle: bool }
FishingHook > Projectile { }
FlyingMob > Mob { }
Fox > Animal { "Crouching" as crouching: bool, "Sitting" as sitting: bool, "Sleeping" as sleeping: bool, "Trusted" as trusted: Vec<fastnbt::IntArray>, "Type" as r#type: CowStr }
Ghast > FlyingMob { "ExplosionPower" as explosion_power: i8 }
Giant > Monster { }
GlowItemFrame > ItemFrame { }
GlowSquid > Squid { "DarkTicksRemaining" as dark_ticks_remaining: i32 }
Goat > Animal { "IsScreamingGoat" as is_screaming_goat: bool }
Guardian > Monster { }
HangingEntity > Entity { "TileX" as tile_x: i32, "TileY" as tile_y: i32, "TileZ" as tile_z: i32 }
Hoglin > Animal { optional "CannotBeHunted" as cannot_be_hunted: bool, optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
Horse > AbstractHorse { optional "ArmorItem" as armor_item: super::compounds::ItemStack_save_2, "Variant" as variant: i32 }
Husk > Zombie { }
Illusioner > SpellcasterIllager { }
IronGolem > AbstractGolem { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "PlayerCreated" as player_created: bool }
ItemEntity > Entity { "Age" as age: i16, "Health" as health: i16, optional "Item" as item: super::compounds::ItemStack_save_2, optional "Owner" as owner: u128, "PickupDelay" as pickup_delay: i16, optional "Thrower" as thrower: u128 }
ItemFrame > HangingEntity { "Facing" as facing: i8, "Fixed" as fixed: bool, "Invisible" as invisible: bool, optional "Item" as item: super::compounds::ItemStack_save_2, optional "ItemDropChance" as item_drop_chance: f32, optional "ItemRotation" as item_rotation: i8 }
LargeFireball > Fireball { "ExplosionPower" as explosion_power: i8 }
LeashFenceKnotEntity > HangingEntity { }
LightningBolt > Entity { }
LivingEntity > Entity { "AbsorptionAmount" as absorption_amount: f32, optional "ActiveEffects" as active_effects: Vec<super::compounds::MobEffectInstance_save>, "Attributes" as attributes: Vec<super::compounds::AttributeInstance_save>, optional "Brain" as brain: fastnbt::Value, "DeathTime" as death_time: i16, "FallFlying" as fall_flying: bool, "Health" as health: f32, "HurtByTimestamp" as hurt_by_timestamp: i32, "HurtTime" as hurt_time: i16, optional "SleepingX" as sleeping_x: i32, optional "SleepingY" as sleeping_y: i32, optional "SleepingZ" as sleeping_z: i32 }
Llama > AbstractChestedHorse { optional "DecorItem" as decor_item: super::compounds::ItemStack_save_2, "Strength" as strength: i32, "Variant" as variant: i32 }
LlamaSpit > Projectile { }
MagmaCube > Slime { }
Marker > Entity { "data" as data: HashMap<CowStr, fastnbt::Value> }
Minecart > AbstractMinecart { }
MinecartChest > AbstractMinecartContainer { }
MinecartCommandBlock > AbstractMinecart { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool }
MinecartFurnace > AbstractMinecart { "Fuel" as fuel: i16, "PushX" as push_x: f64, "PushZ" as push_z: f64 }
MinecartHopper > AbstractMinecartContainer { "Enabled" as enabled: bool, "TransferCooldown" as transfer_cooldown: i32 }
MinecartSpawner > AbstractMinecart { "Delay" as delay: i16, "MaxNearbyEntities" as max_nearby_entities: i16, "MaxSpawnDelay" as max_spawn_delay: i16, "MinSpawnDelay" as min_spawn_delay: i16, "RequiredPlayerRange" as required_player_range: i16, "SpawnCount" as spawn_count: i16, "SpawnData" as spawn_data: fastnbt::Value, "SpawnPotentials" as spawn_potentials: fastnbt::Value, "SpawnRange" as spawn_range: i16 }
MinecartTNT > AbstractMinecart { "TNTFuse" as tnt_fuse: i32 }
Mob > LivingEntity { "ArmorDropChances" as armor_drop_chances: Vec<f32>, "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save>, "CanPickUpLoot" as can_pick_up_loot: bool, optional "DeathLootTable" as death_loot_table: CowStr, optional "DeathLootTableSeed" as death_loot_table_seed: i64, "HandDropChances" as hand_drop_chances: Vec<f32>, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save>, optional "Leash" as leash: super::compounds::Compound5, "LeftHanded" as left_handed: bool, optional "NoAI" as no_ai: bool, "PersistenceRequired" as persistence_required: bool }
Monster > PathfinderMob { }
Mule > AbstractChestedHorse { }
MushroomCow > Cow { optional "EffectDuration" as effect_duration: i32, optional "EffectId" as effect_id: i8, "Type" as r#type: CowStr }
Ocelot > Animal { "Trusting" as trusting: bool }
Painting > HangingEntity { "Facing" as facing: i8, "Motive" as motive: CowStr }
Panda > Animal { "HiddenGene" as hidden_gene: CowStr, "MainGene" as main_gene: CowStr }
Parrot > ShoulderRidingEntity { "Variant" as variant: i32 }
PathfinderMob > Mob { }
PatrollingMonster > Monster { "PatrolLeader" as patrol_leader: bool, optional "PatrolTarget" as patrol_target: super::compounds::NbtUtils_writeBlockPos, "Patrolling" as patrolling: bool }
Phantom > FlyingMob { "AX" as ax: i32, "AY" as ay: i32, "AZ" as az: i32, "Size" as size: i32 }
Pig > Animal { "Saddle" as saddle: bool }
Piglin > AbstractPiglin { optional "CannotHunt" as cannot_hunt: bool, "Inventory" as inventory: Vec<super::compounds::ItemStack_save_2>, optional "IsBaby" as is_baby: bool }
PiglinBrute > AbstractPiglin { }
Pillager > AbstractIllager { "Inventory" as inventory: Vec<super::compounds::ItemStack_save_2> }
PolarBear > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
PrimedTnt > Entity { "Fuse" as fuse: i16 }
Projectile > Entity { "HasBeenShot" as has_been_shot: bool, optional "LeftOwner" as left_owner: bool, optional "Owner" as owner: u128 }
Pufferfish > AbstractFish { "PuffState" as puff_state: i32 }
Rabbit > Animal { "MoreCarrotTicks" as more_carrot_ticks: i32, "RabbitType" as rabbit_type: i32 }
Raider > PatrollingMonster { "CanJoinRaid" as can_join_raid: bool, optional "RaidId" as raid_id: i32, "Wave" as wave: i32 }
Ravager > Raider { "AttackTick" as attack_tick: i32, "RoarTick" as roar_tick: i32, "StunTick" as stun_tick: i32 }
Salmon > AbstractSchoolingFish { }
Sheep > Animal { "Color" as color: i8, "Sheared" as sheared: bool }
ShoulderRidingEntity > TamableAnimal { }
Shulker > AbstractGolem { "AttachFace" as attach_face: i8, "Color" as color: i8, "Peek" as peek: i8 }
ShulkerBullet > Projectile { optional "Dir" as dir: i32, "Steps" as steps: i32, "TXD" as txd: f64, "TYD" as tyd: f64, "TZD" as tzd: f64, optional "Target" as target: u128 }
Silverfish > Monster { }
Skeleton > AbstractSkeleton { "StrayConversionTime" as stray_conversion_time: i32 }
SkeletonHorse > AbstractHorse { "SkeletonTrap" as skeleton_trap: bool, "SkeletonTrapTime" as skeleton_trap_time: i32 }
Slime > Mob { "Size" as size: i32, "wasOnGround" as was_on_ground: bool }
SmallFireball > Fireball { }
SnowGolem > AbstractGolem { "Pumpkin" as pumpkin: bool }
Snowball > ThrowableItemProjectile { }
SpectralArrow > AbstractArrow { "Duration" as duration: i32 }
SpellcasterIllager > AbstractIllager { "SpellTicks" as spell_ticks: i32 }
Spider > Monster { }
Squid > WaterAnimal { }
Stray > AbstractSkeleton { }
Strider > Animal { "Saddle" as saddle: bool }
TamableAnimal > Animal { optional "Owner" as owner: u128, "Sitting" as sitting: bool }
ThrowableItemProjectile > ThrowableProjectile { optional "Item" as item: super::compounds::ItemStack_save_2 }
ThrowableProjectile > Projectile { }
ThrownEgg > ThrowableItemProjectile { }
ThrownEnderpearl > ThrowableItemProjectile { }
ThrownExperienceBottle > ThrowableItemProjectile { }
ThrownPotion > ThrowableItemProjectile { }
ThrownTrident > AbstractArrow { "DealtDamage" as dealt_damage: bool, "Trident" as trident: super::compounds::ItemStack_save_2 }
TraderLlama > Llama { "DespawnDelay" as despawn_delay: i32 }
TropicalFish > AbstractSchoolingFish { "Variant" as variant: i32 }
Turtle > Animal { "HasEgg" as has_egg: bool, "HomePosX" as home_pos_x: i32, "HomePosY" as home_pos_y: i32, "HomePosZ" as home_pos_z: i32, "TravelPosX" as travel_pos_x: i32, "TravelPosY" as travel_pos_y: i32, "TravelPosZ" as travel_pos_z: i32 }
Vex > Monster { optional "BoundX" as bound_x: i32, optional "BoundY" as bound_y: i32, optional "BoundZ" as bound_z: i32, optional "LifeTicks" as life_ticks: i32 }
Villager > AbstractVillager { optional "AssignProfessionWhenSpawned" as assign_profession_when_spawned: bool, "FoodLevel" as food_level: i8, "Gossips" as gossips: fastnbt::Value, "LastGossipDecay" as last_gossip_decay: i64, "LastRestock" as last_restock: i64, "RestocksToday" as restocks_today: i32, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
Vindicator > AbstractIllager { optional "Johnny" as johnny: bool }
WanderingTrader > AbstractVillager { "DespawnDelay" as despawn_delay: i32, optional "WanderTarget" as wander_target: super::compounds::NbtUtils_writeBlockPos }
WaterAnimal > PathfinderMob { }
Witch > Raider { }
WitherBoss > Monster { "Invul" as invul: i32 }
WitherSkeleton > AbstractSkeleton { }
WitherSkull > AbstractHurtingProjectile { }
Wolf > TamableAnimal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CollarColor" as collar_color: i8 }
Zoglin > Monster { optional "IsBaby" as is_baby: bool }
Zombie > Monster { "CanBreakDoors" as can_break_doors: bool, "DrownedConversionTime" as drowned_conversion_time: i32, "InWaterTime" as in_water_time: i32, "IsBaby" as is_baby: bool }
ZombieHorse > AbstractHorse { }
ZombieVillager > Zombie { optional "ConversionPlayer" as conversion_player: u128, "ConversionTime" as conversion_time: i32, optional "Gossips" as gossips: fastnbt::Value, optional "Offers" as offers: HashMap<CowStr, fastnbt::Value>, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
ZombifiedPiglin > Zombie { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
}
entity_compound_types! {
"1.18";
ArmorStand_writePose { optional "Body" as body: Vec<f32>, optional "Head" as head: Vec<f32>, optional "LeftArm" as left_arm: Vec<f32>, optional "LeftLeg" as left_leg: Vec<f32>, optional "RightArm" as right_arm: Vec<f32>, optional "RightLeg" as right_leg: Vec<f32> }
AttributeInstance_save { "Base" as base: f64, optional "Modifiers" as modifiers: Vec<super::compounds::AttributeModifier_save>, "Name" as name: CowStr }
AttributeModifier_save { "Amount" as amount: f64, "Name" as name: CowStr, "Operation" as operation: i32, "UUID" as uuid: u128 }
Compound5 { optional "UUID" as uuid: u128, optional "X" as x: i32, optional "Y" as y: i32, optional "Z" as z: i32 }
ItemStack_save { optional "Count" as count: i8, optional "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_1 { "Count" as count: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_2 { "Count" as count: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
MerchantOffer_createTag { "buy" as buy: super::compounds::ItemStack_save_2, "buyB" as buy_b: super::compounds::ItemStack_save_2, "demand" as demand: i32, "maxUses" as max_uses: i32, "priceMultiplier" as price_multiplier: f32, "rewardExp" as reward_exp: bool, "sell" as sell: super::compounds::ItemStack_save_2, "specialPrice" as special_price: i32, "uses" as uses: i32, "xp" as xp: i32 }
MerchantOffers_createTag { "Recipes" as recipes: Vec<super::compounds::MerchantOffer_createTag> }
MobEffectInstance_save { "Ambient" as ambient: bool, "Amplifier" as amplifier: i8, "Duration" as duration: i32, optional "HiddenEffect" as hidden_effect: Box<super::compounds::MobEffectInstance_save>, "Id" as id: i8, "ShowIcon" as show_icon: bool, "ShowParticles" as show_particles: bool }
NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
}
}
/// Accompanying types for entities in Minecraft 1.19.
#[cfg(feature = "1.19")]
pub mod mc1_19 {
entities! {
"1.19", mc1_19;
"minecraft:allay", Allay: Allay;
"minecraft:area_effect_cloud", AreaEffectCloud: AreaEffectCloud;
"minecraft:armor_stand", ArmorStand: ArmorStand;
"minecraft:arrow", Arrow: Arrow;
"minecraft:axolotl", Axolotl: Axolotl;
"minecraft:bat", Bat: Bat;
"minecraft:bee", Bee: Bee;
"minecraft:blaze", Blaze: Blaze;
"minecraft:boat", Boat: Boat;
"minecraft:cat", Cat: Cat;
"minecraft:cave_spider", CaveSpider: CaveSpider;
"minecraft:chest_boat", ChestBoat: ChestBoat;
"minecraft:chest_minecart", ChestMinecart: MinecartChest;
"minecraft:chicken", Chicken: Chicken;
"minecraft:cod", Cod: Cod;
"minecraft:command_block_minecart", CommandBlockMinecart: MinecartCommandBlock;
"minecraft:cow", Cow: Cow;
"minecraft:creeper", Creeper: Creeper;
"minecraft:dolphin", Dolphin: Dolphin;
"minecraft:donkey", Donkey: Donkey;
"minecraft:dragon_fireball", DragonFireball: DragonFireball;
"minecraft:drowned", Drowned: Drowned;
"minecraft:egg", Egg: ThrownEgg;
"minecraft:elder_guardian", ElderGuardian: ElderGuardian;
"minecraft:end_crystal", EndCrystal: EndCrystal;
"minecraft:ender_dragon", EnderDragon: EnderDragon;
"minecraft:ender_pearl", EnderPearl: ThrownEnderpearl;
"minecraft:enderman", Enderman: EnderMan;
"minecraft:endermite", Endermite: Endermite;
"minecraft:evoker", Evoker: Evoker;
"minecraft:evoker_fangs", EvokerFangs: EvokerFangs;
"minecraft:experience_bottle", ExperienceBottle: ThrownExperienceBottle;
"minecraft:experience_orb", ExperienceOrb: ExperienceOrb;
"minecraft:eye_of_ender", EyeOfEnder: EyeOfEnder;
"minecraft:falling_block", FallingBlock: FallingBlockEntity;
"minecraft:fireball", Fireball: LargeFireball;
"minecraft:firework_rocket", FireworkRocket: FireworkRocketEntity;
"minecraft:fishing_bobber", FishingBobber: FishingHook;
"minecraft:fox", Fox: Fox;
"minecraft:frog", Frog: Frog;
"minecraft:furnace_minecart", FurnaceMinecart: MinecartFurnace;
"minecraft:ghast", Ghast: Ghast;
"minecraft:giant", Giant: Giant;
"minecraft:glow_item_frame", GlowItemFrame: GlowItemFrame;
"minecraft:glow_squid", GlowSquid: GlowSquid;
"minecraft:goat", Goat: Goat;
"minecraft:guardian", Guardian: Guardian;
"minecraft:hoglin", Hoglin: Hoglin;
"minecraft:hopper_minecart", HopperMinecart: MinecartHopper;
"minecraft:horse", Horse: Horse;
"minecraft:husk", Husk: Husk;
"minecraft:illusioner", Illusioner: Illusioner;
"minecraft:iron_golem", IronGolem: IronGolem;
"minecraft:item", Item: ItemEntity;
"minecraft:item_frame", ItemFrame: ItemFrame;
"minecraft:leash_knot", LeashKnot: LeashFenceKnotEntity;
"minecraft:lightning_bolt", LightningBolt: LightningBolt;
"minecraft:llama", Llama: Llama;
"minecraft:llama_spit", LlamaSpit: LlamaSpit;
"minecraft:magma_cube", MagmaCube: MagmaCube;
"minecraft:marker", Marker: Marker;
"minecraft:minecart", Minecart: Minecart;
"minecraft:mooshroom", Mooshroom: MushroomCow;
"minecraft:mule", Mule: Mule;
"minecraft:ocelot", Ocelot: Ocelot;
"minecraft:painting", Painting: Painting;
"minecraft:panda", Panda: Panda;
"minecraft:parrot", Parrot: Parrot;
"minecraft:phantom", Phantom: Phantom;
"minecraft:pig", Pig: Pig;
"minecraft:piglin", Piglin: Piglin;
"minecraft:piglin_brute", PiglinBrute: PiglinBrute;
"minecraft:pillager", Pillager: Pillager;
"minecraft:polar_bear", PolarBear: PolarBear;
"minecraft:potion", Potion: ThrownPotion;
"minecraft:pufferfish", Pufferfish: Pufferfish;
"minecraft:rabbit", Rabbit: Rabbit;
"minecraft:ravager", Ravager: Ravager;
"minecraft:salmon", Salmon: Salmon;
"minecraft:sheep", Sheep: Sheep;
"minecraft:shulker", Shulker: Shulker;
"minecraft:shulker_bullet", ShulkerBullet: ShulkerBullet;
"minecraft:silverfish", Silverfish: Silverfish;
"minecraft:skeleton", Skeleton: Skeleton;
"minecraft:skeleton_horse", SkeletonHorse: SkeletonHorse;
"minecraft:slime", Slime: Slime;
"minecraft:small_fireball", SmallFireball: SmallFireball;
"minecraft:snow_golem", SnowGolem: SnowGolem;
"minecraft:snowball", Snowball: Snowball;
"minecraft:spawner_minecart", SpawnerMinecart: MinecartSpawner;
"minecraft:spectral_arrow", SpectralArrow: SpectralArrow;
"minecraft:spider", Spider: Spider;
"minecraft:squid", Squid: Squid;
"minecraft:stray", Stray: Stray;
"minecraft:strider", Strider: Strider;
"minecraft:tadpole", Tadpole: Tadpole;
"minecraft:tnt", Tnt: PrimedTnt;
"minecraft:tnt_minecart", TntMinecart: MinecartTNT;
"minecraft:trader_llama", TraderLlama: TraderLlama;
"minecraft:trident", Trident: ThrownTrident;
"minecraft:tropical_fish", TropicalFish: TropicalFish;
"minecraft:turtle", Turtle: Turtle;
"minecraft:vex", Vex: Vex;
"minecraft:villager", Villager: Villager;
"minecraft:vindicator", Vindicator: Vindicator;
"minecraft:wandering_trader", WanderingTrader: WanderingTrader;
"minecraft:warden", Warden: Warden;
"minecraft:witch", Witch: Witch;
"minecraft:wither", Wither: WitherBoss;
"minecraft:wither_skeleton", WitherSkeleton: WitherSkeleton;
"minecraft:wither_skull", WitherSkull: WitherSkull;
"minecraft:wolf", Wolf: Wolf;
"minecraft:zoglin", Zoglin: Zoglin;
"minecraft:zombie", Zombie: Zombie;
"minecraft:zombie_horse", ZombieHorse: ZombieHorse;
"minecraft:zombie_villager", ZombieVillager: ZombieVillager;
"minecraft:zombified_piglin", ZombifiedPiglin: ZombifiedPiglin;
}
entity_types! {
"1.19";
AbstractArrow > Projectile { "PierceLevel" as pierce_level: i8, "ShotFromCrossbow" as shot_from_crossbow: bool, "SoundEvent" as sound_event: CowStr, "crit" as crit: bool, "damage" as damage: f64, optional "inBlockState" as in_block_state: super::BlockState, "inGround" as in_ground: bool, "life" as life: i16, "pickup" as pickup: i8, "shake" as shake: i8 }
AbstractChestedHorse > AbstractHorse { "ChestedHorse" as chested_horse: bool, optional "Items" as items: Vec<super::compounds::ItemStack_save_2> }
AbstractFish > WaterAnimal { "FromBucket" as from_bucket: bool }
AbstractGolem > PathfinderMob { }
AbstractHorse > Animal { "Bred" as bred: bool, "EatingHaystack" as eating_haystack: bool, optional "Owner" as owner: u128, optional "SaddleItem" as saddle_item: super::compounds::ItemStack_save, "Tame" as tame: bool, "Temper" as temper: i32 }
AbstractHurtingProjectile > Projectile { "power" as power: Vec<f64> }
AbstractIllager > Raider { }
AbstractMinecart > Entity { optional "CustomDisplayTile" as custom_display_tile: bool, optional "DisplayOffset" as display_offset: i32, optional "DisplayState" as display_state: super::BlockState }
AbstractMinecartContainer > AbstractMinecart { optional "Items" as items: Vec<super::compounds::ItemStack_save_2>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
AbstractPiglin > Monster { optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
AbstractSchoolingFish > AbstractFish { }
AbstractSkeleton > Monster { }
AbstractVillager > AgeableMob { "Inventory" as inventory: Vec<super::compounds::ItemStack_save>, optional "Offers" as offers: super::compounds::MerchantOffers_createTag }
AgeableMob > PathfinderMob { "Age" as age: i32, "ForcedAge" as forced_age: i32 }
Allay > PathfinderMob { "Inventory" as inventory: Vec<super::compounds::ItemStack_save>, optional "listener" as listener: fastnbt::Value }
AmbientCreature > Mob { }
Animal > AgeableMob { "InLove" as in_love: i32, optional "LoveCause" as love_cause: u128 }
AreaEffectCloud > Entity { "Age" as age: i32, optional "Color" as color: i32, "Duration" as duration: i32, "DurationOnUse" as duration_on_use: i32, optional "Effects" as effects: Vec<super::compounds::MobEffectInstance_save>, optional "Owner" as owner: u128, "Particle" as particle: CowStr, optional "Potion" as potion: CowStr, "Radius" as radius: f32, "RadiusOnUse" as radius_on_use: f32, "RadiusPerTick" as radius_per_tick: f32, "ReapplicationDelay" as reapplication_delay: i32, "WaitTime" as wait_time: i32 }
ArmorStand > LivingEntity { "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save_1>, "DisabledSlots" as disabled_slots: i32, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save_1>, "Invisible" as invisible: bool, optional "Marker" as marker: bool, "NoBasePlate" as no_base_plate: bool, "Pose" as pose: super::compounds::ArmorStand_writePose, "ShowArms" as show_arms: bool, "Small" as small: bool }
Arrow > AbstractArrow { optional "Color" as color: i32, optional "CustomPotionEffects" as custom_potion_effects: Vec<super::compounds::MobEffectInstance_save>, optional "Potion" as potion: CowStr }
Axolotl > Animal { "FromBucket" as from_bucket: bool, "Variant" as variant: i32 }
Bat > AmbientCreature { "BatFlags" as bat_flags: i8 }
Bee > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CannotEnterHiveTicks" as cannot_enter_hive_ticks: i32, "CropsGrownSincePollination" as crops_grown_since_pollination: i32, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos, "HasNectar" as has_nectar: bool, "HasStung" as has_stung: bool, optional "HivePos" as hive_pos: super::compounds::NbtUtils_writeBlockPos, "TicksSincePollination" as ticks_since_pollination: i32 }
Blaze > Monster { }
Boat > Entity { "Type" as r#type: CowStr }
Cat > TamableAnimal { "CollarColor" as collar_color: i8, "variant" as variant: CowStr }
CaveSpider > Spider { }
ChestBoat > Boat { optional "Items" as items: Vec<super::compounds::ItemStack_save_2>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
Chicken > Animal { "EggLayTime" as egg_lay_time: i32, "IsChickenJockey" as is_chicken_jockey: bool }
Cod > AbstractSchoolingFish { }
Cow > Animal { }
Creeper > Monster { "ExplosionRadius" as explosion_radius: i8, "Fuse" as fuse: i16, "ignited" as ignited: bool, optional "powered" as powered: bool }
Dolphin > WaterAnimal { "GotFish" as got_fish: bool, "Moistness" as moistness: i32, "TreasurePosX" as treasure_pos_x: i32, "TreasurePosY" as treasure_pos_y: i32, "TreasurePosZ" as treasure_pos_z: i32 }
Donkey > AbstractChestedHorse { }
DragonFireball > AbstractHurtingProjectile { }
Drowned > Zombie { }
ElderGuardian > Guardian { }
EndCrystal > Entity { optional "BeamTarget" as beam_target: super::compounds::NbtUtils_writeBlockPos, "ShowBottom" as show_bottom: bool }
EnderDragon > Mob { "DragonDeathTime" as dragon_death_time: i32, "DragonPhase" as dragon_phase: i32 }
EnderMan > Monster { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, optional "carriedBlockState" as carried_block_state: super::BlockState }
Endermite > Monster { "Lifetime" as lifetime: i32 }
Entity { "Air" as air: i16, optional "CustomName" as custom_name: CowStr, optional "CustomNameVisible" as custom_name_visible: bool, "FallDistance" as fall_distance: f32, "Fire" as fire: i16, optional "Glowing" as glowing: bool, optional "HasVisualFire" as has_visual_fire: bool, "Invulnerable" as invulnerable: bool, "Motion" as motion: Vec<f64>, optional "NoGravity" as no_gravity: bool, "OnGround" as on_ground: bool, optional "Passengers" as passengers: Vec<Box<super::Entity>>, "PortalCooldown" as portal_cooldown: i32, optional "Pos" as pos: Vec<f64>, "Rotation" as rotation: Vec<f32>, optional "Silent" as silent: bool, optional "Tags" as tags: Vec<CowStr>, optional "TicksFrozen" as ticks_frozen: i32, "UUID" as uuid: u128 }
Evoker > SpellcasterIllager { }
EvokerFangs > Entity { optional "Owner" as owner: u128, "Warmup" as warmup: i32 }
ExperienceOrb > Entity { "Age" as age: i16, "Count" as count: i32, "Health" as health: i16, "Value" as value: i16 }
EyeOfEnder > Entity { optional "Item" as item: super::compounds::ItemStack_save }
FallingBlockEntity > Entity { "BlockState" as block_state: super::BlockState, "DropItem" as drop_item: bool, "FallHurtAmount" as fall_hurt_amount: f32, "FallHurtMax" as fall_hurt_max: i32, "HurtEntities" as hurt_entities: bool, optional "TileEntityData" as tile_entity_data: HashMap<CowStr, fastnbt::Value>, "Time" as time: i32 }
Fireball > AbstractHurtingProjectile { optional "Item" as item: super::compounds::ItemStack_save }
FireworkRocketEntity > Projectile { optional "FireworksItem" as fireworks_item: super::compounds::ItemStack_save, "Life" as life: i32, "LifeTime" as life_time: i32, "ShotAtAngle" as shot_at_angle: bool }
FishingHook > Projectile { }
FlyingMob > Mob { }
Fox > Animal { "Crouching" as crouching: bool, "Sitting" as sitting: bool, "Sleeping" as sleeping: bool, "Trusted" as trusted: Vec<fastnbt::IntArray>, "Type" as r#type: CowStr }
Frog > Animal { "variant" as variant: CowStr }
Ghast > FlyingMob { "ExplosionPower" as explosion_power: i8 }
Giant > Monster { }
GlowItemFrame > ItemFrame { }
GlowSquid > Squid { "DarkTicksRemaining" as dark_ticks_remaining: i32 }
Goat > Animal { "HasLeftHorn" as has_left_horn: bool, "HasRightHorn" as has_right_horn: bool, "IsScreamingGoat" as is_screaming_goat: bool }
Guardian > Monster { }
HangingEntity > Entity { "TileX" as tile_x: i32, "TileY" as tile_y: i32, "TileZ" as tile_z: i32 }
Hoglin > Animal { optional "CannotBeHunted" as cannot_be_hunted: bool, optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
Horse > AbstractHorse { optional "ArmorItem" as armor_item: super::compounds::ItemStack_save, "Variant" as variant: i32 }
Husk > Zombie { }
Illusioner > SpellcasterIllager { }
IronGolem > AbstractGolem { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "PlayerCreated" as player_created: bool }
ItemEntity > Entity { "Age" as age: i16, "Health" as health: i16, optional "Item" as item: super::compounds::ItemStack_save, optional "Owner" as owner: u128, "PickupDelay" as pickup_delay: i16, optional "Thrower" as thrower: u128 }
ItemFrame > HangingEntity { "Facing" as facing: i8, "Fixed" as fixed: bool, "Invisible" as invisible: bool, optional "Item" as item: super::compounds::ItemStack_save, optional "ItemDropChance" as item_drop_chance: f32, optional "ItemRotation" as item_rotation: i8 }
LargeFireball > Fireball { "ExplosionPower" as explosion_power: i8 }
LeashFenceKnotEntity > HangingEntity { }
LightningBolt > Entity { }
LivingEntity > Entity { "AbsorptionAmount" as absorption_amount: f32, optional "ActiveEffects" as active_effects: Vec<super::compounds::MobEffectInstance_save>, "Attributes" as attributes: Vec<super::compounds::AttributeInstance_save>, optional "Brain" as brain: fastnbt::Value, "DeathTime" as death_time: i16, "FallFlying" as fall_flying: bool, "Health" as health: f32, "HurtByTimestamp" as hurt_by_timestamp: i32, "HurtTime" as hurt_time: i16, optional "SleepingX" as sleeping_x: i32, optional "SleepingY" as sleeping_y: i32, optional "SleepingZ" as sleeping_z: i32 }
Llama > AbstractChestedHorse { optional "DecorItem" as decor_item: super::compounds::ItemStack_save, "Strength" as strength: i32, "Variant" as variant: i32 }
LlamaSpit > Projectile { }
MagmaCube > Slime { }
Marker > Entity { "data" as data: HashMap<CowStr, fastnbt::Value> }
Minecart > AbstractMinecart { }
MinecartChest > AbstractMinecartContainer { }
MinecartCommandBlock > AbstractMinecart { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool }
MinecartFurnace > AbstractMinecart { "Fuel" as fuel: i16, "PushX" as push_x: f64, "PushZ" as push_z: f64 }
MinecartHopper > AbstractMinecartContainer { "Enabled" as enabled: bool, "TransferCooldown" as transfer_cooldown: i32 }
MinecartSpawner > AbstractMinecart { "Delay" as delay: i16, "MaxNearbyEntities" as max_nearby_entities: i16, "MaxSpawnDelay" as max_spawn_delay: i16, "MinSpawnDelay" as min_spawn_delay: i16, "RequiredPlayerRange" as required_player_range: i16, "SpawnCount" as spawn_count: i16, "SpawnData" as spawn_data: fastnbt::Value, "SpawnPotentials" as spawn_potentials: fastnbt::Value, "SpawnRange" as spawn_range: i16 }
MinecartTNT > AbstractMinecart { "TNTFuse" as tnt_fuse: i32 }
Mob > LivingEntity { "ArmorDropChances" as armor_drop_chances: Vec<f32>, "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save_1>, "CanPickUpLoot" as can_pick_up_loot: bool, optional "DeathLootTable" as death_loot_table: CowStr, optional "DeathLootTableSeed" as death_loot_table_seed: i64, "HandDropChances" as hand_drop_chances: Vec<f32>, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save_1>, optional "Leash" as leash: super::compounds::Compound2, "LeftHanded" as left_handed: bool, optional "NoAI" as no_ai: bool, "PersistenceRequired" as persistence_required: bool }
Monster > PathfinderMob { }
Mule > AbstractChestedHorse { }
MushroomCow > Cow { optional "EffectDuration" as effect_duration: i32, optional "EffectId" as effect_id: i32, "Type" as r#type: CowStr }
Ocelot > Animal { "Trusting" as trusting: bool }
Painting > HangingEntity { "facing" as facing: i8, "variant" as variant: CowStr }
Panda > Animal { "HiddenGene" as hidden_gene: CowStr, "MainGene" as main_gene: CowStr }
Parrot > ShoulderRidingEntity { "Variant" as variant: i32 }
PathfinderMob > Mob { }
PatrollingMonster > Monster { "PatrolLeader" as patrol_leader: bool, optional "PatrolTarget" as patrol_target: super::compounds::NbtUtils_writeBlockPos, "Patrolling" as patrolling: bool }
Phantom > FlyingMob { "AX" as ax: i32, "AY" as ay: i32, "AZ" as az: i32, "Size" as size: i32 }
Pig > Animal { "Saddle" as saddle: bool }
Piglin > AbstractPiglin { optional "CannotHunt" as cannot_hunt: bool, "Inventory" as inventory: Vec<super::compounds::ItemStack_save>, optional "IsBaby" as is_baby: bool }
PiglinBrute > AbstractPiglin { }
Pillager > AbstractIllager { "Inventory" as inventory: Vec<super::compounds::ItemStack_save> }
PolarBear > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
PrimedTnt > Entity { "Fuse" as fuse: i16 }
Projectile > Entity { "HasBeenShot" as has_been_shot: bool, optional "LeftOwner" as left_owner: bool, optional "Owner" as owner: u128 }
Pufferfish > AbstractFish { "PuffState" as puff_state: i32 }
Rabbit > Animal { "MoreCarrotTicks" as more_carrot_ticks: i32, "RabbitType" as rabbit_type: i32 }
Raider > PatrollingMonster { "CanJoinRaid" as can_join_raid: bool, optional "RaidId" as raid_id: i32, "Wave" as wave: i32 }
Ravager > Raider { "AttackTick" as attack_tick: i32, "RoarTick" as roar_tick: i32, "StunTick" as stun_tick: i32 }
Salmon > AbstractSchoolingFish { }
Sheep > Animal { "Color" as color: i8, "Sheared" as sheared: bool }
ShoulderRidingEntity > TamableAnimal { }
Shulker > AbstractGolem { "AttachFace" as attach_face: i8, "Color" as color: i8, "Peek" as peek: i8 }
ShulkerBullet > Projectile { optional "Dir" as dir: i32, "Steps" as steps: i32, "TXD" as txd: f64, "TYD" as tyd: f64, "TZD" as tzd: f64, optional "Target" as target: u128 }
Silverfish > Monster { }
Skeleton > AbstractSkeleton { "StrayConversionTime" as stray_conversion_time: i32 }
SkeletonHorse > AbstractHorse { "SkeletonTrap" as skeleton_trap: bool, "SkeletonTrapTime" as skeleton_trap_time: i32 }
Slime > Mob { "Size" as size: i32, "wasOnGround" as was_on_ground: bool }
SmallFireball > Fireball { }
SnowGolem > AbstractGolem { "Pumpkin" as pumpkin: bool }
Snowball > ThrowableItemProjectile { }
SpectralArrow > AbstractArrow { "Duration" as duration: i32 }
SpellcasterIllager > AbstractIllager { "SpellTicks" as spell_ticks: i32 }
Spider > Monster { }
Squid > WaterAnimal { }
Stray > AbstractSkeleton { }
Strider > Animal { "Saddle" as saddle: bool }
Tadpole > AbstractFish { "Age" as age: i32 }
TamableAnimal > Animal { optional "Owner" as owner: u128, "Sitting" as sitting: bool }
ThrowableItemProjectile > ThrowableProjectile { optional "Item" as item: super::compounds::ItemStack_save }
ThrowableProjectile > Projectile { }
ThrownEgg > ThrowableItemProjectile { }
ThrownEnderpearl > ThrowableItemProjectile { }
ThrownExperienceBottle > ThrowableItemProjectile { }
ThrownPotion > ThrowableItemProjectile { }
ThrownTrident > AbstractArrow { "DealtDamage" as dealt_damage: bool, "Trident" as trident: super::compounds::ItemStack_save }
TraderLlama > Llama { "DespawnDelay" as despawn_delay: i32 }
TropicalFish > AbstractSchoolingFish { "Variant" as variant: i32 }
Turtle > Animal { "HasEgg" as has_egg: bool, "HomePosX" as home_pos_x: i32, "HomePosY" as home_pos_y: i32, "HomePosZ" as home_pos_z: i32, "TravelPosX" as travel_pos_x: i32, "TravelPosY" as travel_pos_y: i32, "TravelPosZ" as travel_pos_z: i32 }
Vex > Monster { optional "BoundX" as bound_x: i32, optional "BoundY" as bound_y: i32, optional "BoundZ" as bound_z: i32, optional "LifeTicks" as life_ticks: i32 }
Villager > AbstractVillager { optional "AssignProfessionWhenSpawned" as assign_profession_when_spawned: bool, "FoodLevel" as food_level: i8, "Gossips" as gossips: fastnbt::Value, "LastGossipDecay" as last_gossip_decay: i64, "LastRestock" as last_restock: i64, "RestocksToday" as restocks_today: i32, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
Vindicator > AbstractIllager { optional "Johnny" as johnny: bool }
WanderingTrader > AbstractVillager { "DespawnDelay" as despawn_delay: i32, optional "WanderTarget" as wander_target: super::compounds::NbtUtils_writeBlockPos }
Warden > Monster { optional "anger" as anger: fastnbt::Value, optional "listener" as listener: fastnbt::Value }
WaterAnimal > PathfinderMob { }
Witch > Raider { }
WitherBoss > Monster { "Invul" as invul: i32 }
WitherSkeleton > AbstractSkeleton { }
WitherSkull > AbstractHurtingProjectile { }
Wolf > TamableAnimal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CollarColor" as collar_color: i8 }
Zoglin > Monster { optional "IsBaby" as is_baby: bool }
Zombie > Monster { "CanBreakDoors" as can_break_doors: bool, "DrownedConversionTime" as drowned_conversion_time: i32, "InWaterTime" as in_water_time: i32, "IsBaby" as is_baby: bool }
ZombieHorse > AbstractHorse { }
ZombieVillager > Zombie { optional "ConversionPlayer" as conversion_player: u128, "ConversionTime" as conversion_time: i32, optional "Gossips" as gossips: fastnbt::Value, optional "Offers" as offers: HashMap<CowStr, fastnbt::Value>, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
ZombifiedPiglin > Zombie { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
}
entity_compound_types! {
"1.19";
ArmorStand_writePose { optional "Body" as body: Vec<f32>, optional "Head" as head: Vec<f32>, optional "LeftArm" as left_arm: Vec<f32>, optional "LeftLeg" as left_leg: Vec<f32>, optional "RightArm" as right_arm: Vec<f32>, optional "RightLeg" as right_leg: Vec<f32> }
AttributeInstance_save { "Base" as base: f64, optional "Modifiers" as modifiers: Vec<super::compounds::AttributeModifier_save>, "Name" as name: CowStr }
AttributeModifier_save { "Amount" as amount: f64, "Name" as name: CowStr, "Operation" as operation: i32, "UUID" as uuid: u128 }
Compound2 { optional "UUID" as uuid: u128, optional "X" as x: i32, optional "Y" as y: i32, optional "Z" as z: i32 }
ItemStack_save { "Count" as count: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_1 { optional "Count" as count: i8, optional "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_2 { "Count" as count: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
MerchantOffer_createTag { "buy" as buy: super::compounds::ItemStack_save, "buyB" as buy_b: super::compounds::ItemStack_save, "demand" as demand: i32, "maxUses" as max_uses: i32, "priceMultiplier" as price_multiplier: f32, "rewardExp" as reward_exp: bool, "sell" as sell: super::compounds::ItemStack_save, "specialPrice" as special_price: i32, "uses" as uses: i32, "xp" as xp: i32 }
MerchantOffers_createTag { "Recipes" as recipes: Vec<super::compounds::MerchantOffer_createTag> }
MobEffectInstance_save { "Ambient" as ambient: bool, "Amplifier" as amplifier: i8, "Duration" as duration: i32, optional "FactorCalculationData" as factor_calculation_data: fastnbt::Value, optional "HiddenEffect" as hidden_effect: Box<super::compounds::MobEffectInstance_save>, "Id" as id: i32, "ShowIcon" as show_icon: bool, "ShowParticles" as show_particles: bool }
NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
}
}
/// Accompanying types for entities in Minecraft 1.19.1.
#[cfg(feature = "1.19.1")]
pub mod mc1_19_1 {
entities! {
"1.19.1", mc1_19_1;
"minecraft:allay", Allay: Allay;
"minecraft:area_effect_cloud", AreaEffectCloud: AreaEffectCloud;
"minecraft:armor_stand", ArmorStand: ArmorStand;
"minecraft:arrow", Arrow: Arrow;
"minecraft:axolotl", Axolotl: Axolotl;
"minecraft:bat", Bat: Bat;
"minecraft:bee", Bee: Bee;
"minecraft:blaze", Blaze: Blaze;
"minecraft:boat", Boat: Boat;
"minecraft:cat", Cat: Cat;
"minecraft:cave_spider", CaveSpider: CaveSpider;
"minecraft:chest_boat", ChestBoat: ChestBoat;
"minecraft:chest_minecart", ChestMinecart: MinecartChest;
"minecraft:chicken", Chicken: Chicken;
"minecraft:cod", Cod: Cod;
"minecraft:command_block_minecart", CommandBlockMinecart: MinecartCommandBlock;
"minecraft:cow", Cow: Cow;
"minecraft:creeper", Creeper: Creeper;
"minecraft:dolphin", Dolphin: Dolphin;
"minecraft:donkey", Donkey: Donkey;
"minecraft:dragon_fireball", DragonFireball: DragonFireball;
"minecraft:drowned", Drowned: Drowned;
"minecraft:egg", Egg: ThrownEgg;
"minecraft:elder_guardian", ElderGuardian: ElderGuardian;
"minecraft:end_crystal", EndCrystal: EndCrystal;
"minecraft:ender_dragon", EnderDragon: EnderDragon;
"minecraft:ender_pearl", EnderPearl: ThrownEnderpearl;
"minecraft:enderman", Enderman: EnderMan;
"minecraft:endermite", Endermite: Endermite;
"minecraft:evoker", Evoker: Evoker;
"minecraft:evoker_fangs", EvokerFangs: EvokerFangs;
"minecraft:experience_bottle", ExperienceBottle: ThrownExperienceBottle;
"minecraft:experience_orb", ExperienceOrb: ExperienceOrb;
"minecraft:eye_of_ender", EyeOfEnder: EyeOfEnder;
"minecraft:falling_block", FallingBlock: FallingBlockEntity;
"minecraft:fireball", Fireball: LargeFireball;
"minecraft:firework_rocket", FireworkRocket: FireworkRocketEntity;
"minecraft:fishing_bobber", FishingBobber: FishingHook;
"minecraft:fox", Fox: Fox;
"minecraft:frog", Frog: Frog;
"minecraft:furnace_minecart", FurnaceMinecart: MinecartFurnace;
"minecraft:ghast", Ghast: Ghast;
"minecraft:giant", Giant: Giant;
"minecraft:glow_item_frame", GlowItemFrame: GlowItemFrame;
"minecraft:glow_squid", GlowSquid: GlowSquid;
"minecraft:goat", Goat: Goat;
"minecraft:guardian", Guardian: Guardian;
"minecraft:hoglin", Hoglin: Hoglin;
"minecraft:hopper_minecart", HopperMinecart: MinecartHopper;
"minecraft:horse", Horse: Horse;
"minecraft:husk", Husk: Husk;
"minecraft:illusioner", Illusioner: Illusioner;
"minecraft:iron_golem", IronGolem: IronGolem;
"minecraft:item", Item: ItemEntity;
"minecraft:item_frame", ItemFrame: ItemFrame;
"minecraft:leash_knot", LeashKnot: LeashFenceKnotEntity;
"minecraft:lightning_bolt", LightningBolt: LightningBolt;
"minecraft:llama", Llama: Llama;
"minecraft:llama_spit", LlamaSpit: LlamaSpit;
"minecraft:magma_cube", MagmaCube: MagmaCube;
"minecraft:marker", Marker: Marker;
"minecraft:minecart", Minecart: Minecart;
"minecraft:mooshroom", Mooshroom: MushroomCow;
"minecraft:mule", Mule: Mule;
"minecraft:ocelot", Ocelot: Ocelot;
"minecraft:painting", Painting: Painting;
"minecraft:panda", Panda: Panda;
"minecraft:parrot", Parrot: Parrot;
"minecraft:phantom", Phantom: Phantom;
"minecraft:pig", Pig: Pig;
"minecraft:piglin", Piglin: Piglin;
"minecraft:piglin_brute", PiglinBrute: PiglinBrute;
"minecraft:pillager", Pillager: Pillager;
"minecraft:polar_bear", PolarBear: PolarBear;
"minecraft:potion", Potion: ThrownPotion;
"minecraft:pufferfish", Pufferfish: Pufferfish;
"minecraft:rabbit", Rabbit: Rabbit;
"minecraft:ravager", Ravager: Ravager;
"minecraft:salmon", Salmon: Salmon;
"minecraft:sheep", Sheep: Sheep;
"minecraft:shulker", Shulker: Shulker;
"minecraft:shulker_bullet", ShulkerBullet: ShulkerBullet;
"minecraft:silverfish", Silverfish: Silverfish;
"minecraft:skeleton", Skeleton: Skeleton;
"minecraft:skeleton_horse", SkeletonHorse: SkeletonHorse;
"minecraft:slime", Slime: Slime;
"minecraft:small_fireball", SmallFireball: SmallFireball;
"minecraft:snow_golem", SnowGolem: SnowGolem;
"minecraft:snowball", Snowball: Snowball;
"minecraft:spawner_minecart", SpawnerMinecart: MinecartSpawner;
"minecraft:spectral_arrow", SpectralArrow: SpectralArrow;
"minecraft:spider", Spider: Spider;
"minecraft:squid", Squid: Squid;
"minecraft:stray", Stray: Stray;
"minecraft:strider", Strider: Strider;
"minecraft:tadpole", Tadpole: Tadpole;
"minecraft:tnt", Tnt: PrimedTnt;
"minecraft:tnt_minecart", TntMinecart: MinecartTNT;
"minecraft:trader_llama", TraderLlama: TraderLlama;
"minecraft:trident", Trident: ThrownTrident;
"minecraft:tropical_fish", TropicalFish: TropicalFish;
"minecraft:turtle", Turtle: Turtle;
"minecraft:vex", Vex: Vex;
"minecraft:villager", Villager: Villager;
"minecraft:vindicator", Vindicator: Vindicator;
"minecraft:wandering_trader", WanderingTrader: WanderingTrader;
"minecraft:warden", Warden: Warden;
"minecraft:witch", Witch: Witch;
"minecraft:wither", Wither: WitherBoss;
"minecraft:wither_skeleton", WitherSkeleton: WitherSkeleton;
"minecraft:wither_skull", WitherSkull: WitherSkull;
"minecraft:wolf", Wolf: Wolf;
"minecraft:zoglin", Zoglin: Zoglin;
"minecraft:zombie", Zombie: Zombie;
"minecraft:zombie_horse", ZombieHorse: ZombieHorse;
"minecraft:zombie_villager", ZombieVillager: ZombieVillager;
"minecraft:zombified_piglin", ZombifiedPiglin: ZombifiedPiglin;
}
entity_types! {
"1.19.1";
AbstractArrow > Projectile { "PierceLevel" as pierce_level: i8, "ShotFromCrossbow" as shot_from_crossbow: bool, "SoundEvent" as sound_event: CowStr, "crit" as crit: bool, "damage" as damage: f64, optional "inBlockState" as in_block_state: super::BlockState, "inGround" as in_ground: bool, "life" as life: i16, "pickup" as pickup: i8, "shake" as shake: i8 }
AbstractChestedHorse > AbstractHorse { "ChestedHorse" as chested_horse: bool, optional "Items" as items: Vec<super::compounds::ItemStack_save_2> }
AbstractFish > WaterAnimal { "FromBucket" as from_bucket: bool }
AbstractGolem > PathfinderMob { }
AbstractHorse > Animal { "Bred" as bred: bool, "EatingHaystack" as eating_haystack: bool, optional "Owner" as owner: u128, optional "SaddleItem" as saddle_item: super::compounds::ItemStack_save, "Tame" as tame: bool, "Temper" as temper: i32 }
AbstractHurtingProjectile > Projectile { "power" as power: Vec<f64> }
AbstractIllager > Raider { }
AbstractMinecart > Entity { optional "CustomDisplayTile" as custom_display_tile: bool, optional "DisplayOffset" as display_offset: i32, optional "DisplayState" as display_state: super::BlockState }
AbstractMinecartContainer > AbstractMinecart { optional "Items" as items: Vec<super::compounds::ItemStack_save_2>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
AbstractPiglin > Monster { optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
AbstractSchoolingFish > AbstractFish { }
AbstractSkeleton > Monster { }
AbstractVillager > AgeableMob { "Inventory" as inventory: Vec<super::compounds::ItemStack_save>, optional "Offers" as offers: super::compounds::MerchantOffers_createTag }
AgeableMob > PathfinderMob { "Age" as age: i32, "ForcedAge" as forced_age: i32 }
Allay > PathfinderMob { "CanDuplicate" as can_duplicate: bool, "DuplicationCooldown" as duplication_cooldown: i64, "Inventory" as inventory: Vec<super::compounds::ItemStack_save>, optional "listener" as listener: fastnbt::Value }
AmbientCreature > Mob { }
Animal > AgeableMob { "InLove" as in_love: i32, optional "LoveCause" as love_cause: u128 }
AreaEffectCloud > Entity { "Age" as age: i32, optional "Color" as color: i32, "Duration" as duration: i32, "DurationOnUse" as duration_on_use: i32, optional "Effects" as effects: Vec<super::compounds::MobEffectInstance_save>, optional "Owner" as owner: u128, "Particle" as particle: CowStr, optional "Potion" as potion: CowStr, "Radius" as radius: f32, "RadiusOnUse" as radius_on_use: f32, "RadiusPerTick" as radius_per_tick: f32, "ReapplicationDelay" as reapplication_delay: i32, "WaitTime" as wait_time: i32 }
ArmorStand > LivingEntity { "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save_1>, "DisabledSlots" as disabled_slots: i32, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save_1>, "Invisible" as invisible: bool, optional "Marker" as marker: bool, "NoBasePlate" as no_base_plate: bool, "Pose" as pose: super::compounds::ArmorStand_writePose, "ShowArms" as show_arms: bool, "Small" as small: bool }
Arrow > AbstractArrow { optional "Color" as color: i32, optional "CustomPotionEffects" as custom_potion_effects: Vec<super::compounds::MobEffectInstance_save>, optional "Potion" as potion: CowStr }
Axolotl > Animal { "FromBucket" as from_bucket: bool, "Variant" as variant: i32 }
Bat > AmbientCreature { "BatFlags" as bat_flags: i8 }
Bee > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CannotEnterHiveTicks" as cannot_enter_hive_ticks: i32, "CropsGrownSincePollination" as crops_grown_since_pollination: i32, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos, "HasNectar" as has_nectar: bool, "HasStung" as has_stung: bool, optional "HivePos" as hive_pos: super::compounds::NbtUtils_writeBlockPos, "TicksSincePollination" as ticks_since_pollination: i32 }
Blaze > Monster { }
Boat > Entity { "Type" as r#type: CowStr }
Cat > TamableAnimal { "CollarColor" as collar_color: i8, "variant" as variant: CowStr }
CaveSpider > Spider { }
ChestBoat > Boat { optional "Items" as items: Vec<super::compounds::ItemStack_save_2>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
Chicken > Animal { "EggLayTime" as egg_lay_time: i32, "IsChickenJockey" as is_chicken_jockey: bool }
Cod > AbstractSchoolingFish { }
Cow > Animal { }
Creeper > Monster { "ExplosionRadius" as explosion_radius: i8, "Fuse" as fuse: i16, "ignited" as ignited: bool, optional "powered" as powered: bool }
Dolphin > WaterAnimal { "GotFish" as got_fish: bool, "Moistness" as moistness: i32, "TreasurePosX" as treasure_pos_x: i32, "TreasurePosY" as treasure_pos_y: i32, "TreasurePosZ" as treasure_pos_z: i32 }
Donkey > AbstractChestedHorse { }
DragonFireball > AbstractHurtingProjectile { }
Drowned > Zombie { }
ElderGuardian > Guardian { }
EndCrystal > Entity { optional "BeamTarget" as beam_target: super::compounds::NbtUtils_writeBlockPos, "ShowBottom" as show_bottom: bool }
EnderDragon > Mob { "DragonDeathTime" as dragon_death_time: i32, "DragonPhase" as dragon_phase: i32 }
EnderMan > Monster { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, optional "carriedBlockState" as carried_block_state: super::BlockState }
Endermite > Monster { "Lifetime" as lifetime: i32 }
Entity { "Air" as air: i16, optional "CustomName" as custom_name: CowStr, optional "CustomNameVisible" as custom_name_visible: bool, "FallDistance" as fall_distance: f32, "Fire" as fire: i16, optional "Glowing" as glowing: bool, optional "HasVisualFire" as has_visual_fire: bool, "Invulnerable" as invulnerable: bool, "Motion" as motion: Vec<f64>, optional "NoGravity" as no_gravity: bool, "OnGround" as on_ground: bool, optional "Passengers" as passengers: Vec<Box<super::Entity>>, "PortalCooldown" as portal_cooldown: i32, optional "Pos" as pos: Vec<f64>, "Rotation" as rotation: Vec<f32>, optional "Silent" as silent: bool, optional "Tags" as tags: Vec<CowStr>, optional "TicksFrozen" as ticks_frozen: i32, "UUID" as uuid: u128 }
Evoker > SpellcasterIllager { }
EvokerFangs > Entity { optional "Owner" as owner: u128, "Warmup" as warmup: i32 }
ExperienceOrb > Entity { "Age" as age: i16, "Count" as count: i32, "Health" as health: i16, "Value" as value: i16 }
EyeOfEnder > Entity { optional "Item" as item: super::compounds::ItemStack_save }
FallingBlockEntity > Entity { "BlockState" as block_state: super::BlockState, "DropItem" as drop_item: bool, "FallHurtAmount" as fall_hurt_amount: f32, "FallHurtMax" as fall_hurt_max: i32, "HurtEntities" as hurt_entities: bool, optional "TileEntityData" as tile_entity_data: HashMap<CowStr, fastnbt::Value>, "Time" as time: i32 }
Fireball > AbstractHurtingProjectile { optional "Item" as item: super::compounds::ItemStack_save }
FireworkRocketEntity > Projectile { optional "FireworksItem" as fireworks_item: super::compounds::ItemStack_save, "Life" as life: i32, "LifeTime" as life_time: i32, "ShotAtAngle" as shot_at_angle: bool }
FishingHook > Projectile { }
FlyingMob > Mob { }
Fox > Animal { "Crouching" as crouching: bool, "Sitting" as sitting: bool, "Sleeping" as sleeping: bool, "Trusted" as trusted: Vec<fastnbt::IntArray>, "Type" as r#type: CowStr }
Frog > Animal { "variant" as variant: CowStr }
Ghast > FlyingMob { "ExplosionPower" as explosion_power: i8 }
Giant > Monster { }
GlowItemFrame > ItemFrame { }
GlowSquid > Squid { "DarkTicksRemaining" as dark_ticks_remaining: i32 }
Goat > Animal { "HasLeftHorn" as has_left_horn: bool, "HasRightHorn" as has_right_horn: bool, "IsScreamingGoat" as is_screaming_goat: bool }
Guardian > Monster { }
HangingEntity > Entity { "TileX" as tile_x: i32, "TileY" as tile_y: i32, "TileZ" as tile_z: i32 }
Hoglin > Animal { optional "CannotBeHunted" as cannot_be_hunted: bool, optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
Horse > AbstractHorse { optional "ArmorItem" as armor_item: super::compounds::ItemStack_save, "Variant" as variant: i32 }
Husk > Zombie { }
Illusioner > SpellcasterIllager { }
IronGolem > AbstractGolem { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "PlayerCreated" as player_created: bool }
ItemEntity > Entity { "Age" as age: i16, "Health" as health: i16, optional "Item" as item: super::compounds::ItemStack_save, optional "Owner" as owner: u128, "PickupDelay" as pickup_delay: i16, optional "Thrower" as thrower: u128 }
ItemFrame > HangingEntity { "Facing" as facing: i8, "Fixed" as fixed: bool, "Invisible" as invisible: bool, optional "Item" as item: super::compounds::ItemStack_save, optional "ItemDropChance" as item_drop_chance: f32, optional "ItemRotation" as item_rotation: i8 }
LargeFireball > Fireball { "ExplosionPower" as explosion_power: i8 }
LeashFenceKnotEntity > HangingEntity { }
LightningBolt > Entity { }
LivingEntity > Entity { "AbsorptionAmount" as absorption_amount: f32, optional "ActiveEffects" as active_effects: Vec<super::compounds::MobEffectInstance_save>, "Attributes" as attributes: Vec<super::compounds::AttributeInstance_save>, optional "Brain" as brain: fastnbt::Value, "DeathTime" as death_time: i16, "FallFlying" as fall_flying: bool, "Health" as health: f32, "HurtByTimestamp" as hurt_by_timestamp: i32, "HurtTime" as hurt_time: i16, optional "SleepingX" as sleeping_x: i32, optional "SleepingY" as sleeping_y: i32, optional "SleepingZ" as sleeping_z: i32 }
Llama > AbstractChestedHorse { optional "DecorItem" as decor_item: super::compounds::ItemStack_save, "Strength" as strength: i32, "Variant" as variant: i32 }
LlamaSpit > Projectile { }
MagmaCube > Slime { }
Marker > Entity { "data" as data: HashMap<CowStr, fastnbt::Value> }
Minecart > AbstractMinecart { }
MinecartChest > AbstractMinecartContainer { }
MinecartCommandBlock > AbstractMinecart { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool }
MinecartFurnace > AbstractMinecart { "Fuel" as fuel: i16, "PushX" as push_x: f64, "PushZ" as push_z: f64 }
MinecartHopper > AbstractMinecartContainer { "Enabled" as enabled: bool, "TransferCooldown" as transfer_cooldown: i32 }
MinecartSpawner > AbstractMinecart { "Delay" as delay: i16, "MaxNearbyEntities" as max_nearby_entities: i16, "MaxSpawnDelay" as max_spawn_delay: i16, "MinSpawnDelay" as min_spawn_delay: i16, "RequiredPlayerRange" as required_player_range: i16, "SpawnCount" as spawn_count: i16, "SpawnData" as spawn_data: fastnbt::Value, "SpawnPotentials" as spawn_potentials: fastnbt::Value, "SpawnRange" as spawn_range: i16 }
MinecartTNT > AbstractMinecart { "TNTFuse" as tnt_fuse: i32 }
Mob > LivingEntity { "ArmorDropChances" as armor_drop_chances: Vec<f32>, "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save_1>, "CanPickUpLoot" as can_pick_up_loot: bool, optional "DeathLootTable" as death_loot_table: CowStr, optional "DeathLootTableSeed" as death_loot_table_seed: i64, "HandDropChances" as hand_drop_chances: Vec<f32>, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save_1>, optional "Leash" as leash: super::compounds::Compound2, "LeftHanded" as left_handed: bool, optional "NoAI" as no_ai: bool, "PersistenceRequired" as persistence_required: bool }
Monster > PathfinderMob { }
Mule > AbstractChestedHorse { }
MushroomCow > Cow { optional "EffectDuration" as effect_duration: i32, optional "EffectId" as effect_id: i32, "Type" as r#type: CowStr }
Ocelot > Animal { "Trusting" as trusting: bool }
Painting > HangingEntity { "facing" as facing: i8, "variant" as variant: CowStr }
Panda > Animal { "HiddenGene" as hidden_gene: CowStr, "MainGene" as main_gene: CowStr }
Parrot > ShoulderRidingEntity { "Variant" as variant: i32 }
PathfinderMob > Mob { }
PatrollingMonster > Monster { "PatrolLeader" as patrol_leader: bool, optional "PatrolTarget" as patrol_target: super::compounds::NbtUtils_writeBlockPos, "Patrolling" as patrolling: bool }
Phantom > FlyingMob { "AX" as ax: i32, "AY" as ay: i32, "AZ" as az: i32, "Size" as size: i32 }
Pig > Animal { "Saddle" as saddle: bool }
Piglin > AbstractPiglin { optional "CannotHunt" as cannot_hunt: bool, "Inventory" as inventory: Vec<super::compounds::ItemStack_save>, optional "IsBaby" as is_baby: bool }
PiglinBrute > AbstractPiglin { }
Pillager > AbstractIllager { "Inventory" as inventory: Vec<super::compounds::ItemStack_save> }
PolarBear > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
PrimedTnt > Entity { "Fuse" as fuse: i16 }
Projectile > Entity { "HasBeenShot" as has_been_shot: bool, optional "LeftOwner" as left_owner: bool, optional "Owner" as owner: u128 }
Pufferfish > AbstractFish { "PuffState" as puff_state: i32 }
Rabbit > Animal { "MoreCarrotTicks" as more_carrot_ticks: i32, "RabbitType" as rabbit_type: i32 }
Raider > PatrollingMonster { "CanJoinRaid" as can_join_raid: bool, optional "RaidId" as raid_id: i32, "Wave" as wave: i32 }
Ravager > Raider { "AttackTick" as attack_tick: i32, "RoarTick" as roar_tick: i32, "StunTick" as stun_tick: i32 }
Salmon > AbstractSchoolingFish { }
Sheep > Animal { "Color" as color: i8, "Sheared" as sheared: bool }
ShoulderRidingEntity > TamableAnimal { }
Shulker > AbstractGolem { "AttachFace" as attach_face: i8, "Color" as color: i8, "Peek" as peek: i8 }
ShulkerBullet > Projectile { optional "Dir" as dir: i32, "Steps" as steps: i32, "TXD" as txd: f64, "TYD" as tyd: f64, "TZD" as tzd: f64, optional "Target" as target: u128 }
Silverfish > Monster { }
Skeleton > AbstractSkeleton { "StrayConversionTime" as stray_conversion_time: i32 }
SkeletonHorse > AbstractHorse { "SkeletonTrap" as skeleton_trap: bool, "SkeletonTrapTime" as skeleton_trap_time: i32 }
Slime > Mob { "Size" as size: i32, "wasOnGround" as was_on_ground: bool }
SmallFireball > Fireball { }
SnowGolem > AbstractGolem { "Pumpkin" as pumpkin: bool }
Snowball > ThrowableItemProjectile { }
SpectralArrow > AbstractArrow { "Duration" as duration: i32 }
SpellcasterIllager > AbstractIllager { "SpellTicks" as spell_ticks: i32 }
Spider > Monster { }
Squid > WaterAnimal { }
Stray > AbstractSkeleton { }
Strider > Animal { "Saddle" as saddle: bool }
Tadpole > AbstractFish { "Age" as age: i32 }
TamableAnimal > Animal { optional "Owner" as owner: u128, "Sitting" as sitting: bool }
ThrowableItemProjectile > ThrowableProjectile { optional "Item" as item: super::compounds::ItemStack_save }
ThrowableProjectile > Projectile { }
ThrownEgg > ThrowableItemProjectile { }
ThrownEnderpearl > ThrowableItemProjectile { }
ThrownExperienceBottle > ThrowableItemProjectile { }
ThrownPotion > ThrowableItemProjectile { }
ThrownTrident > AbstractArrow { "DealtDamage" as dealt_damage: bool, "Trident" as trident: super::compounds::ItemStack_save }
TraderLlama > Llama { "DespawnDelay" as despawn_delay: i32 }
TropicalFish > AbstractSchoolingFish { "Variant" as variant: i32 }
Turtle > Animal { "HasEgg" as has_egg: bool, "HomePosX" as home_pos_x: i32, "HomePosY" as home_pos_y: i32, "HomePosZ" as home_pos_z: i32, "TravelPosX" as travel_pos_x: i32, "TravelPosY" as travel_pos_y: i32, "TravelPosZ" as travel_pos_z: i32 }
Vex > Monster { optional "BoundX" as bound_x: i32, optional "BoundY" as bound_y: i32, optional "BoundZ" as bound_z: i32, optional "LifeTicks" as life_ticks: i32 }
Villager > AbstractVillager { optional "AssignProfessionWhenSpawned" as assign_profession_when_spawned: bool, "FoodLevel" as food_level: i8, "Gossips" as gossips: fastnbt::Value, "LastGossipDecay" as last_gossip_decay: i64, "LastRestock" as last_restock: i64, "RestocksToday" as restocks_today: i32, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
Vindicator > AbstractIllager { optional "Johnny" as johnny: bool }
WanderingTrader > AbstractVillager { "DespawnDelay" as despawn_delay: i32, optional "WanderTarget" as wander_target: super::compounds::NbtUtils_writeBlockPos }
Warden > Monster { optional "anger" as anger: fastnbt::Value, optional "listener" as listener: fastnbt::Value }
WaterAnimal > PathfinderMob { }
Witch > Raider { }
WitherBoss > Monster { "Invul" as invul: i32 }
WitherSkeleton > AbstractSkeleton { }
WitherSkull > AbstractHurtingProjectile { }
Wolf > TamableAnimal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CollarColor" as collar_color: i8 }
Zoglin > Monster { optional "IsBaby" as is_baby: bool }
Zombie > Monster { "CanBreakDoors" as can_break_doors: bool, "DrownedConversionTime" as drowned_conversion_time: i32, "InWaterTime" as in_water_time: i32, "IsBaby" as is_baby: bool }
ZombieHorse > AbstractHorse { }
ZombieVillager > Zombie { optional "ConversionPlayer" as conversion_player: u128, "ConversionTime" as conversion_time: i32, optional "Gossips" as gossips: fastnbt::Value, optional "Offers" as offers: HashMap<CowStr, fastnbt::Value>, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
ZombifiedPiglin > Zombie { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
}
entity_compound_types! {
"1.19.1";
ArmorStand_writePose { optional "Body" as body: Vec<f32>, optional "Head" as head: Vec<f32>, optional "LeftArm" as left_arm: Vec<f32>, optional "LeftLeg" as left_leg: Vec<f32>, optional "RightArm" as right_arm: Vec<f32>, optional "RightLeg" as right_leg: Vec<f32> }
AttributeInstance_save { "Base" as base: f64, optional "Modifiers" as modifiers: Vec<super::compounds::AttributeModifier_save>, "Name" as name: CowStr }
AttributeModifier_save { "Amount" as amount: f64, "Name" as name: CowStr, "Operation" as operation: i32, "UUID" as uuid: u128 }
Compound2 { optional "UUID" as uuid: u128, optional "X" as x: i32, optional "Y" as y: i32, optional "Z" as z: i32 }
ItemStack_save { "Count" as count: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_1 { optional "Count" as count: i8, optional "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_2 { "Count" as count: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
MerchantOffer_createTag { "buy" as buy: super::compounds::ItemStack_save, "buyB" as buy_b: super::compounds::ItemStack_save, "demand" as demand: i32, "maxUses" as max_uses: i32, "priceMultiplier" as price_multiplier: f32, "rewardExp" as reward_exp: bool, "sell" as sell: super::compounds::ItemStack_save, "specialPrice" as special_price: i32, "uses" as uses: i32, "xp" as xp: i32 }
MerchantOffers_createTag { "Recipes" as recipes: Vec<super::compounds::MerchantOffer_createTag> }
MobEffectInstance_save { "Ambient" as ambient: bool, "Amplifier" as amplifier: i8, "Duration" as duration: i32, optional "FactorCalculationData" as factor_calculation_data: fastnbt::Value, optional "HiddenEffect" as hidden_effect: Box<super::compounds::MobEffectInstance_save>, "Id" as id: i32, "ShowIcon" as show_icon: bool, "ShowParticles" as show_particles: bool }
NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
}
}
/// Accompanying types for entities in Minecraft 1.19.3.
#[cfg(feature = "1.19.3")]
pub mod mc1_19_3 {
entities! {
"1.19.3", mc1_19_3;
"minecraft:allay", Allay: Allay;
"minecraft:area_effect_cloud", AreaEffectCloud: AreaEffectCloud;
"minecraft:armor_stand", ArmorStand: ArmorStand;
"minecraft:arrow", Arrow: Arrow;
"minecraft:axolotl", Axolotl: Axolotl;
"minecraft:bat", Bat: Bat;
"minecraft:bee", Bee: Bee;
"minecraft:blaze", Blaze: Blaze;
"minecraft:boat", Boat: Boat;
experimental "minecraft:camel", Camel: Camel;
"minecraft:cat", Cat: Cat;
"minecraft:cave_spider", CaveSpider: CaveSpider;
"minecraft:chest_boat", ChestBoat: ChestBoat;
"minecraft:chest_minecart", ChestMinecart: MinecartChest;
"minecraft:chicken", Chicken: Chicken;
"minecraft:cod", Cod: Cod;
"minecraft:command_block_minecart", CommandBlockMinecart: MinecartCommandBlock;
"minecraft:cow", Cow: Cow;
"minecraft:creeper", Creeper: Creeper;
"minecraft:dolphin", Dolphin: Dolphin;
"minecraft:donkey", Donkey: Donkey;
"minecraft:dragon_fireball", DragonFireball: DragonFireball;
"minecraft:drowned", Drowned: Drowned;
"minecraft:egg", Egg: ThrownEgg;
"minecraft:elder_guardian", ElderGuardian: ElderGuardian;
"minecraft:end_crystal", EndCrystal: EndCrystal;
"minecraft:ender_dragon", EnderDragon: EnderDragon;
"minecraft:ender_pearl", EnderPearl: ThrownEnderpearl;
"minecraft:enderman", Enderman: EnderMan;
"minecraft:endermite", Endermite: Endermite;
"minecraft:evoker", Evoker: Evoker;
"minecraft:evoker_fangs", EvokerFangs: EvokerFangs;
"minecraft:experience_bottle", ExperienceBottle: ThrownExperienceBottle;
"minecraft:experience_orb", ExperienceOrb: ExperienceOrb;
"minecraft:eye_of_ender", EyeOfEnder: EyeOfEnder;
"minecraft:falling_block", FallingBlock: FallingBlockEntity;
"minecraft:fireball", Fireball: LargeFireball;
"minecraft:firework_rocket", FireworkRocket: FireworkRocketEntity;
"minecraft:fishing_bobber", FishingBobber: FishingHook;
"minecraft:fox", Fox: Fox;
"minecraft:frog", Frog: Frog;
"minecraft:furnace_minecart", FurnaceMinecart: MinecartFurnace;
"minecraft:ghast", Ghast: Ghast;
"minecraft:giant", Giant: Giant;
"minecraft:glow_item_frame", GlowItemFrame: GlowItemFrame;
"minecraft:glow_squid", GlowSquid: GlowSquid;
"minecraft:goat", Goat: Goat;
"minecraft:guardian", Guardian: Guardian;
"minecraft:hoglin", Hoglin: Hoglin;
"minecraft:hopper_minecart", HopperMinecart: MinecartHopper;
"minecraft:horse", Horse: Horse;
"minecraft:husk", Husk: Husk;
"minecraft:illusioner", Illusioner: Illusioner;
"minecraft:iron_golem", IronGolem: IronGolem;
"minecraft:item", Item: ItemEntity;
"minecraft:item_frame", ItemFrame: ItemFrame;
"minecraft:leash_knot", LeashKnot: LeashFenceKnotEntity;
"minecraft:lightning_bolt", LightningBolt: LightningBolt;
"minecraft:llama", Llama: Llama;
"minecraft:llama_spit", LlamaSpit: LlamaSpit;
"minecraft:magma_cube", MagmaCube: MagmaCube;
"minecraft:marker", Marker: Marker;
"minecraft:minecart", Minecart: Minecart;
"minecraft:mooshroom", Mooshroom: MushroomCow;
"minecraft:mule", Mule: Mule;
"minecraft:ocelot", Ocelot: Ocelot;
"minecraft:painting", Painting: Painting;
"minecraft:panda", Panda: Panda;
"minecraft:parrot", Parrot: Parrot;
"minecraft:phantom", Phantom: Phantom;
"minecraft:pig", Pig: Pig;
"minecraft:piglin", Piglin: Piglin;
"minecraft:piglin_brute", PiglinBrute: PiglinBrute;
"minecraft:pillager", Pillager: Pillager;
"minecraft:polar_bear", PolarBear: PolarBear;
"minecraft:potion", Potion: ThrownPotion;
"minecraft:pufferfish", Pufferfish: Pufferfish;
"minecraft:rabbit", Rabbit: Rabbit;
"minecraft:ravager", Ravager: Ravager;
"minecraft:salmon", Salmon: Salmon;
"minecraft:sheep", Sheep: Sheep;
"minecraft:shulker", Shulker: Shulker;
"minecraft:shulker_bullet", ShulkerBullet: ShulkerBullet;
"minecraft:silverfish", Silverfish: Silverfish;
"minecraft:skeleton", Skeleton: Skeleton;
"minecraft:skeleton_horse", SkeletonHorse: SkeletonHorse;
"minecraft:slime", Slime: Slime;
"minecraft:small_fireball", SmallFireball: SmallFireball;
"minecraft:snow_golem", SnowGolem: SnowGolem;
"minecraft:snowball", Snowball: Snowball;
"minecraft:spawner_minecart", SpawnerMinecart: MinecartSpawner;
"minecraft:spectral_arrow", SpectralArrow: SpectralArrow;
"minecraft:spider", Spider: Spider;
"minecraft:squid", Squid: Squid;
"minecraft:stray", Stray: Stray;
"minecraft:strider", Strider: Strider;
"minecraft:tadpole", Tadpole: Tadpole;
"minecraft:tnt", Tnt: PrimedTnt;
"minecraft:tnt_minecart", TntMinecart: MinecartTNT;
"minecraft:trader_llama", TraderLlama: TraderLlama;
"minecraft:trident", Trident: ThrownTrident;
"minecraft:tropical_fish", TropicalFish: TropicalFish;
"minecraft:turtle", Turtle: Turtle;
"minecraft:vex", Vex: Vex;
"minecraft:villager", Villager: Villager;
"minecraft:vindicator", Vindicator: Vindicator;
"minecraft:wandering_trader", WanderingTrader: WanderingTrader;
"minecraft:warden", Warden: Warden;
"minecraft:witch", Witch: Witch;
"minecraft:wither", Wither: WitherBoss;
"minecraft:wither_skeleton", WitherSkeleton: WitherSkeleton;
"minecraft:wither_skull", WitherSkull: WitherSkull;
"minecraft:wolf", Wolf: Wolf;
"minecraft:zoglin", Zoglin: Zoglin;
"minecraft:zombie", Zombie: Zombie;
"minecraft:zombie_horse", ZombieHorse: ZombieHorse;
"minecraft:zombie_villager", ZombieVillager: ZombieVillager;
"minecraft:zombified_piglin", ZombifiedPiglin: ZombifiedPiglin;
}
entity_types! {
"1.19.3";
AbstractArrow > Projectile { "PierceLevel" as pierce_level: i8, "ShotFromCrossbow" as shot_from_crossbow: bool, "SoundEvent" as sound_event: CowStr, "crit" as crit: bool, "damage" as damage: f64, optional "inBlockState" as in_block_state: super::BlockState, "inGround" as in_ground: bool, "life" as life: i16, "pickup" as pickup: i8, "shake" as shake: i8 }
AbstractChestedHorse > AbstractHorse { "ChestedHorse" as chested_horse: bool, optional "Items" as items: Vec<super::compounds::ItemStack_save_2> }
AbstractFish > WaterAnimal { "FromBucket" as from_bucket: bool }
AbstractGolem > PathfinderMob { }
AbstractHorse > Animal { "Bred" as bred: bool, "EatingHaystack" as eating_haystack: bool, optional "Owner" as owner: u128, optional "SaddleItem" as saddle_item: super::compounds::ItemStack_save, "Tame" as tame: bool, "Temper" as temper: i32 }
AbstractHurtingProjectile > Projectile { "power" as power: Vec<f64> }
AbstractIllager > Raider { }
AbstractMinecart > Entity { optional "CustomDisplayTile" as custom_display_tile: bool, optional "DisplayOffset" as display_offset: i32, optional "DisplayState" as display_state: super::BlockState }
AbstractMinecartContainer > AbstractMinecart { optional "Items" as items: Vec<super::compounds::ItemStack_save_2>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
AbstractPiglin > Monster { optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
AbstractSchoolingFish > AbstractFish { }
AbstractSkeleton > Monster { }
AbstractVillager > AgeableMob { "Inventory" as inventory: Vec<super::compounds::ItemStack_save>, optional "Offers" as offers: super::compounds::MerchantOffers_createTag }
AgeableMob > PathfinderMob { "Age" as age: i32, "ForcedAge" as forced_age: i32 }
Allay > PathfinderMob { "CanDuplicate" as can_duplicate: bool, "DuplicationCooldown" as duplication_cooldown: i64, "Inventory" as inventory: Vec<super::compounds::ItemStack_save>, optional "listener" as listener: fastnbt::Value }
AmbientCreature > Mob { }
Animal > AgeableMob { "InLove" as in_love: i32, optional "LoveCause" as love_cause: u128 }
AreaEffectCloud > Entity { "Age" as age: i32, optional "Color" as color: i32, "Duration" as duration: i32, "DurationOnUse" as duration_on_use: i32, optional "Effects" as effects: Vec<super::compounds::MobEffectInstance_save>, optional "Owner" as owner: u128, "Particle" as particle: CowStr, optional "Potion" as potion: CowStr, "Radius" as radius: f32, "RadiusOnUse" as radius_on_use: f32, "RadiusPerTick" as radius_per_tick: f32, "ReapplicationDelay" as reapplication_delay: i32, "WaitTime" as wait_time: i32 }
ArmorStand > LivingEntity { "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save_1>, "DisabledSlots" as disabled_slots: i32, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save_1>, "Invisible" as invisible: bool, optional "Marker" as marker: bool, "NoBasePlate" as no_base_plate: bool, "Pose" as pose: super::compounds::ArmorStand_writePose, "ShowArms" as show_arms: bool, "Small" as small: bool }
Arrow > AbstractArrow { optional "Color" as color: i32, optional "CustomPotionEffects" as custom_potion_effects: Vec<super::compounds::MobEffectInstance_save>, optional "Potion" as potion: CowStr }
Axolotl > Animal { "FromBucket" as from_bucket: bool, "Variant" as variant: i32 }
Bat > AmbientCreature { "BatFlags" as bat_flags: i8 }
Bee > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CannotEnterHiveTicks" as cannot_enter_hive_ticks: i32, "CropsGrownSincePollination" as crops_grown_since_pollination: i32, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos, "HasNectar" as has_nectar: bool, "HasStung" as has_stung: bool, optional "HivePos" as hive_pos: super::compounds::NbtUtils_writeBlockPos, "TicksSincePollination" as ticks_since_pollination: i32 }
Blaze > Monster { }
Boat > Entity { "Type" as r#type: CowStr }
Camel > AbstractHorse { "IsSitting" as is_sitting: bool, "LastPoseTick" as last_pose_tick: i64 }
Cat > TamableAnimal { "CollarColor" as collar_color: i8, "variant" as variant: CowStr }
CaveSpider > Spider { }
ChestBoat > Boat { optional "Items" as items: Vec<super::compounds::ItemStack_save_2>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
Chicken > Animal { "EggLayTime" as egg_lay_time: i32, "IsChickenJockey" as is_chicken_jockey: bool }
Cod > AbstractSchoolingFish { }
Cow > Animal { }
Creeper > Monster { "ExplosionRadius" as explosion_radius: i8, "Fuse" as fuse: i16, "ignited" as ignited: bool, optional "powered" as powered: bool }
Dolphin > WaterAnimal { "GotFish" as got_fish: bool, "Moistness" as moistness: i32, "TreasurePosX" as treasure_pos_x: i32, "TreasurePosY" as treasure_pos_y: i32, "TreasurePosZ" as treasure_pos_z: i32 }
Donkey > AbstractChestedHorse { }
DragonFireball > AbstractHurtingProjectile { }
Drowned > Zombie { }
ElderGuardian > Guardian { }
EndCrystal > Entity { optional "BeamTarget" as beam_target: super::compounds::NbtUtils_writeBlockPos, "ShowBottom" as show_bottom: bool }
EnderDragon > Mob { "DragonDeathTime" as dragon_death_time: i32, "DragonPhase" as dragon_phase: i32 }
EnderMan > Monster { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, optional "carriedBlockState" as carried_block_state: super::BlockState }
Endermite > Monster { "Lifetime" as lifetime: i32 }
Entity { "Air" as air: i16, optional "CustomName" as custom_name: CowStr, optional "CustomNameVisible" as custom_name_visible: bool, "FallDistance" as fall_distance: f32, "Fire" as fire: i16, optional "Glowing" as glowing: bool, optional "HasVisualFire" as has_visual_fire: bool, "Invulnerable" as invulnerable: bool, "Motion" as motion: Vec<f64>, optional "NoGravity" as no_gravity: bool, "OnGround" as on_ground: bool, optional "Passengers" as passengers: Vec<Box<super::Entity>>, "PortalCooldown" as portal_cooldown: i32, optional "Pos" as pos: Vec<f64>, "Rotation" as rotation: Vec<f32>, optional "Silent" as silent: bool, optional "Tags" as tags: Vec<CowStr>, optional "TicksFrozen" as ticks_frozen: i32, "UUID" as uuid: u128 }
Evoker > SpellcasterIllager { }
EvokerFangs > Entity { optional "Owner" as owner: u128, "Warmup" as warmup: i32 }
ExperienceOrb > Entity { "Age" as age: i16, "Count" as count: i32, "Health" as health: i16, "Value" as value: i16 }
EyeOfEnder > Entity { optional "Item" as item: super::compounds::ItemStack_save }
FallingBlockEntity > Entity { "BlockState" as block_state: super::BlockState, "DropItem" as drop_item: bool, "FallHurtAmount" as fall_hurt_amount: f32, "FallHurtMax" as fall_hurt_max: i32, "HurtEntities" as hurt_entities: bool, optional "TileEntityData" as tile_entity_data: HashMap<CowStr, fastnbt::Value>, "Time" as time: i32 }
Fireball > AbstractHurtingProjectile { optional "Item" as item: super::compounds::ItemStack_save }
FireworkRocketEntity > Projectile { optional "FireworksItem" as fireworks_item: super::compounds::ItemStack_save, "Life" as life: i32, "LifeTime" as life_time: i32, "ShotAtAngle" as shot_at_angle: bool }
FishingHook > Projectile { }
FlyingMob > Mob { }
Fox > Animal { "Crouching" as crouching: bool, "Sitting" as sitting: bool, "Sleeping" as sleeping: bool, "Trusted" as trusted: Vec<fastnbt::IntArray>, "Type" as r#type: CowStr }
Frog > Animal { "variant" as variant: CowStr }
Ghast > FlyingMob { "ExplosionPower" as explosion_power: i8 }
Giant > Monster { }
GlowItemFrame > ItemFrame { }
GlowSquid > Squid { "DarkTicksRemaining" as dark_ticks_remaining: i32 }
Goat > Animal { "HasLeftHorn" as has_left_horn: bool, "HasRightHorn" as has_right_horn: bool, "IsScreamingGoat" as is_screaming_goat: bool }
Guardian > Monster { }
HangingEntity > Entity { "TileX" as tile_x: i32, "TileY" as tile_y: i32, "TileZ" as tile_z: i32 }
Hoglin > Animal { optional "CannotBeHunted" as cannot_be_hunted: bool, optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
Horse > AbstractHorse { optional "ArmorItem" as armor_item: super::compounds::ItemStack_save, "Variant" as variant: i32 }
Husk > Zombie { }
Illusioner > SpellcasterIllager { }
IronGolem > AbstractGolem { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "PlayerCreated" as player_created: bool }
ItemEntity > Entity { "Age" as age: i16, "Health" as health: i16, optional "Item" as item: super::compounds::ItemStack_save, optional "Owner" as owner: u128, "PickupDelay" as pickup_delay: i16, optional "Thrower" as thrower: u128 }
ItemFrame > HangingEntity { "Facing" as facing: i8, "Fixed" as fixed: bool, "Invisible" as invisible: bool, optional "Item" as item: super::compounds::ItemStack_save, optional "ItemDropChance" as item_drop_chance: f32, optional "ItemRotation" as item_rotation: i8 }
LargeFireball > Fireball { "ExplosionPower" as explosion_power: i8 }
LeashFenceKnotEntity > HangingEntity { }
LightningBolt > Entity { }
LivingEntity > Entity { "AbsorptionAmount" as absorption_amount: f32, optional "ActiveEffects" as active_effects: Vec<super::compounds::MobEffectInstance_save>, "Attributes" as attributes: Vec<super::compounds::AttributeInstance_save>, optional "Brain" as brain: fastnbt::Value, "DeathTime" as death_time: i16, "FallFlying" as fall_flying: bool, "Health" as health: f32, "HurtByTimestamp" as hurt_by_timestamp: i32, "HurtTime" as hurt_time: i16, optional "SleepingX" as sleeping_x: i32, optional "SleepingY" as sleeping_y: i32, optional "SleepingZ" as sleeping_z: i32 }
Llama > AbstractChestedHorse { optional "DecorItem" as decor_item: super::compounds::ItemStack_save, "Strength" as strength: i32, "Variant" as variant: i32 }
LlamaSpit > Projectile { }
MagmaCube > Slime { }
Marker > Entity { "data" as data: HashMap<CowStr, fastnbt::Value> }
Minecart > AbstractMinecart { }
MinecartChest > AbstractMinecartContainer { }
MinecartCommandBlock > AbstractMinecart { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool }
MinecartFurnace > AbstractMinecart { "Fuel" as fuel: i16, "PushX" as push_x: f64, "PushZ" as push_z: f64 }
MinecartHopper > AbstractMinecartContainer { "Enabled" as enabled: bool, "TransferCooldown" as transfer_cooldown: i32 }
MinecartSpawner > AbstractMinecart { "Delay" as delay: i16, "MaxNearbyEntities" as max_nearby_entities: i16, "MaxSpawnDelay" as max_spawn_delay: i16, "MinSpawnDelay" as min_spawn_delay: i16, "RequiredPlayerRange" as required_player_range: i16, "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: fastnbt::Value, "SpawnPotentials" as spawn_potentials: fastnbt::Value, "SpawnRange" as spawn_range: i16 }
MinecartTNT > AbstractMinecart { "TNTFuse" as tnt_fuse: i32 }
Mob > LivingEntity { "ArmorDropChances" as armor_drop_chances: Vec<f32>, "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save_1>, "CanPickUpLoot" as can_pick_up_loot: bool, optional "DeathLootTable" as death_loot_table: CowStr, optional "DeathLootTableSeed" as death_loot_table_seed: i64, "HandDropChances" as hand_drop_chances: Vec<f32>, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save_1>, optional "Leash" as leash: super::compounds::Compound2, "LeftHanded" as left_handed: bool, optional "NoAI" as no_ai: bool, "PersistenceRequired" as persistence_required: bool }
Monster > PathfinderMob { }
Mule > AbstractChestedHorse { }
MushroomCow > Cow { optional "EffectDuration" as effect_duration: i32, optional "EffectId" as effect_id: i32, "Type" as r#type: CowStr }
Ocelot > Animal { "Trusting" as trusting: bool }
Painting > HangingEntity { "facing" as facing: i8, "variant" as variant: CowStr }
Panda > Animal { "HiddenGene" as hidden_gene: CowStr, "MainGene" as main_gene: CowStr }
Parrot > ShoulderRidingEntity { "Variant" as variant: i32 }
PathfinderMob > Mob { }
PatrollingMonster > Monster { "PatrolLeader" as patrol_leader: bool, optional "PatrolTarget" as patrol_target: super::compounds::NbtUtils_writeBlockPos, "Patrolling" as patrolling: bool }
Phantom > FlyingMob { "AX" as ax: i32, "AY" as ay: i32, "AZ" as az: i32, "Size" as size: i32 }
Pig > Animal { "Saddle" as saddle: bool }
Piglin > AbstractPiglin { optional "CannotHunt" as cannot_hunt: bool, "Inventory" as inventory: Vec<super::compounds::ItemStack_save>, optional "IsBaby" as is_baby: bool }
PiglinBrute > AbstractPiglin { }
Pillager > AbstractIllager { "Inventory" as inventory: Vec<super::compounds::ItemStack_save> }
PolarBear > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
PrimedTnt > Entity { "Fuse" as fuse: i16 }
Projectile > Entity { "HasBeenShot" as has_been_shot: bool, optional "LeftOwner" as left_owner: bool, optional "Owner" as owner: u128 }
Pufferfish > AbstractFish { "PuffState" as puff_state: i32 }
Rabbit > Animal { "MoreCarrotTicks" as more_carrot_ticks: i32, "RabbitType" as rabbit_type: i32 }
Raider > PatrollingMonster { "CanJoinRaid" as can_join_raid: bool, optional "RaidId" as raid_id: i32, "Wave" as wave: i32 }
Ravager > Raider { "AttackTick" as attack_tick: i32, "RoarTick" as roar_tick: i32, "StunTick" as stun_tick: i32 }
Salmon > AbstractSchoolingFish { }
Sheep > Animal { "Color" as color: i8, "Sheared" as sheared: bool }
ShoulderRidingEntity > TamableAnimal { }
Shulker > AbstractGolem { "AttachFace" as attach_face: i8, "Color" as color: i8, "Peek" as peek: i8 }
ShulkerBullet > Projectile { optional "Dir" as dir: i32, "Steps" as steps: i32, "TXD" as txd: f64, "TYD" as tyd: f64, "TZD" as tzd: f64, optional "Target" as target: u128 }
Silverfish > Monster { }
Skeleton > AbstractSkeleton { "StrayConversionTime" as stray_conversion_time: i32 }
SkeletonHorse > AbstractHorse { "SkeletonTrap" as skeleton_trap: bool, "SkeletonTrapTime" as skeleton_trap_time: i32 }
Slime > Mob { "Size" as size: i32, "wasOnGround" as was_on_ground: bool }
SmallFireball > Fireball { }
SnowGolem > AbstractGolem { "Pumpkin" as pumpkin: bool }
Snowball > ThrowableItemProjectile { }
SpectralArrow > AbstractArrow { "Duration" as duration: i32 }
SpellcasterIllager > AbstractIllager { "SpellTicks" as spell_ticks: i32 }
Spider > Monster { }
Squid > WaterAnimal { }
Stray > AbstractSkeleton { }
Strider > Animal { "Saddle" as saddle: bool }
Tadpole > AbstractFish { "Age" as age: i32 }
TamableAnimal > Animal { optional "Owner" as owner: u128, "Sitting" as sitting: bool }
ThrowableItemProjectile > ThrowableProjectile { optional "Item" as item: super::compounds::ItemStack_save }
ThrowableProjectile > Projectile { }
ThrownEgg > ThrowableItemProjectile { }
ThrownEnderpearl > ThrowableItemProjectile { }
ThrownExperienceBottle > ThrowableItemProjectile { }
ThrownPotion > ThrowableItemProjectile { }
ThrownTrident > AbstractArrow { "DealtDamage" as dealt_damage: bool, "Trident" as trident: super::compounds::ItemStack_save }
TraderLlama > Llama { "DespawnDelay" as despawn_delay: i32 }
TropicalFish > AbstractSchoolingFish { "Variant" as variant: i32 }
Turtle > Animal { "HasEgg" as has_egg: bool, "HomePosX" as home_pos_x: i32, "HomePosY" as home_pos_y: i32, "HomePosZ" as home_pos_z: i32, "TravelPosX" as travel_pos_x: i32, "TravelPosY" as travel_pos_y: i32, "TravelPosZ" as travel_pos_z: i32 }
Vex > Monster { optional "BoundX" as bound_x: i32, optional "BoundY" as bound_y: i32, optional "BoundZ" as bound_z: i32, optional "LifeTicks" as life_ticks: i32 }
Villager > AbstractVillager { optional "AssignProfessionWhenSpawned" as assign_profession_when_spawned: bool, "FoodLevel" as food_level: i8, "Gossips" as gossips: fastnbt::Value, "LastGossipDecay" as last_gossip_decay: i64, "LastRestock" as last_restock: i64, "RestocksToday" as restocks_today: i32, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
Vindicator > AbstractIllager { optional "Johnny" as johnny: bool }
WanderingTrader > AbstractVillager { "DespawnDelay" as despawn_delay: i32, optional "WanderTarget" as wander_target: super::compounds::NbtUtils_writeBlockPos }
Warden > Monster { optional "anger" as anger: fastnbt::Value, optional "listener" as listener: fastnbt::Value }
WaterAnimal > PathfinderMob { }
Witch > Raider { }
WitherBoss > Monster { "Invul" as invul: i32 }
WitherSkeleton > AbstractSkeleton { }
WitherSkull > AbstractHurtingProjectile { }
Wolf > TamableAnimal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CollarColor" as collar_color: i8 }
Zoglin > Monster { optional "IsBaby" as is_baby: bool }
Zombie > Monster { "CanBreakDoors" as can_break_doors: bool, "DrownedConversionTime" as drowned_conversion_time: i32, "InWaterTime" as in_water_time: i32, "IsBaby" as is_baby: bool }
ZombieHorse > AbstractHorse { }
ZombieVillager > Zombie { optional "ConversionPlayer" as conversion_player: u128, "ConversionTime" as conversion_time: i32, optional "Gossips" as gossips: fastnbt::Value, optional "Offers" as offers: HashMap<CowStr, fastnbt::Value>, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
ZombifiedPiglin > Zombie { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
}
entity_compound_types! {
"1.19.3";
ArmorStand_writePose { optional "Body" as body: Vec<f32>, optional "Head" as head: Vec<f32>, optional "LeftArm" as left_arm: Vec<f32>, optional "LeftLeg" as left_leg: Vec<f32>, optional "RightArm" as right_arm: Vec<f32>, optional "RightLeg" as right_leg: Vec<f32> }
AttributeInstance_save { "Base" as base: f64, optional "Modifiers" as modifiers: Vec<super::compounds::AttributeModifier_save>, "Name" as name: CowStr }
AttributeModifier_save { "Amount" as amount: f64, "Name" as name: CowStr, "Operation" as operation: i32, "UUID" as uuid: u128 }
Compound2 { optional "UUID" as uuid: u128, optional "X" as x: i32, optional "Y" as y: i32, optional "Z" as z: i32 }
ItemStack_save { "Count" as count: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_1 { optional "Count" as count: i8, optional "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_2 { "Count" as count: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
MerchantOffer_createTag { "buy" as buy: super::compounds::ItemStack_save, "buyB" as buy_b: super::compounds::ItemStack_save, "demand" as demand: i32, "maxUses" as max_uses: i32, "priceMultiplier" as price_multiplier: f32, "rewardExp" as reward_exp: bool, "sell" as sell: super::compounds::ItemStack_save, "specialPrice" as special_price: i32, "uses" as uses: i32, "xp" as xp: i32 }
MerchantOffers_createTag { "Recipes" as recipes: Vec<super::compounds::MerchantOffer_createTag> }
MobEffectInstance_save { "Ambient" as ambient: bool, "Amplifier" as amplifier: i8, "Duration" as duration: i32, optional "FactorCalculationData" as factor_calculation_data: fastnbt::Value, optional "HiddenEffect" as hidden_effect: Box<super::compounds::MobEffectInstance_save>, "Id" as id: i32, "ShowIcon" as show_icon: bool, "ShowParticles" as show_particles: bool }
NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
}
}
/// Accompanying types for entities in Minecraft 1.19.4.
#[cfg(feature = "1.19.4")]
pub mod mc1_19_4 {
entities! {
"1.19.4", mc1_19_4;
"minecraft:allay", Allay: Allay;
"minecraft:area_effect_cloud", AreaEffectCloud: AreaEffectCloud;
"minecraft:armor_stand", ArmorStand: ArmorStand;
"minecraft:arrow", Arrow: Arrow;
"minecraft:axolotl", Axolotl: Axolotl;
"minecraft:bat", Bat: Bat;
"minecraft:bee", Bee: Bee;
"minecraft:blaze", Blaze: Blaze;
"minecraft:block_display", BlockDisplay: BlockDisplay;
"minecraft:boat", Boat: Boat;
experimental "minecraft:camel", Camel: Camel;
"minecraft:cat", Cat: Cat;
"minecraft:cave_spider", CaveSpider: CaveSpider;
"minecraft:chest_boat", ChestBoat: ChestBoat;
"minecraft:chest_minecart", ChestMinecart: MinecartChest;
"minecraft:chicken", Chicken: Chicken;
"minecraft:cod", Cod: Cod;
"minecraft:command_block_minecart", CommandBlockMinecart: MinecartCommandBlock;
"minecraft:cow", Cow: Cow;
"minecraft:creeper", Creeper: Creeper;
"minecraft:dolphin", Dolphin: Dolphin;
"minecraft:donkey", Donkey: Donkey;
"minecraft:dragon_fireball", DragonFireball: DragonFireball;
"minecraft:drowned", Drowned: Drowned;
"minecraft:egg", Egg: ThrownEgg;
"minecraft:elder_guardian", ElderGuardian: ElderGuardian;
"minecraft:end_crystal", EndCrystal: EndCrystal;
"minecraft:ender_dragon", EnderDragon: EnderDragon;
"minecraft:ender_pearl", EnderPearl: ThrownEnderpearl;
"minecraft:enderman", Enderman: EnderMan;
"minecraft:endermite", Endermite: Endermite;
"minecraft:evoker", Evoker: Evoker;
"minecraft:evoker_fangs", EvokerFangs: EvokerFangs;
"minecraft:experience_bottle", ExperienceBottle: ThrownExperienceBottle;
"minecraft:experience_orb", ExperienceOrb: ExperienceOrb;
"minecraft:eye_of_ender", EyeOfEnder: EyeOfEnder;
"minecraft:falling_block", FallingBlock: FallingBlockEntity;
"minecraft:fireball", Fireball: LargeFireball;
"minecraft:firework_rocket", FireworkRocket: FireworkRocketEntity;
"minecraft:fishing_bobber", FishingBobber: FishingHook;
"minecraft:fox", Fox: Fox;
"minecraft:frog", Frog: Frog;
"minecraft:furnace_minecart", FurnaceMinecart: MinecartFurnace;
"minecraft:ghast", Ghast: Ghast;
"minecraft:giant", Giant: Giant;
"minecraft:glow_item_frame", GlowItemFrame: GlowItemFrame;
"minecraft:glow_squid", GlowSquid: GlowSquid;
"minecraft:goat", Goat: Goat;
"minecraft:guardian", Guardian: Guardian;
"minecraft:hoglin", Hoglin: Hoglin;
"minecraft:hopper_minecart", HopperMinecart: MinecartHopper;
"minecraft:horse", Horse: Horse;
"minecraft:husk", Husk: Husk;
"minecraft:illusioner", Illusioner: Illusioner;
"minecraft:interaction", Interaction: Interaction;
"minecraft:iron_golem", IronGolem: IronGolem;
"minecraft:item", Item: ItemEntity;
"minecraft:item_display", ItemDisplay: ItemDisplay;
"minecraft:item_frame", ItemFrame: ItemFrame;
"minecraft:leash_knot", LeashKnot: LeashFenceKnotEntity;
"minecraft:lightning_bolt", LightningBolt: LightningBolt;
"minecraft:llama", Llama: Llama;
"minecraft:llama_spit", LlamaSpit: LlamaSpit;
"minecraft:magma_cube", MagmaCube: MagmaCube;
"minecraft:marker", Marker: Marker;
"minecraft:minecart", Minecart: Minecart;
"minecraft:mooshroom", Mooshroom: MushroomCow;
"minecraft:mule", Mule: Mule;
"minecraft:ocelot", Ocelot: Ocelot;
"minecraft:painting", Painting: Painting;
"minecraft:panda", Panda: Panda;
"minecraft:parrot", Parrot: Parrot;
"minecraft:phantom", Phantom: Phantom;
"minecraft:pig", Pig: Pig;
"minecraft:piglin", Piglin: Piglin;
"minecraft:piglin_brute", PiglinBrute: PiglinBrute;
"minecraft:pillager", Pillager: Pillager;
"minecraft:polar_bear", PolarBear: PolarBear;
"minecraft:potion", Potion: ThrownPotion;
"minecraft:pufferfish", Pufferfish: Pufferfish;
"minecraft:rabbit", Rabbit: Rabbit;
"minecraft:ravager", Ravager: Ravager;
"minecraft:salmon", Salmon: Salmon;
"minecraft:sheep", Sheep: Sheep;
"minecraft:shulker", Shulker: Shulker;
"minecraft:shulker_bullet", ShulkerBullet: ShulkerBullet;
"minecraft:silverfish", Silverfish: Silverfish;
"minecraft:skeleton", Skeleton: Skeleton;
"minecraft:skeleton_horse", SkeletonHorse: SkeletonHorse;
"minecraft:slime", Slime: Slime;
"minecraft:small_fireball", SmallFireball: SmallFireball;
experimental "minecraft:sniffer", Sniffer: Sniffer;
"minecraft:snow_golem", SnowGolem: SnowGolem;
"minecraft:snowball", Snowball: Snowball;
"minecraft:spawner_minecart", SpawnerMinecart: MinecartSpawner;
"minecraft:spectral_arrow", SpectralArrow: SpectralArrow;
"minecraft:spider", Spider: Spider;
"minecraft:squid", Squid: Squid;
"minecraft:stray", Stray: Stray;
"minecraft:strider", Strider: Strider;
"minecraft:tadpole", Tadpole: Tadpole;
"minecraft:text_display", TextDisplay: TextDisplay;
"minecraft:tnt", Tnt: PrimedTnt;
"minecraft:tnt_minecart", TntMinecart: MinecartTNT;
"minecraft:trader_llama", TraderLlama: TraderLlama;
"minecraft:trident", Trident: ThrownTrident;
"minecraft:tropical_fish", TropicalFish: TropicalFish;
"minecraft:turtle", Turtle: Turtle;
"minecraft:vex", Vex: Vex;
"minecraft:villager", Villager: Villager;
"minecraft:vindicator", Vindicator: Vindicator;
"minecraft:wandering_trader", WanderingTrader: WanderingTrader;
"minecraft:warden", Warden: Warden;
"minecraft:witch", Witch: Witch;
"minecraft:wither", Wither: WitherBoss;
"minecraft:wither_skeleton", WitherSkeleton: WitherSkeleton;
"minecraft:wither_skull", WitherSkull: WitherSkull;
"minecraft:wolf", Wolf: Wolf;
"minecraft:zoglin", Zoglin: Zoglin;
"minecraft:zombie", Zombie: Zombie;
"minecraft:zombie_horse", ZombieHorse: ZombieHorse;
"minecraft:zombie_villager", ZombieVillager: ZombieVillager;
"minecraft:zombified_piglin", ZombifiedPiglin: ZombifiedPiglin;
}
entity_types! {
"1.19.4";
AbstractArrow > Projectile { "PierceLevel" as pierce_level: i8, "ShotFromCrossbow" as shot_from_crossbow: bool, "SoundEvent" as sound_event: CowStr, "crit" as crit: bool, "damage" as damage: f64, optional "inBlockState" as in_block_state: super::BlockState, "inGround" as in_ground: bool, "life" as life: i16, "pickup" as pickup: i8, "shake" as shake: i8 }
AbstractChestedHorse > AbstractHorse { "ChestedHorse" as chested_horse: bool, optional "Items" as items: Vec<super::compounds::ItemStack_save_2> }
AbstractFish > WaterAnimal { "FromBucket" as from_bucket: bool }
AbstractGolem > PathfinderMob { }
AbstractHorse > Animal { "Bred" as bred: bool, "EatingHaystack" as eating_haystack: bool, optional "Owner" as owner: u128, optional "SaddleItem" as saddle_item: super::compounds::ItemStack_save, "Tame" as tame: bool, "Temper" as temper: i32 }
AbstractHurtingProjectile > Projectile { "power" as power: Vec<f64> }
AbstractIllager > Raider { }
AbstractMinecart > Entity { optional "CustomDisplayTile" as custom_display_tile: bool, optional "DisplayOffset" as display_offset: i32, optional "DisplayState" as display_state: super::BlockState }
AbstractMinecartContainer > AbstractMinecart { optional "Items" as items: Vec<super::compounds::ItemStack_save_2>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
AbstractPiglin > Monster { optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
AbstractSchoolingFish > AbstractFish { }
AbstractSkeleton > Monster { }
AbstractVillager > AgeableMob { "Inventory" as inventory: Vec<super::compounds::ItemStack_save>, optional "Offers" as offers: super::compounds::MerchantOffers_createTag }
AgeableMob > PathfinderMob { "Age" as age: i32, "ForcedAge" as forced_age: i32 }
Allay > PathfinderMob { "CanDuplicate" as can_duplicate: bool, "DuplicationCooldown" as duplication_cooldown: i64, "Inventory" as inventory: Vec<super::compounds::ItemStack_save>, optional "listener" as listener: fastnbt::Value }
AmbientCreature > Mob { }
Animal > AgeableMob { "InLove" as in_love: i32, optional "LoveCause" as love_cause: u128 }
AreaEffectCloud > Entity { "Age" as age: i32, optional "Color" as color: i32, "Duration" as duration: i32, "DurationOnUse" as duration_on_use: i32, optional "Effects" as effects: Vec<super::compounds::MobEffectInstance_save>, optional "Owner" as owner: u128, "Particle" as particle: CowStr, optional "Potion" as potion: CowStr, "Radius" as radius: f32, "RadiusOnUse" as radius_on_use: f32, "RadiusPerTick" as radius_per_tick: f32, "ReapplicationDelay" as reapplication_delay: i32, "WaitTime" as wait_time: i32 }
ArmorStand > LivingEntity { "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save_1>, "DisabledSlots" as disabled_slots: i32, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save_1>, "Invisible" as invisible: bool, optional "Marker" as marker: bool, "NoBasePlate" as no_base_plate: bool, "Pose" as pose: super::compounds::ArmorStand_writePose, "ShowArms" as show_arms: bool, "Small" as small: bool }
Arrow > AbstractArrow { optional "Color" as color: i32, optional "CustomPotionEffects" as custom_potion_effects: Vec<super::compounds::MobEffectInstance_save>, optional "Potion" as potion: CowStr }
Axolotl > Animal { "FromBucket" as from_bucket: bool, "Variant" as variant: i32 }
Bat > AmbientCreature { "BatFlags" as bat_flags: i8 }
Bee > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CannotEnterHiveTicks" as cannot_enter_hive_ticks: i32, "CropsGrownSincePollination" as crops_grown_since_pollination: i32, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos, "HasNectar" as has_nectar: bool, "HasStung" as has_stung: bool, optional "HivePos" as hive_pos: super::compounds::NbtUtils_writeBlockPos, "TicksSincePollination" as ticks_since_pollination: i32 }
Blaze > Monster { }
BlockDisplay > Display { "block_state" as block_state: super::BlockState }
Boat > Entity { "Type" as r#type: CowStr }
Camel > AbstractHorse { "LastPoseTick" as last_pose_tick: i64 }
Cat > TamableAnimal { "CollarColor" as collar_color: i8, "variant" as variant: CowStr }
CaveSpider > Spider { }
ChestBoat > Boat { optional "Items" as items: Vec<super::compounds::ItemStack_save_2>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
Chicken > Animal { "EggLayTime" as egg_lay_time: i32, "IsChickenJockey" as is_chicken_jockey: bool }
Cod > AbstractSchoolingFish { }
Cow > Animal { }
Creeper > Monster { "ExplosionRadius" as explosion_radius: i8, "Fuse" as fuse: i16, "ignited" as ignited: bool, optional "powered" as powered: bool }
Display > Entity { optional "billboard" as billboard: fastnbt::Value, optional "brightness" as brightness: fastnbt::Value, "glow_color_override" as glow_color_override: i32, "height" as height: f32, "interpolation_duration" as interpolation_duration: i32, "shadow_radius" as shadow_radius: f32, "shadow_strength" as shadow_strength: f32, optional "transformation" as transformation: fastnbt::Value, "view_range" as view_range: f32, "width" as width: f32 }
Dolphin > WaterAnimal { "GotFish" as got_fish: bool, "Moistness" as moistness: i32, "TreasurePosX" as treasure_pos_x: i32, "TreasurePosY" as treasure_pos_y: i32, "TreasurePosZ" as treasure_pos_z: i32 }
Donkey > AbstractChestedHorse { }
DragonFireball > AbstractHurtingProjectile { }
Drowned > Zombie { }
ElderGuardian > Guardian { }
EndCrystal > Entity { optional "BeamTarget" as beam_target: super::compounds::NbtUtils_writeBlockPos, "ShowBottom" as show_bottom: bool }
EnderDragon > Mob { "DragonDeathTime" as dragon_death_time: i32, "DragonPhase" as dragon_phase: i32 }
EnderMan > Monster { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, optional "carriedBlockState" as carried_block_state: super::BlockState }
Endermite > Monster { "Lifetime" as lifetime: i32 }
Entity { "Air" as air: i16, optional "CustomName" as custom_name: CowStr, optional "CustomNameVisible" as custom_name_visible: bool, "FallDistance" as fall_distance: f32, "Fire" as fire: i16, optional "Glowing" as glowing: bool, optional "HasVisualFire" as has_visual_fire: bool, "Invulnerable" as invulnerable: bool, "Motion" as motion: Vec<f64>, optional "NoGravity" as no_gravity: bool, "OnGround" as on_ground: bool, optional "Passengers" as passengers: Vec<Box<super::Entity>>, "PortalCooldown" as portal_cooldown: i32, optional "Pos" as pos: Vec<f64>, "Rotation" as rotation: Vec<f32>, optional "Silent" as silent: bool, optional "Tags" as tags: Vec<CowStr>, optional "TicksFrozen" as ticks_frozen: i32, "UUID" as uuid: u128 }
Evoker > SpellcasterIllager { }
EvokerFangs > Entity { optional "Owner" as owner: u128, "Warmup" as warmup: i32 }
ExperienceOrb > Entity { "Age" as age: i16, "Count" as count: i32, "Health" as health: i16, "Value" as value: i16 }
EyeOfEnder > Entity { optional "Item" as item: super::compounds::ItemStack_save }
FallingBlockEntity > Entity { "BlockState" as block_state: super::BlockState, "DropItem" as drop_item: bool, "FallHurtAmount" as fall_hurt_amount: f32, "FallHurtMax" as fall_hurt_max: i32, "HurtEntities" as hurt_entities: bool, optional "TileEntityData" as tile_entity_data: HashMap<CowStr, fastnbt::Value>, "Time" as time: i32 }
Fireball > AbstractHurtingProjectile { optional "Item" as item: super::compounds::ItemStack_save }
FireworkRocketEntity > Projectile { optional "FireworksItem" as fireworks_item: super::compounds::ItemStack_save, "Life" as life: i32, "LifeTime" as life_time: i32, "ShotAtAngle" as shot_at_angle: bool }
FishingHook > Projectile { }
FlyingMob > Mob { }
Fox > Animal { "Crouching" as crouching: bool, "Sitting" as sitting: bool, "Sleeping" as sleeping: bool, "Trusted" as trusted: Vec<fastnbt::IntArray>, "Type" as r#type: CowStr }
Frog > Animal { "variant" as variant: CowStr }
Ghast > FlyingMob { "ExplosionPower" as explosion_power: i8 }
Giant > Monster { }
GlowItemFrame > ItemFrame { }
GlowSquid > Squid { "DarkTicksRemaining" as dark_ticks_remaining: i32 }
Goat > Animal { "HasLeftHorn" as has_left_horn: bool, "HasRightHorn" as has_right_horn: bool, "IsScreamingGoat" as is_screaming_goat: bool }
Guardian > Monster { }
HangingEntity > Entity { "TileX" as tile_x: i32, "TileY" as tile_y: i32, "TileZ" as tile_z: i32 }
Hoglin > Animal { optional "CannotBeHunted" as cannot_be_hunted: bool, optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
Horse > AbstractHorse { optional "ArmorItem" as armor_item: super::compounds::ItemStack_save, "Variant" as variant: i32 }
Husk > Zombie { }
Illusioner > SpellcasterIllager { }
Interaction > Entity { optional "attack" as attack: fastnbt::Value, "height" as height: f32, optional "interaction" as interaction: fastnbt::Value, "response" as response: bool, "width" as width: f32 }
IronGolem > AbstractGolem { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "PlayerCreated" as player_created: bool }
ItemDisplay > Display { "item" as item: super::compounds::ItemStack_save, optional "item_display" as item_display: fastnbt::Value }
ItemEntity > Entity { "Age" as age: i16, "Health" as health: i16, optional "Item" as item: super::compounds::ItemStack_save, optional "Owner" as owner: u128, "PickupDelay" as pickup_delay: i16, optional "Thrower" as thrower: u128 }
ItemFrame > HangingEntity { "Facing" as facing: i8, "Fixed" as fixed: bool, "Invisible" as invisible: bool, optional "Item" as item: super::compounds::ItemStack_save, optional "ItemDropChance" as item_drop_chance: f32, optional "ItemRotation" as item_rotation: i8 }
LargeFireball > Fireball { "ExplosionPower" as explosion_power: i8 }
LeashFenceKnotEntity > HangingEntity { }
LightningBolt > Entity { }
LivingEntity > Entity { "AbsorptionAmount" as absorption_amount: f32, optional "ActiveEffects" as active_effects: Vec<super::compounds::MobEffectInstance_save>, "Attributes" as attributes: Vec<super::compounds::AttributeInstance_save>, optional "Brain" as brain: fastnbt::Value, "DeathTime" as death_time: i16, "FallFlying" as fall_flying: bool, "Health" as health: f32, "HurtByTimestamp" as hurt_by_timestamp: i32, "HurtTime" as hurt_time: i16, optional "SleepingX" as sleeping_x: i32, optional "SleepingY" as sleeping_y: i32, optional "SleepingZ" as sleeping_z: i32 }
Llama > AbstractChestedHorse { optional "DecorItem" as decor_item: super::compounds::ItemStack_save, "Strength" as strength: i32, "Variant" as variant: i32 }
LlamaSpit > Projectile { }
MagmaCube > Slime { }
Marker > Entity { "data" as data: HashMap<CowStr, fastnbt::Value> }
Minecart > AbstractMinecart { }
MinecartChest > AbstractMinecartContainer { }
MinecartCommandBlock > AbstractMinecart { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool }
MinecartFurnace > AbstractMinecart { "Fuel" as fuel: i16, "PushX" as push_x: f64, "PushZ" as push_z: f64 }
MinecartHopper > AbstractMinecartContainer { "Enabled" as enabled: bool }
MinecartSpawner > AbstractMinecart { "Delay" as delay: i16, "MaxNearbyEntities" as max_nearby_entities: i16, "MaxSpawnDelay" as max_spawn_delay: i16, "MinSpawnDelay" as min_spawn_delay: i16, "RequiredPlayerRange" as required_player_range: i16, "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: fastnbt::Value, "SpawnPotentials" as spawn_potentials: fastnbt::Value, "SpawnRange" as spawn_range: i16 }
MinecartTNT > AbstractMinecart { "TNTFuse" as tnt_fuse: i32 }
Mob > LivingEntity { "ArmorDropChances" as armor_drop_chances: Vec<f32>, "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save_1>, "CanPickUpLoot" as can_pick_up_loot: bool, optional "DeathLootTable" as death_loot_table: CowStr, optional "DeathLootTableSeed" as death_loot_table_seed: i64, "HandDropChances" as hand_drop_chances: Vec<f32>, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save_1>, optional "Leash" as leash: super::compounds::Compound2, "LeftHanded" as left_handed: bool, optional "NoAI" as no_ai: bool, "PersistenceRequired" as persistence_required: bool }
Monster > PathfinderMob { }
Mule > AbstractChestedHorse { }
MushroomCow > Cow { optional "EffectDuration" as effect_duration: i32, optional "EffectId" as effect_id: i32, "Type" as r#type: CowStr }
Ocelot > Animal { "Trusting" as trusting: bool }
Painting > HangingEntity { "facing" as facing: i8, "variant" as variant: CowStr }
Panda > Animal { "HiddenGene" as hidden_gene: CowStr, "MainGene" as main_gene: CowStr }
Parrot > ShoulderRidingEntity { "Variant" as variant: i32 }
PathfinderMob > Mob { }
PatrollingMonster > Monster { "PatrolLeader" as patrol_leader: bool, optional "PatrolTarget" as patrol_target: super::compounds::NbtUtils_writeBlockPos, "Patrolling" as patrolling: bool }
Phantom > FlyingMob { "AX" as ax: i32, "AY" as ay: i32, "AZ" as az: i32, "Size" as size: i32 }
Pig > Animal { "Saddle" as saddle: bool }
Piglin > AbstractPiglin { optional "CannotHunt" as cannot_hunt: bool, "Inventory" as inventory: Vec<super::compounds::ItemStack_save>, optional "IsBaby" as is_baby: bool }
PiglinBrute > AbstractPiglin { }
Pillager > AbstractIllager { "Inventory" as inventory: Vec<super::compounds::ItemStack_save> }
PolarBear > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
PrimedTnt > Entity { "Fuse" as fuse: i16 }
Projectile > Entity { "HasBeenShot" as has_been_shot: bool, optional "LeftOwner" as left_owner: bool, optional "Owner" as owner: u128 }
Pufferfish > AbstractFish { "PuffState" as puff_state: i32 }
Rabbit > Animal { "MoreCarrotTicks" as more_carrot_ticks: i32, "RabbitType" as rabbit_type: i32 }
Raider > PatrollingMonster { "CanJoinRaid" as can_join_raid: bool, optional "RaidId" as raid_id: i32, "Wave" as wave: i32 }
Ravager > Raider { "AttackTick" as attack_tick: i32, "RoarTick" as roar_tick: i32, "StunTick" as stun_tick: i32 }
Salmon > AbstractSchoolingFish { }
Sheep > Animal { "Color" as color: i8, "Sheared" as sheared: bool }
ShoulderRidingEntity > TamableAnimal { }
Shulker > AbstractGolem { "AttachFace" as attach_face: i8, "Color" as color: i8, "Peek" as peek: i8 }
ShulkerBullet > Projectile { optional "Dir" as dir: i32, "Steps" as steps: i32, "TXD" as txd: f64, "TYD" as tyd: f64, "TZD" as tzd: f64, optional "Target" as target: u128 }
Silverfish > Monster { }
Skeleton > AbstractSkeleton { "StrayConversionTime" as stray_conversion_time: i32 }
SkeletonHorse > AbstractHorse { "SkeletonTrap" as skeleton_trap: bool, "SkeletonTrapTime" as skeleton_trap_time: i32 }
Slime > Mob { "Size" as size: i32, "wasOnGround" as was_on_ground: bool }
SmallFireball > Fireball { }
Sniffer > Animal { }
SnowGolem > AbstractGolem { "Pumpkin" as pumpkin: bool }
Snowball > ThrowableItemProjectile { }
SpectralArrow > AbstractArrow { "Duration" as duration: i32 }
SpellcasterIllager > AbstractIllager { "SpellTicks" as spell_ticks: i32 }
Spider > Monster { }
Squid > WaterAnimal { }
Stray > AbstractSkeleton { }
Strider > Animal { "Saddle" as saddle: bool }
Tadpole > AbstractFish { "Age" as age: i32 }
TamableAnimal > Animal { optional "Owner" as owner: u128, "Sitting" as sitting: bool }
TextDisplay > Display { optional "alignment" as alignment: fastnbt::Value, "background" as background: i32, "default_background" as default_background: bool, "line_width" as line_width: i32, "see_through" as see_through: bool, "shadow" as shadow: bool, "text" as text: CowStr, "text_opacity" as text_opacity: i8 }
ThrowableItemProjectile > ThrowableProjectile { optional "Item" as item: super::compounds::ItemStack_save }
ThrowableProjectile > Projectile { }
ThrownEgg > ThrowableItemProjectile { }
ThrownEnderpearl > ThrowableItemProjectile { }
ThrownExperienceBottle > ThrowableItemProjectile { }
ThrownPotion > ThrowableItemProjectile { }
ThrownTrident > AbstractArrow { "DealtDamage" as dealt_damage: bool, "Trident" as trident: super::compounds::ItemStack_save }
TraderLlama > Llama { "DespawnDelay" as despawn_delay: i32 }
TropicalFish > AbstractSchoolingFish { "Variant" as variant: i32 }
Turtle > Animal { "HasEgg" as has_egg: bool, "HomePosX" as home_pos_x: i32, "HomePosY" as home_pos_y: i32, "HomePosZ" as home_pos_z: i32, "TravelPosX" as travel_pos_x: i32, "TravelPosY" as travel_pos_y: i32, "TravelPosZ" as travel_pos_z: i32 }
Vex > Monster { optional "BoundX" as bound_x: i32, optional "BoundY" as bound_y: i32, optional "BoundZ" as bound_z: i32, optional "LifeTicks" as life_ticks: i32 }
Villager > AbstractVillager { optional "AssignProfessionWhenSpawned" as assign_profession_when_spawned: bool, "FoodLevel" as food_level: i8, "Gossips" as gossips: fastnbt::Value, "LastGossipDecay" as last_gossip_decay: i64, "LastRestock" as last_restock: i64, "RestocksToday" as restocks_today: i32, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
Vindicator > AbstractIllager { optional "Johnny" as johnny: bool }
WanderingTrader > AbstractVillager { "DespawnDelay" as despawn_delay: i32, optional "WanderTarget" as wander_target: super::compounds::NbtUtils_writeBlockPos }
Warden > Monster { optional "anger" as anger: fastnbt::Value, optional "listener" as listener: fastnbt::Value }
WaterAnimal > PathfinderMob { }
Witch > Raider { }
WitherBoss > Monster { "Invul" as invul: i32 }
WitherSkeleton > AbstractSkeleton { }
WitherSkull > AbstractHurtingProjectile { }
Wolf > TamableAnimal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CollarColor" as collar_color: i8 }
Zoglin > Monster { optional "IsBaby" as is_baby: bool }
Zombie > Monster { "CanBreakDoors" as can_break_doors: bool, "DrownedConversionTime" as drowned_conversion_time: i32, "InWaterTime" as in_water_time: i32, "IsBaby" as is_baby: bool }
ZombieHorse > AbstractHorse { }
ZombieVillager > Zombie { optional "ConversionPlayer" as conversion_player: u128, "ConversionTime" as conversion_time: i32, optional "Gossips" as gossips: fastnbt::Value, optional "Offers" as offers: HashMap<CowStr, fastnbt::Value>, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
ZombifiedPiglin > Zombie { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
}
entity_compound_types! {
"1.19.4";
ArmorStand_writePose { optional "Body" as body: Vec<f32>, optional "Head" as head: Vec<f32>, optional "LeftArm" as left_arm: Vec<f32>, optional "LeftLeg" as left_leg: Vec<f32>, optional "RightArm" as right_arm: Vec<f32>, optional "RightLeg" as right_leg: Vec<f32> }
AttributeInstance_save { "Base" as base: f64, optional "Modifiers" as modifiers: Vec<super::compounds::AttributeModifier_save>, "Name" as name: CowStr }
AttributeModifier_save { "Amount" as amount: f64, "Name" as name: CowStr, "Operation" as operation: i32, "UUID" as uuid: u128 }
Compound2 { optional "UUID" as uuid: u128, optional "X" as x: i32, optional "Y" as y: i32, optional "Z" as z: i32 }
ItemStack_save { "Count" as count: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_1 { optional "Count" as count: i8, optional "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_2 { "Count" as count: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
MerchantOffer_createTag { "buy" as buy: super::compounds::ItemStack_save, "buyB" as buy_b: super::compounds::ItemStack_save, "demand" as demand: i32, "maxUses" as max_uses: i32, "priceMultiplier" as price_multiplier: f32, "rewardExp" as reward_exp: bool, "sell" as sell: super::compounds::ItemStack_save, "specialPrice" as special_price: i32, "uses" as uses: i32, "xp" as xp: i32 }
MerchantOffers_createTag { "Recipes" as recipes: Vec<super::compounds::MerchantOffer_createTag> }
MobEffectInstance_save { "Ambient" as ambient: bool, "Amplifier" as amplifier: i8, "Duration" as duration: i32, optional "FactorCalculationData" as factor_calculation_data: fastnbt::Value, optional "HiddenEffect" as hidden_effect: Box<super::compounds::MobEffectInstance_save>, "Id" as id: i32, "ShowIcon" as show_icon: bool, "ShowParticles" as show_particles: bool }
NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
}
}
/// Accompanying types for entities in Minecraft 1.20.
#[cfg(feature = "1.20")]
pub mod mc1_20 {
entities! {
"1.20", mc1_20;
"minecraft:allay", Allay: Allay;
"minecraft:area_effect_cloud", AreaEffectCloud: AreaEffectCloud;
"minecraft:armor_stand", ArmorStand: ArmorStand;
"minecraft:arrow", Arrow: Arrow;
"minecraft:axolotl", Axolotl: Axolotl;
"minecraft:bat", Bat: Bat;
"minecraft:bee", Bee: Bee;
"minecraft:blaze", Blaze: Blaze;
"minecraft:block_display", BlockDisplay: BlockDisplay;
"minecraft:boat", Boat: Boat;
"minecraft:camel", Camel: Camel;
"minecraft:cat", Cat: Cat;
"minecraft:cave_spider", CaveSpider: CaveSpider;
"minecraft:chest_boat", ChestBoat: ChestBoat;
"minecraft:chest_minecart", ChestMinecart: MinecartChest;
"minecraft:chicken", Chicken: Chicken;
"minecraft:cod", Cod: Cod;
"minecraft:command_block_minecart", CommandBlockMinecart: MinecartCommandBlock;
"minecraft:cow", Cow: Cow;
"minecraft:creeper", Creeper: Creeper;
"minecraft:dolphin", Dolphin: Dolphin;
"minecraft:donkey", Donkey: Donkey;
"minecraft:dragon_fireball", DragonFireball: DragonFireball;
"minecraft:drowned", Drowned: Drowned;
"minecraft:egg", Egg: ThrownEgg;
"minecraft:elder_guardian", ElderGuardian: ElderGuardian;
"minecraft:end_crystal", EndCrystal: EndCrystal;
"minecraft:ender_dragon", EnderDragon: EnderDragon;
"minecraft:ender_pearl", EnderPearl: ThrownEnderpearl;
"minecraft:enderman", Enderman: EnderMan;
"minecraft:endermite", Endermite: Endermite;
"minecraft:evoker", Evoker: Evoker;
"minecraft:evoker_fangs", EvokerFangs: EvokerFangs;
"minecraft:experience_bottle", ExperienceBottle: ThrownExperienceBottle;
"minecraft:experience_orb", ExperienceOrb: ExperienceOrb;
"minecraft:eye_of_ender", EyeOfEnder: EyeOfEnder;
"minecraft:falling_block", FallingBlock: FallingBlockEntity;
"minecraft:fireball", Fireball: LargeFireball;
"minecraft:firework_rocket", FireworkRocket: FireworkRocketEntity;
"minecraft:fishing_bobber", FishingBobber: FishingHook;
"minecraft:fox", Fox: Fox;
"minecraft:frog", Frog: Frog;
"minecraft:furnace_minecart", FurnaceMinecart: MinecartFurnace;
"minecraft:ghast", Ghast: Ghast;
"minecraft:giant", Giant: Giant;
"minecraft:glow_item_frame", GlowItemFrame: GlowItemFrame;
"minecraft:glow_squid", GlowSquid: GlowSquid;
"minecraft:goat", Goat: Goat;
"minecraft:guardian", Guardian: Guardian;
"minecraft:hoglin", Hoglin: Hoglin;
"minecraft:hopper_minecart", HopperMinecart: MinecartHopper;
"minecraft:horse", Horse: Horse;
"minecraft:husk", Husk: Husk;
"minecraft:illusioner", Illusioner: Illusioner;
"minecraft:interaction", Interaction: Interaction;
"minecraft:iron_golem", IronGolem: IronGolem;
"minecraft:item", Item: ItemEntity;
"minecraft:item_display", ItemDisplay: ItemDisplay;
"minecraft:item_frame", ItemFrame: ItemFrame;
"minecraft:leash_knot", LeashKnot: LeashFenceKnotEntity;
"minecraft:lightning_bolt", LightningBolt: LightningBolt;
"minecraft:llama", Llama: Llama;
"minecraft:llama_spit", LlamaSpit: LlamaSpit;
"minecraft:magma_cube", MagmaCube: MagmaCube;
"minecraft:marker", Marker: Marker;
"minecraft:minecart", Minecart: Minecart;
"minecraft:mooshroom", Mooshroom: MushroomCow;
"minecraft:mule", Mule: Mule;
"minecraft:ocelot", Ocelot: Ocelot;
"minecraft:painting", Painting: Painting;
"minecraft:panda", Panda: Panda;
"minecraft:parrot", Parrot: Parrot;
"minecraft:phantom", Phantom: Phantom;
"minecraft:pig", Pig: Pig;
"minecraft:piglin", Piglin: Piglin;
"minecraft:piglin_brute", PiglinBrute: PiglinBrute;
"minecraft:pillager", Pillager: Pillager;
"minecraft:polar_bear", PolarBear: PolarBear;
"minecraft:potion", Potion: ThrownPotion;
"minecraft:pufferfish", Pufferfish: Pufferfish;
"minecraft:rabbit", Rabbit: Rabbit;
"minecraft:ravager", Ravager: Ravager;
"minecraft:salmon", Salmon: Salmon;
"minecraft:sheep", Sheep: Sheep;
"minecraft:shulker", Shulker: Shulker;
"minecraft:shulker_bullet", ShulkerBullet: ShulkerBullet;
"minecraft:silverfish", Silverfish: Silverfish;
"minecraft:skeleton", Skeleton: Skeleton;
"minecraft:skeleton_horse", SkeletonHorse: SkeletonHorse;
"minecraft:slime", Slime: Slime;
"minecraft:small_fireball", SmallFireball: SmallFireball;
"minecraft:sniffer", Sniffer: Sniffer;
"minecraft:snow_golem", SnowGolem: SnowGolem;
"minecraft:snowball", Snowball: Snowball;
"minecraft:spawner_minecart", SpawnerMinecart: MinecartSpawner;
"minecraft:spectral_arrow", SpectralArrow: SpectralArrow;
"minecraft:spider", Spider: Spider;
"minecraft:squid", Squid: Squid;
"minecraft:stray", Stray: Stray;
"minecraft:strider", Strider: Strider;
"minecraft:tadpole", Tadpole: Tadpole;
"minecraft:text_display", TextDisplay: TextDisplay;
"minecraft:tnt", Tnt: PrimedTnt;
"minecraft:tnt_minecart", TntMinecart: MinecartTNT;
"minecraft:trader_llama", TraderLlama: TraderLlama;
"minecraft:trident", Trident: ThrownTrident;
"minecraft:tropical_fish", TropicalFish: TropicalFish;
"minecraft:turtle", Turtle: Turtle;
"minecraft:vex", Vex: Vex;
"minecraft:villager", Villager: Villager;
"minecraft:vindicator", Vindicator: Vindicator;
"minecraft:wandering_trader", WanderingTrader: WanderingTrader;
"minecraft:warden", Warden: Warden;
"minecraft:witch", Witch: Witch;
"minecraft:wither", Wither: WitherBoss;
"minecraft:wither_skeleton", WitherSkeleton: WitherSkeleton;
"minecraft:wither_skull", WitherSkull: WitherSkull;
"minecraft:wolf", Wolf: Wolf;
"minecraft:zoglin", Zoglin: Zoglin;
"minecraft:zombie", Zombie: Zombie;
"minecraft:zombie_horse", ZombieHorse: ZombieHorse;
"minecraft:zombie_villager", ZombieVillager: ZombieVillager;
"minecraft:zombified_piglin", ZombifiedPiglin: ZombifiedPiglin;
}
entity_types! {
"1.20";
AbstractArrow > Projectile { "PierceLevel" as pierce_level: i8, "ShotFromCrossbow" as shot_from_crossbow: bool, "SoundEvent" as sound_event: CowStr, "crit" as crit: bool, "damage" as damage: f64, optional "inBlockState" as in_block_state: super::BlockState, "inGround" as in_ground: bool, "life" as life: i16, "pickup" as pickup: i8, "shake" as shake: i8 }
AbstractChestedHorse > AbstractHorse { "ChestedHorse" as chested_horse: bool, optional "Items" as items: Vec<super::compounds::ItemStack_save_2> }
AbstractFish > WaterAnimal { "FromBucket" as from_bucket: bool }
AbstractGolem > PathfinderMob { }
AbstractHorse > Animal { "Bred" as bred: bool, "EatingHaystack" as eating_haystack: bool, optional "Owner" as owner: u128, optional "SaddleItem" as saddle_item: super::compounds::ItemStack_save, "Tame" as tame: bool, "Temper" as temper: i32 }
AbstractHurtingProjectile > Projectile { "power" as power: Vec<f64> }
AbstractIllager > Raider { }
AbstractMinecart > Entity { optional "CustomDisplayTile" as custom_display_tile: bool, optional "DisplayOffset" as display_offset: i32, optional "DisplayState" as display_state: super::BlockState }
AbstractMinecartContainer > AbstractMinecart { optional "Items" as items: Vec<super::compounds::ItemStack_save_2>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
AbstractPiglin > Monster { optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
AbstractSchoolingFish > AbstractFish { }
AbstractSkeleton > Monster { }
AbstractVillager > AgeableMob { "Inventory" as inventory: Vec<super::compounds::ItemStack_save>, optional "Offers" as offers: super::compounds::MerchantOffers_createTag }
AgeableMob > PathfinderMob { "Age" as age: i32, "ForcedAge" as forced_age: i32 }
Allay > PathfinderMob { "CanDuplicate" as can_duplicate: bool, "DuplicationCooldown" as duplication_cooldown: i64, "Inventory" as inventory: Vec<super::compounds::ItemStack_save>, optional "listener" as listener: fastnbt::Value }
AmbientCreature > Mob { }
Animal > AgeableMob { "InLove" as in_love: i32, optional "LoveCause" as love_cause: u128 }
AreaEffectCloud > Entity { "Age" as age: i32, optional "Color" as color: i32, "Duration" as duration: i32, "DurationOnUse" as duration_on_use: i32, optional "Effects" as effects: Vec<super::compounds::MobEffectInstance_save>, optional "Owner" as owner: u128, "Particle" as particle: CowStr, optional "Potion" as potion: CowStr, "Radius" as radius: f32, "RadiusOnUse" as radius_on_use: f32, "RadiusPerTick" as radius_per_tick: f32, "ReapplicationDelay" as reapplication_delay: i32, "WaitTime" as wait_time: i32 }
ArmorStand > LivingEntity { "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save_1>, "DisabledSlots" as disabled_slots: i32, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save_1>, "Invisible" as invisible: bool, optional "Marker" as marker: bool, "NoBasePlate" as no_base_plate: bool, "Pose" as pose: super::compounds::ArmorStand_writePose, "ShowArms" as show_arms: bool, "Small" as small: bool }
Arrow > AbstractArrow { optional "Color" as color: i32, optional "CustomPotionEffects" as custom_potion_effects: Vec<super::compounds::MobEffectInstance_save>, optional "Potion" as potion: CowStr }
Axolotl > Animal { "FromBucket" as from_bucket: bool, "Variant" as variant: i32 }
Bat > AmbientCreature { "BatFlags" as bat_flags: i8 }
Bee > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CannotEnterHiveTicks" as cannot_enter_hive_ticks: i32, "CropsGrownSincePollination" as crops_grown_since_pollination: i32, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos, "HasNectar" as has_nectar: bool, "HasStung" as has_stung: bool, optional "HivePos" as hive_pos: super::compounds::NbtUtils_writeBlockPos, "TicksSincePollination" as ticks_since_pollination: i32 }
Blaze > Monster { }
BlockDisplay > Display { "block_state" as block_state: super::BlockState }
Boat > Entity { "Type" as r#type: CowStr }
Camel > AbstractHorse { "LastPoseTick" as last_pose_tick: i64 }
Cat > TamableAnimal { "CollarColor" as collar_color: i8, "variant" as variant: CowStr }
CaveSpider > Spider { }
ChestBoat > Boat { optional "Items" as items: Vec<super::compounds::ItemStack_save_2>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
Chicken > Animal { "EggLayTime" as egg_lay_time: i32, "IsChickenJockey" as is_chicken_jockey: bool }
Cod > AbstractSchoolingFish { }
Cow > Animal { }
Creeper > Monster { "ExplosionRadius" as explosion_radius: i8, "Fuse" as fuse: i16, "ignited" as ignited: bool, optional "powered" as powered: bool }
Display > Entity { optional "billboard" as billboard: fastnbt::Value, optional "brightness" as brightness: fastnbt::Value, "glow_color_override" as glow_color_override: i32, "height" as height: f32, "interpolation_duration" as interpolation_duration: i32, "shadow_radius" as shadow_radius: f32, "shadow_strength" as shadow_strength: f32, optional "transformation" as transformation: fastnbt::Value, "view_range" as view_range: f32, "width" as width: f32 }
Dolphin > WaterAnimal { "GotFish" as got_fish: bool, "Moistness" as moistness: i32, "TreasurePosX" as treasure_pos_x: i32, "TreasurePosY" as treasure_pos_y: i32, "TreasurePosZ" as treasure_pos_z: i32 }
Donkey > AbstractChestedHorse { }
DragonFireball > AbstractHurtingProjectile { }
Drowned > Zombie { }
ElderGuardian > Guardian { }
EndCrystal > Entity { optional "BeamTarget" as beam_target: super::compounds::NbtUtils_writeBlockPos, "ShowBottom" as show_bottom: bool }
EnderDragon > Mob { "DragonDeathTime" as dragon_death_time: i32, "DragonPhase" as dragon_phase: i32 }
EnderMan > Monster { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, optional "carriedBlockState" as carried_block_state: super::BlockState }
Endermite > Monster { "Lifetime" as lifetime: i32 }
Entity { "Air" as air: i16, optional "CustomName" as custom_name: CowStr, optional "CustomNameVisible" as custom_name_visible: bool, "FallDistance" as fall_distance: f32, "Fire" as fire: i16, optional "Glowing" as glowing: bool, optional "HasVisualFire" as has_visual_fire: bool, "Invulnerable" as invulnerable: bool, "Motion" as motion: Vec<f64>, optional "NoGravity" as no_gravity: bool, "OnGround" as on_ground: bool, optional "Passengers" as passengers: Vec<Box<super::Entity>>, "PortalCooldown" as portal_cooldown: i32, optional "Pos" as pos: Vec<f64>, "Rotation" as rotation: Vec<f32>, optional "Silent" as silent: bool, optional "Tags" as tags: Vec<CowStr>, optional "TicksFrozen" as ticks_frozen: i32, "UUID" as uuid: u128 }
Evoker > SpellcasterIllager { }
EvokerFangs > Entity { optional "Owner" as owner: u128, "Warmup" as warmup: i32 }
ExperienceOrb > Entity { "Age" as age: i16, "Count" as count: i32, "Health" as health: i16, "Value" as value: i16 }
EyeOfEnder > Entity { optional "Item" as item: super::compounds::ItemStack_save }
FallingBlockEntity > Entity { "BlockState" as block_state: super::BlockState, "CancelDrop" as cancel_drop: bool, "DropItem" as drop_item: bool, "FallHurtAmount" as fall_hurt_amount: f32, "FallHurtMax" as fall_hurt_max: i32, "HurtEntities" as hurt_entities: bool, optional "TileEntityData" as tile_entity_data: HashMap<CowStr, fastnbt::Value>, "Time" as time: i32 }
Fireball > AbstractHurtingProjectile { optional "Item" as item: super::compounds::ItemStack_save }
FireworkRocketEntity > Projectile { optional "FireworksItem" as fireworks_item: super::compounds::ItemStack_save, "Life" as life: i32, "LifeTime" as life_time: i32, "ShotAtAngle" as shot_at_angle: bool }
FishingHook > Projectile { }
FlyingMob > Mob { }
Fox > Animal { "Crouching" as crouching: bool, "Sitting" as sitting: bool, "Sleeping" as sleeping: bool, "Trusted" as trusted: Vec<fastnbt::IntArray>, "Type" as r#type: CowStr }
Frog > Animal { "variant" as variant: CowStr }
Ghast > FlyingMob { "ExplosionPower" as explosion_power: i8 }
Giant > Monster { }
GlowItemFrame > ItemFrame { }
GlowSquid > Squid { "DarkTicksRemaining" as dark_ticks_remaining: i32 }
Goat > Animal { "HasLeftHorn" as has_left_horn: bool, "HasRightHorn" as has_right_horn: bool, "IsScreamingGoat" as is_screaming_goat: bool }
Guardian > Monster { }
HangingEntity > Entity { "TileX" as tile_x: i32, "TileY" as tile_y: i32, "TileZ" as tile_z: i32 }
Hoglin > Animal { optional "CannotBeHunted" as cannot_be_hunted: bool, optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
Horse > AbstractHorse { optional "ArmorItem" as armor_item: super::compounds::ItemStack_save, "Variant" as variant: i32 }
Husk > Zombie { }
Illusioner > SpellcasterIllager { }
Interaction > Entity { optional "attack" as attack: fastnbt::Value, "height" as height: f32, optional "interaction" as interaction: fastnbt::Value, "response" as response: bool, "width" as width: f32 }
IronGolem > AbstractGolem { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "PlayerCreated" as player_created: bool }
ItemDisplay > Display { "item" as item: super::compounds::ItemStack_save, optional "item_display" as item_display: fastnbt::Value }
ItemEntity > Entity { "Age" as age: i16, "Health" as health: i16, optional "Item" as item: super::compounds::ItemStack_save, optional "Owner" as owner: u128, "PickupDelay" as pickup_delay: i16, optional "Thrower" as thrower: u128 }
ItemFrame > HangingEntity { "Facing" as facing: i8, "Fixed" as fixed: bool, "Invisible" as invisible: bool, optional "Item" as item: super::compounds::ItemStack_save, optional "ItemDropChance" as item_drop_chance: f32, optional "ItemRotation" as item_rotation: i8 }
LargeFireball > Fireball { "ExplosionPower" as explosion_power: i8 }
LeashFenceKnotEntity > HangingEntity { }
LightningBolt > Entity { }
LivingEntity > Entity { "AbsorptionAmount" as absorption_amount: f32, optional "ActiveEffects" as active_effects: Vec<super::compounds::MobEffectInstance_save>, "Attributes" as attributes: Vec<super::compounds::AttributeInstance_save>, optional "Brain" as brain: fastnbt::Value, "DeathTime" as death_time: i16, "FallFlying" as fall_flying: bool, "Health" as health: f32, "HurtByTimestamp" as hurt_by_timestamp: i32, "HurtTime" as hurt_time: i16, optional "SleepingX" as sleeping_x: i32, optional "SleepingY" as sleeping_y: i32, optional "SleepingZ" as sleeping_z: i32 }
Llama > AbstractChestedHorse { optional "DecorItem" as decor_item: super::compounds::ItemStack_save, "Strength" as strength: i32, "Variant" as variant: i32 }
LlamaSpit > Projectile { }
MagmaCube > Slime { }
Marker > Entity { "data" as data: HashMap<CowStr, fastnbt::Value> }
Minecart > AbstractMinecart { }
MinecartChest > AbstractMinecartContainer { }
MinecartCommandBlock > AbstractMinecart { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool }
MinecartFurnace > AbstractMinecart { "Fuel" as fuel: i16, "PushX" as push_x: f64, "PushZ" as push_z: f64 }
MinecartHopper > AbstractMinecartContainer { "Enabled" as enabled: bool }
MinecartSpawner > AbstractMinecart { "Delay" as delay: i16, "MaxNearbyEntities" as max_nearby_entities: i16, "MaxSpawnDelay" as max_spawn_delay: i16, "MinSpawnDelay" as min_spawn_delay: i16, "RequiredPlayerRange" as required_player_range: i16, "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: fastnbt::Value, "SpawnPotentials" as spawn_potentials: fastnbt::Value, "SpawnRange" as spawn_range: i16 }
MinecartTNT > AbstractMinecart { "TNTFuse" as tnt_fuse: i32 }
Mob > LivingEntity { "ArmorDropChances" as armor_drop_chances: Vec<f32>, "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save_1>, "CanPickUpLoot" as can_pick_up_loot: bool, optional "DeathLootTable" as death_loot_table: CowStr, optional "DeathLootTableSeed" as death_loot_table_seed: i64, "HandDropChances" as hand_drop_chances: Vec<f32>, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save_1>, optional "Leash" as leash: super::compounds::Compound2, "LeftHanded" as left_handed: bool, optional "NoAI" as no_ai: bool, "PersistenceRequired" as persistence_required: bool }
Monster > PathfinderMob { }
Mule > AbstractChestedHorse { }
MushroomCow > Cow { optional "EffectDuration" as effect_duration: i32, optional "EffectId" as effect_id: i32, "Type" as r#type: CowStr }
Ocelot > Animal { "Trusting" as trusting: bool }
Painting > HangingEntity { "facing" as facing: i8, "variant" as variant: CowStr }
Panda > Animal { "HiddenGene" as hidden_gene: CowStr, "MainGene" as main_gene: CowStr }
Parrot > ShoulderRidingEntity { "Variant" as variant: i32 }
PathfinderMob > Mob { }
PatrollingMonster > Monster { "PatrolLeader" as patrol_leader: bool, optional "PatrolTarget" as patrol_target: super::compounds::NbtUtils_writeBlockPos, "Patrolling" as patrolling: bool }
Phantom > FlyingMob { "AX" as ax: i32, "AY" as ay: i32, "AZ" as az: i32, "Size" as size: i32 }
Pig > Animal { "Saddle" as saddle: bool }
Piglin > AbstractPiglin { optional "CannotHunt" as cannot_hunt: bool, "Inventory" as inventory: Vec<super::compounds::ItemStack_save>, optional "IsBaby" as is_baby: bool }
PiglinBrute > AbstractPiglin { }
Pillager > AbstractIllager { "Inventory" as inventory: Vec<super::compounds::ItemStack_save> }
PolarBear > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
PrimedTnt > Entity { "Fuse" as fuse: i16 }
Projectile > Entity { "HasBeenShot" as has_been_shot: bool, optional "LeftOwner" as left_owner: bool, optional "Owner" as owner: u128 }
Pufferfish > AbstractFish { "PuffState" as puff_state: i32 }
Rabbit > Animal { "MoreCarrotTicks" as more_carrot_ticks: i32, "RabbitType" as rabbit_type: i32 }
Raider > PatrollingMonster { "CanJoinRaid" as can_join_raid: bool, optional "RaidId" as raid_id: i32, "Wave" as wave: i32 }
Ravager > Raider { "AttackTick" as attack_tick: i32, "RoarTick" as roar_tick: i32, "StunTick" as stun_tick: i32 }
Salmon > AbstractSchoolingFish { }
Sheep > Animal { "Color" as color: i8, "Sheared" as sheared: bool }
ShoulderRidingEntity > TamableAnimal { }
Shulker > AbstractGolem { "AttachFace" as attach_face: i8, "Color" as color: i8, "Peek" as peek: i8 }
ShulkerBullet > Projectile { optional "Dir" as dir: i32, "Steps" as steps: i32, "TXD" as txd: f64, "TYD" as tyd: f64, "TZD" as tzd: f64, optional "Target" as target: u128 }
Silverfish > Monster { }
Skeleton > AbstractSkeleton { "StrayConversionTime" as stray_conversion_time: i32 }
SkeletonHorse > AbstractHorse { "SkeletonTrap" as skeleton_trap: bool, "SkeletonTrapTime" as skeleton_trap_time: i32 }
Slime > Mob { "Size" as size: i32, "wasOnGround" as was_on_ground: bool }
SmallFireball > Fireball { }
Sniffer > Animal { }
SnowGolem > AbstractGolem { "Pumpkin" as pumpkin: bool }
Snowball > ThrowableItemProjectile { }
SpectralArrow > AbstractArrow { "Duration" as duration: i32 }
SpellcasterIllager > AbstractIllager { "SpellTicks" as spell_ticks: i32 }
Spider > Monster { }
Squid > WaterAnimal { }
Stray > AbstractSkeleton { }
Strider > Animal { "Saddle" as saddle: bool }
Tadpole > AbstractFish { "Age" as age: i32 }
TamableAnimal > Animal { optional "Owner" as owner: u128, "Sitting" as sitting: bool }
TextDisplay > Display { optional "alignment" as alignment: fastnbt::Value, "background" as background: i32, "default_background" as default_background: bool, "line_width" as line_width: i32, "see_through" as see_through: bool, "shadow" as shadow: bool, "text" as text: CowStr, "text_opacity" as text_opacity: i8 }
ThrowableItemProjectile > ThrowableProjectile { optional "Item" as item: super::compounds::ItemStack_save }
ThrowableProjectile > Projectile { }
ThrownEgg > ThrowableItemProjectile { }
ThrownEnderpearl > ThrowableItemProjectile { }
ThrownExperienceBottle > ThrowableItemProjectile { }
ThrownPotion > ThrowableItemProjectile { }
ThrownTrident > AbstractArrow { "DealtDamage" as dealt_damage: bool, "Trident" as trident: super::compounds::ItemStack_save }
TraderLlama > Llama { "DespawnDelay" as despawn_delay: i32 }
TropicalFish > AbstractSchoolingFish { "Variant" as variant: i32 }
Turtle > Animal { "HasEgg" as has_egg: bool, "HomePosX" as home_pos_x: i32, "HomePosY" as home_pos_y: i32, "HomePosZ" as home_pos_z: i32, "TravelPosX" as travel_pos_x: i32, "TravelPosY" as travel_pos_y: i32, "TravelPosZ" as travel_pos_z: i32 }
Vex > Monster { optional "BoundX" as bound_x: i32, optional "BoundY" as bound_y: i32, optional "BoundZ" as bound_z: i32, optional "LifeTicks" as life_ticks: i32 }
Villager > AbstractVillager { optional "AssignProfessionWhenSpawned" as assign_profession_when_spawned: bool, "FoodLevel" as food_level: i8, "Gossips" as gossips: fastnbt::Value, "LastGossipDecay" as last_gossip_decay: i64, "LastRestock" as last_restock: i64, "RestocksToday" as restocks_today: i32, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
Vindicator > AbstractIllager { optional "Johnny" as johnny: bool }
WanderingTrader > AbstractVillager { "DespawnDelay" as despawn_delay: i32, optional "WanderTarget" as wander_target: super::compounds::NbtUtils_writeBlockPos }
Warden > Monster { optional "anger" as anger: fastnbt::Value, optional "listener" as listener: fastnbt::Value }
WaterAnimal > PathfinderMob { }
Witch > Raider { }
WitherBoss > Monster { "Invul" as invul: i32 }
WitherSkeleton > AbstractSkeleton { }
WitherSkull > AbstractHurtingProjectile { }
Wolf > TamableAnimal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CollarColor" as collar_color: i8 }
Zoglin > Monster { optional "IsBaby" as is_baby: bool }
Zombie > Monster { "CanBreakDoors" as can_break_doors: bool, "DrownedConversionTime" as drowned_conversion_time: i32, "InWaterTime" as in_water_time: i32, "IsBaby" as is_baby: bool }
ZombieHorse > AbstractHorse { }
ZombieVillager > Zombie { optional "ConversionPlayer" as conversion_player: u128, "ConversionTime" as conversion_time: i32, optional "Gossips" as gossips: fastnbt::Value, optional "Offers" as offers: HashMap<CowStr, fastnbt::Value>, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
ZombifiedPiglin > Zombie { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
}
entity_compound_types! {
"1.20";
ArmorStand_writePose { optional "Body" as body: Vec<f32>, optional "Head" as head: Vec<f32>, optional "LeftArm" as left_arm: Vec<f32>, optional "LeftLeg" as left_leg: Vec<f32>, optional "RightArm" as right_arm: Vec<f32>, optional "RightLeg" as right_leg: Vec<f32> }
AttributeInstance_save { "Base" as base: f64, optional "Modifiers" as modifiers: Vec<super::compounds::AttributeModifier_save>, "Name" as name: CowStr }
AttributeModifier_save { "Amount" as amount: f64, "Name" as name: CowStr, "Operation" as operation: i32, "UUID" as uuid: u128 }
Compound2 { optional "UUID" as uuid: u128, optional "X" as x: i32, optional "Y" as y: i32, optional "Z" as z: i32 }
ItemStack_save { "Count" as count: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_1 { optional "Count" as count: i8, optional "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_2 { "Count" as count: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
MerchantOffer_createTag { "buy" as buy: super::compounds::ItemStack_save, "buyB" as buy_b: super::compounds::ItemStack_save, "demand" as demand: i32, "maxUses" as max_uses: i32, "priceMultiplier" as price_multiplier: f32, "rewardExp" as reward_exp: bool, "sell" as sell: super::compounds::ItemStack_save, "specialPrice" as special_price: i32, "uses" as uses: i32, "xp" as xp: i32 }
MerchantOffers_createTag { "Recipes" as recipes: Vec<super::compounds::MerchantOffer_createTag> }
MobEffectInstance_save { "Ambient" as ambient: bool, "Amplifier" as amplifier: i8, "Duration" as duration: i32, optional "FactorCalculationData" as factor_calculation_data: fastnbt::Value, optional "HiddenEffect" as hidden_effect: Box<super::compounds::MobEffectInstance_save>, "Id" as id: i32, "ShowIcon" as show_icon: bool, "ShowParticles" as show_particles: bool }
NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
}
}
/// Accompanying types for entities in Minecraft 1.20.2.
#[cfg(feature = "1.20.2")]
pub mod mc1_20_2 {
entities! {
"1.20.2", mc1_20_2;
"minecraft:allay", Allay: Allay;
"minecraft:area_effect_cloud", AreaEffectCloud: AreaEffectCloud;
"minecraft:armor_stand", ArmorStand: ArmorStand;
"minecraft:arrow", Arrow: Arrow;
"minecraft:axolotl", Axolotl: Axolotl;
"minecraft:bat", Bat: Bat;
"minecraft:bee", Bee: Bee;
"minecraft:blaze", Blaze: Blaze;
"minecraft:block_display", BlockDisplay: BlockDisplay;
"minecraft:boat", Boat: Boat;
"minecraft:camel", Camel: Camel;
"minecraft:cat", Cat: Cat;
"minecraft:cave_spider", CaveSpider: CaveSpider;
"minecraft:chest_boat", ChestBoat: ChestBoat;
"minecraft:chest_minecart", ChestMinecart: MinecartChest;
"minecraft:chicken", Chicken: Chicken;
"minecraft:cod", Cod: Cod;
"minecraft:command_block_minecart", CommandBlockMinecart: MinecartCommandBlock;
"minecraft:cow", Cow: Cow;
"minecraft:creeper", Creeper: Creeper;
"minecraft:dolphin", Dolphin: Dolphin;
"minecraft:donkey", Donkey: Donkey;
"minecraft:dragon_fireball", DragonFireball: DragonFireball;
"minecraft:drowned", Drowned: Drowned;
"minecraft:egg", Egg: ThrownEgg;
"minecraft:elder_guardian", ElderGuardian: ElderGuardian;
"minecraft:end_crystal", EndCrystal: EndCrystal;
"minecraft:ender_dragon", EnderDragon: EnderDragon;
"minecraft:ender_pearl", EnderPearl: ThrownEnderpearl;
"minecraft:enderman", Enderman: EnderMan;
"minecraft:endermite", Endermite: Endermite;
"minecraft:evoker", Evoker: Evoker;
"minecraft:evoker_fangs", EvokerFangs: EvokerFangs;
"minecraft:experience_bottle", ExperienceBottle: ThrownExperienceBottle;
"minecraft:experience_orb", ExperienceOrb: ExperienceOrb;
"minecraft:eye_of_ender", EyeOfEnder: EyeOfEnder;
"minecraft:falling_block", FallingBlock: FallingBlockEntity;
"minecraft:fireball", Fireball: LargeFireball;
"minecraft:firework_rocket", FireworkRocket: FireworkRocketEntity;
"minecraft:fishing_bobber", FishingBobber: FishingHook;
"minecraft:fox", Fox: Fox;
"minecraft:frog", Frog: Frog;
"minecraft:furnace_minecart", FurnaceMinecart: MinecartFurnace;
"minecraft:ghast", Ghast: Ghast;
"minecraft:giant", Giant: Giant;
"minecraft:glow_item_frame", GlowItemFrame: GlowItemFrame;
"minecraft:glow_squid", GlowSquid: GlowSquid;
"minecraft:goat", Goat: Goat;
"minecraft:guardian", Guardian: Guardian;
"minecraft:hoglin", Hoglin: Hoglin;
"minecraft:hopper_minecart", HopperMinecart: MinecartHopper;
"minecraft:horse", Horse: Horse;
"minecraft:husk", Husk: Husk;
"minecraft:illusioner", Illusioner: Illusioner;
"minecraft:interaction", Interaction: Interaction;
"minecraft:iron_golem", IronGolem: IronGolem;
"minecraft:item", Item: ItemEntity;
"minecraft:item_display", ItemDisplay: ItemDisplay;
"minecraft:item_frame", ItemFrame: ItemFrame;
"minecraft:leash_knot", LeashKnot: LeashFenceKnotEntity;
"minecraft:lightning_bolt", LightningBolt: LightningBolt;
"minecraft:llama", Llama: Llama;
"minecraft:llama_spit", LlamaSpit: LlamaSpit;
"minecraft:magma_cube", MagmaCube: MagmaCube;
"minecraft:marker", Marker: Marker;
"minecraft:minecart", Minecart: Minecart;
"minecraft:mooshroom", Mooshroom: MushroomCow;
"minecraft:mule", Mule: Mule;
"minecraft:ocelot", Ocelot: Ocelot;
"minecraft:painting", Painting: Painting;
"minecraft:panda", Panda: Panda;
"minecraft:parrot", Parrot: Parrot;
"minecraft:phantom", Phantom: Phantom;
"minecraft:pig", Pig: Pig;
"minecraft:piglin", Piglin: Piglin;
"minecraft:piglin_brute", PiglinBrute: PiglinBrute;
"minecraft:pillager", Pillager: Pillager;
"minecraft:polar_bear", PolarBear: PolarBear;
"minecraft:potion", Potion: ThrownPotion;
"minecraft:pufferfish", Pufferfish: Pufferfish;
"minecraft:rabbit", Rabbit: Rabbit;
"minecraft:ravager", Ravager: Ravager;
"minecraft:salmon", Salmon: Salmon;
"minecraft:sheep", Sheep: Sheep;
"minecraft:shulker", Shulker: Shulker;
"minecraft:shulker_bullet", ShulkerBullet: ShulkerBullet;
"minecraft:silverfish", Silverfish: Silverfish;
"minecraft:skeleton", Skeleton: Skeleton;
"minecraft:skeleton_horse", SkeletonHorse: SkeletonHorse;
"minecraft:slime", Slime: Slime;
"minecraft:small_fireball", SmallFireball: SmallFireball;
"minecraft:sniffer", Sniffer: Sniffer;
"minecraft:snow_golem", SnowGolem: SnowGolem;
"minecraft:snowball", Snowball: Snowball;
"minecraft:spawner_minecart", SpawnerMinecart: MinecartSpawner;
"minecraft:spectral_arrow", SpectralArrow: SpectralArrow;
"minecraft:spider", Spider: Spider;
"minecraft:squid", Squid: Squid;
"minecraft:stray", Stray: Stray;
"minecraft:strider", Strider: Strider;
"minecraft:tadpole", Tadpole: Tadpole;
"minecraft:text_display", TextDisplay: TextDisplay;
"minecraft:tnt", Tnt: PrimedTnt;
"minecraft:tnt_minecart", TntMinecart: MinecartTNT;
"minecraft:trader_llama", TraderLlama: TraderLlama;
"minecraft:trident", Trident: ThrownTrident;
"minecraft:tropical_fish", TropicalFish: TropicalFish;
"minecraft:turtle", Turtle: Turtle;
"minecraft:vex", Vex: Vex;
"minecraft:villager", Villager: Villager;
"minecraft:vindicator", Vindicator: Vindicator;
"minecraft:wandering_trader", WanderingTrader: WanderingTrader;
"minecraft:warden", Warden: Warden;
"minecraft:witch", Witch: Witch;
"minecraft:wither", Wither: WitherBoss;
"minecraft:wither_skeleton", WitherSkeleton: WitherSkeleton;
"minecraft:wither_skull", WitherSkull: WitherSkull;
"minecraft:wolf", Wolf: Wolf;
"minecraft:zoglin", Zoglin: Zoglin;
"minecraft:zombie", Zombie: Zombie;
"minecraft:zombie_horse", ZombieHorse: ZombieHorse;
"minecraft:zombie_villager", ZombieVillager: ZombieVillager;
"minecraft:zombified_piglin", ZombifiedPiglin: ZombifiedPiglin;
}
entity_types! {
"1.20.2";
AbstractArrow > Projectile { "PierceLevel" as pierce_level: i8, "ShotFromCrossbow" as shot_from_crossbow: bool, "SoundEvent" as sound_event: CowStr, "crit" as crit: bool, "damage" as damage: f64, optional "inBlockState" as in_block_state: super::BlockState, "inGround" as in_ground: bool, "life" as life: i16, "pickup" as pickup: i8, "shake" as shake: i8 }
AbstractChestedHorse > AbstractHorse { "ChestedHorse" as chested_horse: bool, optional "Items" as items: Vec<super::compounds::ItemStack_save_2> }
AbstractFish > WaterAnimal { "FromBucket" as from_bucket: bool }
AbstractGolem > PathfinderMob { }
AbstractHorse > Animal { "Bred" as bred: bool, "EatingHaystack" as eating_haystack: bool, optional "Owner" as owner: u128, optional "SaddleItem" as saddle_item: super::compounds::ItemStack_save, "Tame" as tame: bool, "Temper" as temper: i32 }
AbstractHurtingProjectile > Projectile { "power" as power: Vec<f64> }
AbstractIllager > Raider { }
AbstractMinecart > Entity { optional "CustomDisplayTile" as custom_display_tile: bool, optional "DisplayOffset" as display_offset: i32, optional "DisplayState" as display_state: super::BlockState }
AbstractMinecartContainer > AbstractMinecart { optional "Items" as items: Vec<super::compounds::ItemStack_save_2>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
AbstractPiglin > Monster { optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
AbstractSchoolingFish > AbstractFish { }
AbstractSkeleton > Monster { }
AbstractVillager > AgeableMob { "Inventory" as inventory: Vec<super::compounds::ItemStack_save>, optional "Offers" as offers: super::compounds::MerchantOffers_createTag }
AgeableMob > PathfinderMob { "Age" as age: i32, "ForcedAge" as forced_age: i32 }
Allay > PathfinderMob { "CanDuplicate" as can_duplicate: bool, "DuplicationCooldown" as duplication_cooldown: i64, "Inventory" as inventory: Vec<super::compounds::ItemStack_save>, optional "listener" as listener: fastnbt::Value }
AmbientCreature > Mob { }
Animal > AgeableMob { "InLove" as in_love: i32, optional "LoveCause" as love_cause: u128 }
AreaEffectCloud > Entity { "Age" as age: i32, optional "Color" as color: i32, "Duration" as duration: i32, "DurationOnUse" as duration_on_use: i32, optional "Owner" as owner: u128, "Particle" as particle: CowStr, optional "Potion" as potion: CowStr, "Radius" as radius: f32, "RadiusOnUse" as radius_on_use: f32, "RadiusPerTick" as radius_per_tick: f32, "ReapplicationDelay" as reapplication_delay: i32, "WaitTime" as wait_time: i32, optional "effects" as effects: Vec<super::compounds::MobEffectInstance_save> }
ArmorStand > LivingEntity { "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save_1>, "DisabledSlots" as disabled_slots: i32, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save_1>, "Invisible" as invisible: bool, optional "Marker" as marker: bool, "NoBasePlate" as no_base_plate: bool, "Pose" as pose: super::compounds::ArmorStand_writePose, "ShowArms" as show_arms: bool, "Small" as small: bool }
Arrow > AbstractArrow { optional "Color" as color: i32, optional "Potion" as potion: CowStr, optional "custom_potion_effects" as custom_potion_effects: Vec<super::compounds::MobEffectInstance_save> }
Axolotl > Animal { "FromBucket" as from_bucket: bool, "Variant" as variant: i32 }
Bat > AmbientCreature { "BatFlags" as bat_flags: i8 }
Bee > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CannotEnterHiveTicks" as cannot_enter_hive_ticks: i32, "CropsGrownSincePollination" as crops_grown_since_pollination: i32, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos, "HasNectar" as has_nectar: bool, "HasStung" as has_stung: bool, optional "HivePos" as hive_pos: super::compounds::NbtUtils_writeBlockPos, "TicksSincePollination" as ticks_since_pollination: i32 }
Blaze > Monster { }
BlockDisplay > Display { "block_state" as block_state: super::BlockState }
Boat > Entity { "Type" as r#type: CowStr }
Camel > AbstractHorse { "LastPoseTick" as last_pose_tick: i64 }
Cat > TamableAnimal { "CollarColor" as collar_color: i8, "variant" as variant: CowStr }
CaveSpider > Spider { }
ChestBoat > Boat { optional "Items" as items: Vec<super::compounds::ItemStack_save_2>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
Chicken > Animal { "EggLayTime" as egg_lay_time: i32, "IsChickenJockey" as is_chicken_jockey: bool }
Cod > AbstractSchoolingFish { }
Cow > Animal { }
Creeper > Monster { "ExplosionRadius" as explosion_radius: i8, "Fuse" as fuse: i16, "ignited" as ignited: bool, optional "powered" as powered: bool }
Display > Entity { optional "billboard" as billboard: fastnbt::Value, optional "brightness" as brightness: fastnbt::Value, "glow_color_override" as glow_color_override: i32, "height" as height: f32, "interpolation_duration" as interpolation_duration: i32, "shadow_radius" as shadow_radius: f32, "shadow_strength" as shadow_strength: f32, "teleport_duration" as teleport_duration: i32, optional "transformation" as transformation: fastnbt::Value, "view_range" as view_range: f32, "width" as width: f32 }
Dolphin > WaterAnimal { "GotFish" as got_fish: bool, "Moistness" as moistness: i32, "TreasurePosX" as treasure_pos_x: i32, "TreasurePosY" as treasure_pos_y: i32, "TreasurePosZ" as treasure_pos_z: i32 }
Donkey > AbstractChestedHorse { }
DragonFireball > AbstractHurtingProjectile { }
Drowned > Zombie { }
ElderGuardian > Guardian { }
EndCrystal > Entity { optional "BeamTarget" as beam_target: super::compounds::NbtUtils_writeBlockPos, "ShowBottom" as show_bottom: bool }
EnderDragon > Mob { "DragonDeathTime" as dragon_death_time: i32, "DragonPhase" as dragon_phase: i32 }
EnderMan > Monster { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, optional "carriedBlockState" as carried_block_state: super::BlockState }
Endermite > Monster { "Lifetime" as lifetime: i32 }
Entity { "Air" as air: i16, optional "CustomName" as custom_name: CowStr, optional "CustomNameVisible" as custom_name_visible: bool, "FallDistance" as fall_distance: f32, "Fire" as fire: i16, optional "Glowing" as glowing: bool, optional "HasVisualFire" as has_visual_fire: bool, "Invulnerable" as invulnerable: bool, "Motion" as motion: Vec<f64>, optional "NoGravity" as no_gravity: bool, "OnGround" as on_ground: bool, optional "Passengers" as passengers: Vec<Box<super::Entity>>, "PortalCooldown" as portal_cooldown: i32, optional "Pos" as pos: Vec<f64>, "Rotation" as rotation: Vec<f32>, optional "Silent" as silent: bool, optional "Tags" as tags: Vec<CowStr>, optional "TicksFrozen" as ticks_frozen: i32, "UUID" as uuid: u128 }
Evoker > SpellcasterIllager { }
EvokerFangs > Entity { optional "Owner" as owner: u128, "Warmup" as warmup: i32 }
ExperienceOrb > Entity { "Age" as age: i16, "Count" as count: i32, "Health" as health: i16, "Value" as value: i16 }
EyeOfEnder > Entity { optional "Item" as item: super::compounds::ItemStack_save }
FallingBlockEntity > Entity { "BlockState" as block_state: super::BlockState, "CancelDrop" as cancel_drop: bool, "DropItem" as drop_item: bool, "FallHurtAmount" as fall_hurt_amount: f32, "FallHurtMax" as fall_hurt_max: i32, "HurtEntities" as hurt_entities: bool, optional "TileEntityData" as tile_entity_data: HashMap<CowStr, fastnbt::Value>, "Time" as time: i32 }
Fireball > AbstractHurtingProjectile { optional "Item" as item: super::compounds::ItemStack_save }
FireworkRocketEntity > Projectile { optional "FireworksItem" as fireworks_item: super::compounds::ItemStack_save, "Life" as life: i32, "LifeTime" as life_time: i32, "ShotAtAngle" as shot_at_angle: bool }
FishingHook > Projectile { }
FlyingMob > Mob { }
Fox > Animal { "Crouching" as crouching: bool, "Sitting" as sitting: bool, "Sleeping" as sleeping: bool, "Trusted" as trusted: Vec<fastnbt::IntArray>, "Type" as r#type: CowStr }
Frog > Animal { "variant" as variant: CowStr }
Ghast > FlyingMob { "ExplosionPower" as explosion_power: i8 }
Giant > Monster { }
GlowItemFrame > ItemFrame { }
GlowSquid > Squid { "DarkTicksRemaining" as dark_ticks_remaining: i32 }
Goat > Animal { "HasLeftHorn" as has_left_horn: bool, "HasRightHorn" as has_right_horn: bool, "IsScreamingGoat" as is_screaming_goat: bool }
Guardian > Monster { }
HangingEntity > Entity { "TileX" as tile_x: i32, "TileY" as tile_y: i32, "TileZ" as tile_z: i32 }
Hoglin > Animal { optional "CannotBeHunted" as cannot_be_hunted: bool, optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
Horse > AbstractHorse { optional "ArmorItem" as armor_item: super::compounds::ItemStack_save, "Variant" as variant: i32 }
Husk > Zombie { }
Illusioner > SpellcasterIllager { }
Interaction > Entity { optional "attack" as attack: fastnbt::Value, "height" as height: f32, optional "interaction" as interaction: fastnbt::Value, "response" as response: bool, "width" as width: f32 }
IronGolem > AbstractGolem { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "PlayerCreated" as player_created: bool }
ItemDisplay > Display { "item" as item: super::compounds::ItemStack_save, optional "item_display" as item_display: fastnbt::Value }
ItemEntity > Entity { "Age" as age: i16, "Health" as health: i16, optional "Item" as item: super::compounds::ItemStack_save, optional "Owner" as owner: u128, "PickupDelay" as pickup_delay: i16, optional "Thrower" as thrower: u128 }
ItemFrame > HangingEntity { "Facing" as facing: i8, "Fixed" as fixed: bool, "Invisible" as invisible: bool, optional "Item" as item: super::compounds::ItemStack_save, optional "ItemDropChance" as item_drop_chance: f32, optional "ItemRotation" as item_rotation: i8 }
LargeFireball > Fireball { "ExplosionPower" as explosion_power: i8 }
LeashFenceKnotEntity > HangingEntity { }
LightningBolt > Entity { }
LivingEntity > Entity { "AbsorptionAmount" as absorption_amount: f32, "Attributes" as attributes: Vec<super::compounds::AttributeInstance_save>, optional "Brain" as brain: fastnbt::Value, "DeathTime" as death_time: i16, "FallFlying" as fall_flying: bool, "Health" as health: f32, "HurtByTimestamp" as hurt_by_timestamp: i32, "HurtTime" as hurt_time: i16, optional "SleepingX" as sleeping_x: i32, optional "SleepingY" as sleeping_y: i32, optional "SleepingZ" as sleeping_z: i32, optional "active_effects" as active_effects: Vec<super::compounds::MobEffectInstance_save> }
Llama > AbstractChestedHorse { optional "DecorItem" as decor_item: super::compounds::ItemStack_save, "Strength" as strength: i32, "Variant" as variant: i32 }
LlamaSpit > Projectile { }
MagmaCube > Slime { }
Marker > Entity { "data" as data: HashMap<CowStr, fastnbt::Value> }
Minecart > AbstractMinecart { }
MinecartChest > AbstractMinecartContainer { }
MinecartCommandBlock > AbstractMinecart { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool }
MinecartFurnace > AbstractMinecart { "Fuel" as fuel: i16, "PushX" as push_x: f64, "PushZ" as push_z: f64 }
MinecartHopper > AbstractMinecartContainer { "Enabled" as enabled: bool }
MinecartSpawner > AbstractMinecart { "Delay" as delay: i16, "MaxNearbyEntities" as max_nearby_entities: i16, "MaxSpawnDelay" as max_spawn_delay: i16, "MinSpawnDelay" as min_spawn_delay: i16, "RequiredPlayerRange" as required_player_range: i16, "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: fastnbt::Value, "SpawnPotentials" as spawn_potentials: fastnbt::Value, "SpawnRange" as spawn_range: i16 }
MinecartTNT > AbstractMinecart { "TNTFuse" as tnt_fuse: i32 }
Mob > LivingEntity { "ArmorDropChances" as armor_drop_chances: Vec<f32>, "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save_1>, "CanPickUpLoot" as can_pick_up_loot: bool, optional "DeathLootTable" as death_loot_table: CowStr, optional "DeathLootTableSeed" as death_loot_table_seed: i64, "HandDropChances" as hand_drop_chances: Vec<f32>, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save_1>, optional "Leash" as leash: super::compounds::Compound2, "LeftHanded" as left_handed: bool, optional "NoAI" as no_ai: bool, "PersistenceRequired" as persistence_required: bool }
Monster > PathfinderMob { }
Mule > AbstractChestedHorse { }
MushroomCow > Cow { "Type" as r#type: CowStr, optional "stew_effects" as stew_effects: fastnbt::Value }
Ocelot > Animal { "Trusting" as trusting: bool }
Painting > HangingEntity { "facing" as facing: i8, "variant" as variant: CowStr }
Panda > Animal { "HiddenGene" as hidden_gene: CowStr, "MainGene" as main_gene: CowStr }
Parrot > ShoulderRidingEntity { "Variant" as variant: i32 }
PathfinderMob > Mob { }
PatrollingMonster > Monster { "PatrolLeader" as patrol_leader: bool, optional "PatrolTarget" as patrol_target: super::compounds::NbtUtils_writeBlockPos, "Patrolling" as patrolling: bool }
Phantom > FlyingMob { "AX" as ax: i32, "AY" as ay: i32, "AZ" as az: i32, "Size" as size: i32 }
Pig > Animal { "Saddle" as saddle: bool }
Piglin > AbstractPiglin { optional "CannotHunt" as cannot_hunt: bool, "Inventory" as inventory: Vec<super::compounds::ItemStack_save>, optional "IsBaby" as is_baby: bool }
PiglinBrute > AbstractPiglin { }
Pillager > AbstractIllager { "Inventory" as inventory: Vec<super::compounds::ItemStack_save> }
PolarBear > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
PrimedTnt > Entity { "Fuse" as fuse: i16 }
Projectile > Entity { "HasBeenShot" as has_been_shot: bool, optional "LeftOwner" as left_owner: bool, optional "Owner" as owner: u128 }
Pufferfish > AbstractFish { "PuffState" as puff_state: i32 }
Rabbit > Animal { "MoreCarrotTicks" as more_carrot_ticks: i32, "RabbitType" as rabbit_type: i32 }
Raider > PatrollingMonster { "CanJoinRaid" as can_join_raid: bool, optional "RaidId" as raid_id: i32, "Wave" as wave: i32 }
Ravager > Raider { "AttackTick" as attack_tick: i32, "RoarTick" as roar_tick: i32, "StunTick" as stun_tick: i32 }
Salmon > AbstractSchoolingFish { }
Sheep > Animal { "Color" as color: i8, "Sheared" as sheared: bool }
ShoulderRidingEntity > TamableAnimal { }
Shulker > AbstractGolem { "AttachFace" as attach_face: i8, "Color" as color: i8, "Peek" as peek: i8 }
ShulkerBullet > Projectile { optional "Dir" as dir: i32, "Steps" as steps: i32, "TXD" as txd: f64, "TYD" as tyd: f64, "TZD" as tzd: f64, optional "Target" as target: u128 }
Silverfish > Monster { }
Skeleton > AbstractSkeleton { "StrayConversionTime" as stray_conversion_time: i32 }
SkeletonHorse > AbstractHorse { "SkeletonTrap" as skeleton_trap: bool, "SkeletonTrapTime" as skeleton_trap_time: i32 }
Slime > Mob { "Size" as size: i32, "wasOnGround" as was_on_ground: bool }
SmallFireball > Fireball { }
Sniffer > Animal { }
SnowGolem > AbstractGolem { "Pumpkin" as pumpkin: bool }
Snowball > ThrowableItemProjectile { }
SpectralArrow > AbstractArrow { "Duration" as duration: i32 }
SpellcasterIllager > AbstractIllager { "SpellTicks" as spell_ticks: i32 }
Spider > Monster { }
Squid > WaterAnimal { }
Stray > AbstractSkeleton { }
Strider > Animal { "Saddle" as saddle: bool }
Tadpole > AbstractFish { "Age" as age: i32 }
TamableAnimal > Animal { optional "Owner" as owner: u128, "Sitting" as sitting: bool }
TextDisplay > Display { optional "alignment" as alignment: fastnbt::Value, "background" as background: i32, "default_background" as default_background: bool, "line_width" as line_width: i32, "see_through" as see_through: bool, "shadow" as shadow: bool, "text" as text: CowStr, "text_opacity" as text_opacity: i8 }
ThrowableItemProjectile > ThrowableProjectile { optional "Item" as item: super::compounds::ItemStack_save }
ThrowableProjectile > Projectile { }
ThrownEgg > ThrowableItemProjectile { }
ThrownEnderpearl > ThrowableItemProjectile { }
ThrownExperienceBottle > ThrowableItemProjectile { }
ThrownPotion > ThrowableItemProjectile { }
ThrownTrident > AbstractArrow { "DealtDamage" as dealt_damage: bool, "Trident" as trident: super::compounds::ItemStack_save }
TraderLlama > Llama { "DespawnDelay" as despawn_delay: i32 }
TropicalFish > AbstractSchoolingFish { "Variant" as variant: i32 }
Turtle > Animal { "HasEgg" as has_egg: bool, "HomePosX" as home_pos_x: i32, "HomePosY" as home_pos_y: i32, "HomePosZ" as home_pos_z: i32, "TravelPosX" as travel_pos_x: i32, "TravelPosY" as travel_pos_y: i32, "TravelPosZ" as travel_pos_z: i32 }
Vex > Monster { optional "BoundX" as bound_x: i32, optional "BoundY" as bound_y: i32, optional "BoundZ" as bound_z: i32, optional "LifeTicks" as life_ticks: i32 }
Villager > AbstractVillager { optional "AssignProfessionWhenSpawned" as assign_profession_when_spawned: bool, "FoodLevel" as food_level: i8, "Gossips" as gossips: fastnbt::Value, "LastGossipDecay" as last_gossip_decay: i64, "LastRestock" as last_restock: i64, "RestocksToday" as restocks_today: i32, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
Vindicator > AbstractIllager { optional "Johnny" as johnny: bool }
WanderingTrader > AbstractVillager { "DespawnDelay" as despawn_delay: i32, optional "WanderTarget" as wander_target: super::compounds::NbtUtils_writeBlockPos }
Warden > Monster { optional "anger" as anger: fastnbt::Value, optional "listener" as listener: fastnbt::Value }
WaterAnimal > PathfinderMob { }
Witch > Raider { }
WitherBoss > Monster { "Invul" as invul: i32 }
WitherSkeleton > AbstractSkeleton { }
WitherSkull > AbstractHurtingProjectile { }
Wolf > TamableAnimal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CollarColor" as collar_color: i8 }
Zoglin > Monster { optional "IsBaby" as is_baby: bool }
Zombie > Monster { "CanBreakDoors" as can_break_doors: bool, "DrownedConversionTime" as drowned_conversion_time: i32, "InWaterTime" as in_water_time: i32, "IsBaby" as is_baby: bool }
ZombieHorse > AbstractHorse { }
ZombieVillager > Zombie { optional "ConversionPlayer" as conversion_player: u128, "ConversionTime" as conversion_time: i32, optional "Gossips" as gossips: fastnbt::Value, optional "Offers" as offers: HashMap<CowStr, fastnbt::Value>, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
ZombifiedPiglin > Zombie { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
}
entity_compound_types! {
"1.20.2";
ArmorStand_writePose { optional "Body" as body: Vec<f32>, optional "Head" as head: Vec<f32>, optional "LeftArm" as left_arm: Vec<f32>, optional "LeftLeg" as left_leg: Vec<f32>, optional "RightArm" as right_arm: Vec<f32>, optional "RightLeg" as right_leg: Vec<f32> }
AttributeInstance_save { "Base" as base: f64, optional "Modifiers" as modifiers: Vec<super::compounds::AttributeModifier_save>, "Name" as name: CowStr }
AttributeModifier_save { "Amount" as amount: f64, "Name" as name: CowStr, "Operation" as operation: i32, "UUID" as uuid: u128 }
Compound2 { optional "UUID" as uuid: u128, optional "X" as x: i32, optional "Y" as y: i32, optional "Z" as z: i32 }
ItemStack_save { "Count" as count: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_1 { optional "Count" as count: i8, optional "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_2 { "Count" as count: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
MerchantOffer_createTag { "buy" as buy: super::compounds::ItemStack_save, "buyB" as buy_b: super::compounds::ItemStack_save, "demand" as demand: i32, "maxUses" as max_uses: i32, "priceMultiplier" as price_multiplier: f32, "rewardExp" as reward_exp: bool, "sell" as sell: super::compounds::ItemStack_save, "specialPrice" as special_price: i32, "uses" as uses: i32, "xp" as xp: i32 }
MerchantOffers_createTag { "Recipes" as recipes: Vec<super::compounds::MerchantOffer_createTag> }
MobEffectInstance_save { "ambient" as ambient: bool, "amplifier" as amplifier: i8, "duration" as duration: i32, optional "factor_calculation_data" as factor_calculation_data: fastnbt::Value, optional "hidden_effect" as hidden_effect: Box<super::compounds::MobEffectInstance_save>, "id" as id: CowStr, "show_icon" as show_icon: bool, "show_particles" as show_particles: bool }
NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
}
}
/// Accompanying types for entities in Minecraft 1.20.3.
#[cfg(feature = "1.20.3")]
pub mod mc1_20_3 {
entities! {
"1.20.3", mc1_20_3;
"minecraft:allay", Allay: Allay;
"minecraft:area_effect_cloud", AreaEffectCloud: AreaEffectCloud;
"minecraft:armor_stand", ArmorStand: ArmorStand;
"minecraft:arrow", Arrow: Arrow;
"minecraft:axolotl", Axolotl: Axolotl;
"minecraft:bat", Bat: Bat;
"minecraft:bee", Bee: Bee;
"minecraft:blaze", Blaze: Blaze;
"minecraft:block_display", BlockDisplay: BlockDisplay;
"minecraft:boat", Boat: Boat;
experimental "minecraft:breeze", Breeze: Breeze;
"minecraft:camel", Camel: Camel;
"minecraft:cat", Cat: Cat;
"minecraft:cave_spider", CaveSpider: CaveSpider;
"minecraft:chest_boat", ChestBoat: ChestBoat;
"minecraft:chest_minecart", ChestMinecart: MinecartChest;
"minecraft:chicken", Chicken: Chicken;
"minecraft:cod", Cod: Cod;
"minecraft:command_block_minecart", CommandBlockMinecart: MinecartCommandBlock;
"minecraft:cow", Cow: Cow;
"minecraft:creeper", Creeper: Creeper;
"minecraft:dolphin", Dolphin: Dolphin;
"minecraft:donkey", Donkey: Donkey;
"minecraft:dragon_fireball", DragonFireball: DragonFireball;
"minecraft:drowned", Drowned: Drowned;
"minecraft:egg", Egg: ThrownEgg;
"minecraft:elder_guardian", ElderGuardian: ElderGuardian;
"minecraft:end_crystal", EndCrystal: EndCrystal;
"minecraft:ender_dragon", EnderDragon: EnderDragon;
"minecraft:ender_pearl", EnderPearl: ThrownEnderpearl;
"minecraft:enderman", Enderman: EnderMan;
"minecraft:endermite", Endermite: Endermite;
"minecraft:evoker", Evoker: Evoker;
"minecraft:evoker_fangs", EvokerFangs: EvokerFangs;
"minecraft:experience_bottle", ExperienceBottle: ThrownExperienceBottle;
"minecraft:experience_orb", ExperienceOrb: ExperienceOrb;
"minecraft:eye_of_ender", EyeOfEnder: EyeOfEnder;
"minecraft:falling_block", FallingBlock: FallingBlockEntity;
"minecraft:fireball", Fireball: LargeFireball;
"minecraft:firework_rocket", FireworkRocket: FireworkRocketEntity;
"minecraft:fishing_bobber", FishingBobber: FishingHook;
"minecraft:fox", Fox: Fox;
"minecraft:frog", Frog: Frog;
"minecraft:furnace_minecart", FurnaceMinecart: MinecartFurnace;
"minecraft:ghast", Ghast: Ghast;
"minecraft:giant", Giant: Giant;
"minecraft:glow_item_frame", GlowItemFrame: GlowItemFrame;
"minecraft:glow_squid", GlowSquid: GlowSquid;
"minecraft:goat", Goat: Goat;
"minecraft:guardian", Guardian: Guardian;
"minecraft:hoglin", Hoglin: Hoglin;
"minecraft:hopper_minecart", HopperMinecart: MinecartHopper;
"minecraft:horse", Horse: Horse;
"minecraft:husk", Husk: Husk;
"minecraft:illusioner", Illusioner: Illusioner;
"minecraft:interaction", Interaction: Interaction;
"minecraft:iron_golem", IronGolem: IronGolem;
"minecraft:item", Item: ItemEntity;
"minecraft:item_display", ItemDisplay: ItemDisplay;
"minecraft:item_frame", ItemFrame: ItemFrame;
"minecraft:leash_knot", LeashKnot: LeashFenceKnotEntity;
"minecraft:lightning_bolt", LightningBolt: LightningBolt;
"minecraft:llama", Llama: Llama;
"minecraft:llama_spit", LlamaSpit: LlamaSpit;
"minecraft:magma_cube", MagmaCube: MagmaCube;
"minecraft:marker", Marker: Marker;
"minecraft:minecart", Minecart: Minecart;
"minecraft:mooshroom", Mooshroom: MushroomCow;
"minecraft:mule", Mule: Mule;
"minecraft:ocelot", Ocelot: Ocelot;
"minecraft:painting", Painting: Painting;
"minecraft:panda", Panda: Panda;
"minecraft:parrot", Parrot: Parrot;
"minecraft:phantom", Phantom: Phantom;
"minecraft:pig", Pig: Pig;
"minecraft:piglin", Piglin: Piglin;
"minecraft:piglin_brute", PiglinBrute: PiglinBrute;
"minecraft:pillager", Pillager: Pillager;
"minecraft:polar_bear", PolarBear: PolarBear;
"minecraft:potion", Potion: ThrownPotion;
"minecraft:pufferfish", Pufferfish: Pufferfish;
"minecraft:rabbit", Rabbit: Rabbit;
"minecraft:ravager", Ravager: Ravager;
"minecraft:salmon", Salmon: Salmon;
"minecraft:sheep", Sheep: Sheep;
"minecraft:shulker", Shulker: Shulker;
"minecraft:shulker_bullet", ShulkerBullet: ShulkerBullet;
"minecraft:silverfish", Silverfish: Silverfish;
"minecraft:skeleton", Skeleton: Skeleton;
"minecraft:skeleton_horse", SkeletonHorse: SkeletonHorse;
"minecraft:slime", Slime: Slime;
"minecraft:small_fireball", SmallFireball: SmallFireball;
"minecraft:sniffer", Sniffer: Sniffer;
"minecraft:snow_golem", SnowGolem: SnowGolem;
"minecraft:snowball", Snowball: Snowball;
"minecraft:spawner_minecart", SpawnerMinecart: MinecartSpawner;
"minecraft:spectral_arrow", SpectralArrow: SpectralArrow;
"minecraft:spider", Spider: Spider;
"minecraft:squid", Squid: Squid;
"minecraft:stray", Stray: Stray;
"minecraft:strider", Strider: Strider;
"minecraft:tadpole", Tadpole: Tadpole;
"minecraft:text_display", TextDisplay: TextDisplay;
"minecraft:tnt", Tnt: PrimedTnt;
"minecraft:tnt_minecart", TntMinecart: MinecartTNT;
"minecraft:trader_llama", TraderLlama: TraderLlama;
"minecraft:trident", Trident: ThrownTrident;
"minecraft:tropical_fish", TropicalFish: TropicalFish;
"minecraft:turtle", Turtle: Turtle;
"minecraft:vex", Vex: Vex;
"minecraft:villager", Villager: Villager;
"minecraft:vindicator", Vindicator: Vindicator;
"minecraft:wandering_trader", WanderingTrader: WanderingTrader;
"minecraft:warden", Warden: Warden;
experimental "minecraft:wind_charge", WindCharge: WindCharge;
"minecraft:witch", Witch: Witch;
"minecraft:wither", Wither: WitherBoss;
"minecraft:wither_skeleton", WitherSkeleton: WitherSkeleton;
"minecraft:wither_skull", WitherSkull: WitherSkull;
"minecraft:wolf", Wolf: Wolf;
"minecraft:zoglin", Zoglin: Zoglin;
"minecraft:zombie", Zombie: Zombie;
"minecraft:zombie_horse", ZombieHorse: ZombieHorse;
"minecraft:zombie_villager", ZombieVillager: ZombieVillager;
"minecraft:zombified_piglin", ZombifiedPiglin: ZombifiedPiglin;
}
entity_types! {
"1.20.3";
AbstractArrow > Projectile { "PierceLevel" as pierce_level: i8, "ShotFromCrossbow" as shot_from_crossbow: bool, "SoundEvent" as sound_event: CowStr, "crit" as crit: bool, "damage" as damage: f64, optional "inBlockState" as in_block_state: super::BlockState, "inGround" as in_ground: bool, "item" as item: super::compounds::ItemStack_save, "life" as life: i16, "pickup" as pickup: i8, "shake" as shake: i8 }
AbstractChestedHorse > AbstractHorse { "ChestedHorse" as chested_horse: bool, optional "Items" as items: Vec<super::compounds::ItemStack_save_2> }
AbstractFish > WaterAnimal { "FromBucket" as from_bucket: bool }
AbstractGolem > PathfinderMob { }
AbstractHorse > Animal { "Bred" as bred: bool, "EatingHaystack" as eating_haystack: bool, optional "Owner" as owner: u128, optional "SaddleItem" as saddle_item: super::compounds::ItemStack_save, "Tame" as tame: bool, "Temper" as temper: i32 }
AbstractHurtingProjectile > Projectile { "power" as power: Vec<f64> }
AbstractIllager > Raider { }
AbstractMinecart > VehicleEntity { optional "CustomDisplayTile" as custom_display_tile: bool, optional "DisplayOffset" as display_offset: i32, optional "DisplayState" as display_state: super::BlockState }
AbstractMinecartContainer > AbstractMinecart { optional "Items" as items: Vec<super::compounds::ItemStack_save_2>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
AbstractPiglin > Monster { optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
AbstractSchoolingFish > AbstractFish { }
AbstractSkeleton > Monster { }
AbstractVillager > AgeableMob { "Inventory" as inventory: Vec<super::compounds::ItemStack_save>, optional "Offers" as offers: super::compounds::MerchantOffers_createTag }
AgeableMob > PathfinderMob { "Age" as age: i32, "ForcedAge" as forced_age: i32 }
Allay > PathfinderMob { "CanDuplicate" as can_duplicate: bool, "DuplicationCooldown" as duplication_cooldown: i64, "Inventory" as inventory: Vec<super::compounds::ItemStack_save>, optional "listener" as listener: fastnbt::Value }
AmbientCreature > Mob { }
Animal > AgeableMob { "InLove" as in_love: i32, optional "LoveCause" as love_cause: u128 }
AreaEffectCloud > Entity { "Age" as age: i32, optional "Color" as color: i32, "Duration" as duration: i32, "DurationOnUse" as duration_on_use: i32, optional "Owner" as owner: u128, "Particle" as particle: CowStr, optional "Potion" as potion: CowStr, "Radius" as radius: f32, "RadiusOnUse" as radius_on_use: f32, "RadiusPerTick" as radius_per_tick: f32, "ReapplicationDelay" as reapplication_delay: i32, "WaitTime" as wait_time: i32, optional "effects" as effects: Vec<super::compounds::MobEffectInstance_save> }
ArmorStand > LivingEntity { "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save_1>, "DisabledSlots" as disabled_slots: i32, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save_1>, "Invisible" as invisible: bool, optional "Marker" as marker: bool, "NoBasePlate" as no_base_plate: bool, "Pose" as pose: super::compounds::ArmorStand_writePose, "ShowArms" as show_arms: bool, "Small" as small: bool }
Arrow > AbstractArrow { optional "Color" as color: i32, optional "Potion" as potion: CowStr, optional "custom_potion_effects" as custom_potion_effects: Vec<super::compounds::MobEffectInstance_save> }
Axolotl > Animal { "FromBucket" as from_bucket: bool, "Variant" as variant: i32 }
Bat > AmbientCreature { "BatFlags" as bat_flags: i8 }
Bee > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CannotEnterHiveTicks" as cannot_enter_hive_ticks: i32, "CropsGrownSincePollination" as crops_grown_since_pollination: i32, optional "FlowerPos" as flower_pos: super::compounds::NbtUtils_writeBlockPos, "HasNectar" as has_nectar: bool, "HasStung" as has_stung: bool, optional "HivePos" as hive_pos: super::compounds::NbtUtils_writeBlockPos, "TicksSincePollination" as ticks_since_pollination: i32 }
Blaze > Monster { }
BlockDisplay > Display { "block_state" as block_state: super::BlockState }
Boat > VehicleEntity { "Type" as r#type: CowStr }
Breeze > Monster { }
Camel > AbstractHorse { "LastPoseTick" as last_pose_tick: i64 }
Cat > TamableAnimal { "CollarColor" as collar_color: i8, "variant" as variant: CowStr }
CaveSpider > Spider { }
ChestBoat > Boat { optional "Items" as items: Vec<super::compounds::ItemStack_save_2>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
Chicken > Animal { "EggLayTime" as egg_lay_time: i32, "IsChickenJockey" as is_chicken_jockey: bool }
Cod > AbstractSchoolingFish { }
Cow > Animal { }
Creeper > Monster { "ExplosionRadius" as explosion_radius: i8, "Fuse" as fuse: i16, "ignited" as ignited: bool, optional "powered" as powered: bool }
Display > Entity { optional "billboard" as billboard: fastnbt::Value, optional "brightness" as brightness: fastnbt::Value, "glow_color_override" as glow_color_override: i32, "height" as height: f32, "interpolation_duration" as interpolation_duration: i32, "shadow_radius" as shadow_radius: f32, "shadow_strength" as shadow_strength: f32, "teleport_duration" as teleport_duration: i32, optional "transformation" as transformation: fastnbt::Value, "view_range" as view_range: f32, "width" as width: f32 }
Dolphin > WaterAnimal { "GotFish" as got_fish: bool, "Moistness" as moistness: i32, "TreasurePosX" as treasure_pos_x: i32, "TreasurePosY" as treasure_pos_y: i32, "TreasurePosZ" as treasure_pos_z: i32 }
Donkey > AbstractChestedHorse { }
DragonFireball > AbstractHurtingProjectile { }
Drowned > Zombie { }
ElderGuardian > Guardian { }
EndCrystal > Entity { optional "BeamTarget" as beam_target: super::compounds::NbtUtils_writeBlockPos, "ShowBottom" as show_bottom: bool }
EnderDragon > Mob { "DragonDeathTime" as dragon_death_time: i32, "DragonPhase" as dragon_phase: i32 }
EnderMan > Monster { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, optional "carriedBlockState" as carried_block_state: super::BlockState }
Endermite > Monster { "Lifetime" as lifetime: i32 }
Entity { "Air" as air: i16, optional "CustomName" as custom_name: CowStr, optional "CustomNameVisible" as custom_name_visible: bool, "FallDistance" as fall_distance: f32, "Fire" as fire: i16, optional "Glowing" as glowing: bool, optional "HasVisualFire" as has_visual_fire: bool, "Invulnerable" as invulnerable: bool, "Motion" as motion: Vec<f64>, optional "NoGravity" as no_gravity: bool, "OnGround" as on_ground: bool, optional "Passengers" as passengers: Vec<Box<super::Entity>>, "PortalCooldown" as portal_cooldown: i32, optional "Pos" as pos: Vec<f64>, "Rotation" as rotation: Vec<f32>, optional "Silent" as silent: bool, optional "Tags" as tags: Vec<CowStr>, optional "TicksFrozen" as ticks_frozen: i32, "UUID" as uuid: u128 }
Evoker > SpellcasterIllager { }
EvokerFangs > Entity { optional "Owner" as owner: u128, "Warmup" as warmup: i32 }
ExperienceOrb > Entity { "Age" as age: i16, "Count" as count: i32, "Health" as health: i16, "Value" as value: i16 }
EyeOfEnder > Entity { optional "Item" as item: super::compounds::ItemStack_save }
FallingBlockEntity > Entity { "BlockState" as block_state: super::BlockState, "CancelDrop" as cancel_drop: bool, "DropItem" as drop_item: bool, "FallHurtAmount" as fall_hurt_amount: f32, "FallHurtMax" as fall_hurt_max: i32, "HurtEntities" as hurt_entities: bool, optional "TileEntityData" as tile_entity_data: HashMap<CowStr, fastnbt::Value>, "Time" as time: i32 }
Fireball > AbstractHurtingProjectile { optional "Item" as item: super::compounds::ItemStack_save }
FireworkRocketEntity > Projectile { optional "FireworksItem" as fireworks_item: super::compounds::ItemStack_save, "Life" as life: i32, "LifeTime" as life_time: i32, "ShotAtAngle" as shot_at_angle: bool }
FishingHook > Projectile { }
FlyingMob > Mob { }
Fox > Animal { "Crouching" as crouching: bool, "Sitting" as sitting: bool, "Sleeping" as sleeping: bool, "Trusted" as trusted: Vec<fastnbt::IntArray>, "Type" as r#type: CowStr }
Frog > Animal { "variant" as variant: CowStr }
Ghast > FlyingMob { "ExplosionPower" as explosion_power: i8 }
Giant > Monster { }
GlowItemFrame > ItemFrame { }
GlowSquid > Squid { "DarkTicksRemaining" as dark_ticks_remaining: i32 }
Goat > Animal { "HasLeftHorn" as has_left_horn: bool, "HasRightHorn" as has_right_horn: bool, "IsScreamingGoat" as is_screaming_goat: bool }
Guardian > Monster { }
HangingEntity > Entity { "TileX" as tile_x: i32, "TileY" as tile_y: i32, "TileZ" as tile_z: i32 }
Hoglin > Animal { optional "CannotBeHunted" as cannot_be_hunted: bool, optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
Horse > AbstractHorse { optional "ArmorItem" as armor_item: super::compounds::ItemStack_save, "Variant" as variant: i32 }
Husk > Zombie { }
Illusioner > SpellcasterIllager { }
Interaction > Entity { optional "attack" as attack: fastnbt::Value, "height" as height: f32, optional "interaction" as interaction: fastnbt::Value, "response" as response: bool, "width" as width: f32 }
IronGolem > AbstractGolem { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "PlayerCreated" as player_created: bool }
ItemDisplay > Display { "item" as item: super::compounds::ItemStack_save, optional "item_display" as item_display: fastnbt::Value }
ItemEntity > Entity { "Age" as age: i16, "Health" as health: i16, optional "Item" as item: super::compounds::ItemStack_save, optional "Owner" as owner: u128, "PickupDelay" as pickup_delay: i16, optional "Thrower" as thrower: u128 }
ItemFrame > HangingEntity { "Facing" as facing: i8, "Fixed" as fixed: bool, "Invisible" as invisible: bool, optional "Item" as item: super::compounds::ItemStack_save, optional "ItemDropChance" as item_drop_chance: f32, optional "ItemRotation" as item_rotation: i8 }
LargeFireball > Fireball { "ExplosionPower" as explosion_power: i8 }
LeashFenceKnotEntity > HangingEntity { }
LightningBolt > Entity { }
LivingEntity > Entity { "AbsorptionAmount" as absorption_amount: f32, "Attributes" as attributes: Vec<super::compounds::AttributeInstance_save>, optional "Brain" as brain: fastnbt::Value, "DeathTime" as death_time: i16, "FallFlying" as fall_flying: bool, "Health" as health: f32, "HurtByTimestamp" as hurt_by_timestamp: i32, "HurtTime" as hurt_time: i16, optional "SleepingX" as sleeping_x: i32, optional "SleepingY" as sleeping_y: i32, optional "SleepingZ" as sleeping_z: i32, optional "active_effects" as active_effects: Vec<super::compounds::MobEffectInstance_save> }
Llama > AbstractChestedHorse { optional "DecorItem" as decor_item: super::compounds::ItemStack_save, "Strength" as strength: i32, "Variant" as variant: i32 }
LlamaSpit > Projectile { }
MagmaCube > Slime { }
Marker > Entity { "data" as data: HashMap<CowStr, fastnbt::Value> }
Minecart > AbstractMinecart { }
MinecartChest > AbstractMinecartContainer { }
MinecartCommandBlock > AbstractMinecart { "Command" as command: CowStr, "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool }
MinecartFurnace > AbstractMinecart { "Fuel" as fuel: i16, "PushX" as push_x: f64, "PushZ" as push_z: f64 }
MinecartHopper > AbstractMinecartContainer { "Enabled" as enabled: bool }
MinecartSpawner > AbstractMinecart { "Delay" as delay: i16, "MaxNearbyEntities" as max_nearby_entities: i16, "MaxSpawnDelay" as max_spawn_delay: i16, "MinSpawnDelay" as min_spawn_delay: i16, "RequiredPlayerRange" as required_player_range: i16, "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: fastnbt::Value, "SpawnPotentials" as spawn_potentials: fastnbt::Value, "SpawnRange" as spawn_range: i16 }
MinecartTNT > AbstractMinecart { "TNTFuse" as tnt_fuse: i32 }
Mob > LivingEntity { "ArmorDropChances" as armor_drop_chances: Vec<f32>, "ArmorItems" as armor_items: Vec<super::compounds::ItemStack_save_1>, "CanPickUpLoot" as can_pick_up_loot: bool, optional "DeathLootTable" as death_loot_table: CowStr, optional "DeathLootTableSeed" as death_loot_table_seed: i64, "HandDropChances" as hand_drop_chances: Vec<f32>, "HandItems" as hand_items: Vec<super::compounds::ItemStack_save_1>, optional "Leash" as leash: super::compounds::Compound2, "LeftHanded" as left_handed: bool, optional "NoAI" as no_ai: bool, "PersistenceRequired" as persistence_required: bool }
Monster > PathfinderMob { }
Mule > AbstractChestedHorse { }
MushroomCow > Cow { "Type" as r#type: CowStr, optional "stew_effects" as stew_effects: fastnbt::Value }
Ocelot > Animal { "Trusting" as trusting: bool }
Painting > HangingEntity { "facing" as facing: i8, "variant" as variant: CowStr }
Panda > Animal { "HiddenGene" as hidden_gene: CowStr, "MainGene" as main_gene: CowStr }
Parrot > ShoulderRidingEntity { "Variant" as variant: i32 }
PathfinderMob > Mob { }
PatrollingMonster > Monster { "PatrolLeader" as patrol_leader: bool, optional "PatrolTarget" as patrol_target: super::compounds::NbtUtils_writeBlockPos, "Patrolling" as patrolling: bool }
Phantom > FlyingMob { "AX" as ax: i32, "AY" as ay: i32, "AZ" as az: i32, "Size" as size: i32 }
Pig > Animal { "Saddle" as saddle: bool }
Piglin > AbstractPiglin { optional "CannotHunt" as cannot_hunt: bool, "Inventory" as inventory: Vec<super::compounds::ItemStack_save>, optional "IsBaby" as is_baby: bool }
PiglinBrute > AbstractPiglin { }
Pillager > AbstractIllager { "Inventory" as inventory: Vec<super::compounds::ItemStack_save> }
PolarBear > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
PrimedTnt > Entity { "block_state" as block_state: super::BlockState, "fuse" as fuse: i16 }
Projectile > Entity { "HasBeenShot" as has_been_shot: bool, optional "LeftOwner" as left_owner: bool, optional "Owner" as owner: u128 }
Pufferfish > AbstractFish { "PuffState" as puff_state: i32 }
Rabbit > Animal { "MoreCarrotTicks" as more_carrot_ticks: i32, "RabbitType" as rabbit_type: i32 }
Raider > PatrollingMonster { "CanJoinRaid" as can_join_raid: bool, optional "RaidId" as raid_id: i32, "Wave" as wave: i32 }
Ravager > Raider { "AttackTick" as attack_tick: i32, "RoarTick" as roar_tick: i32, "StunTick" as stun_tick: i32 }
Salmon > AbstractSchoolingFish { }
Sheep > Animal { "Color" as color: i8, "Sheared" as sheared: bool }
ShoulderRidingEntity > TamableAnimal { }
Shulker > AbstractGolem { "AttachFace" as attach_face: i8, "Color" as color: i8, "Peek" as peek: i8 }
ShulkerBullet > Projectile { optional "Dir" as dir: i32, "Steps" as steps: i32, "TXD" as txd: f64, "TYD" as tyd: f64, "TZD" as tzd: f64, optional "Target" as target: u128 }
Silverfish > Monster { }
Skeleton > AbstractSkeleton { "StrayConversionTime" as stray_conversion_time: i32 }
SkeletonHorse > AbstractHorse { "SkeletonTrap" as skeleton_trap: bool, "SkeletonTrapTime" as skeleton_trap_time: i32 }
Slime > Mob { "Size" as size: i32, "wasOnGround" as was_on_ground: bool }
SmallFireball > Fireball { }
Sniffer > Animal { }
SnowGolem > AbstractGolem { "Pumpkin" as pumpkin: bool }
Snowball > ThrowableItemProjectile { }
SpectralArrow > AbstractArrow { "Duration" as duration: i32 }
SpellcasterIllager > AbstractIllager { "SpellTicks" as spell_ticks: i32 }
Spider > Monster { }
Squid > WaterAnimal { }
Stray > AbstractSkeleton { }
Strider > Animal { "Saddle" as saddle: bool }
Tadpole > AbstractFish { "Age" as age: i32 }
TamableAnimal > Animal { optional "Owner" as owner: u128, "Sitting" as sitting: bool }
TextDisplay > Display { optional "alignment" as alignment: fastnbt::Value, "background" as background: i32, "default_background" as default_background: bool, "line_width" as line_width: i32, "see_through" as see_through: bool, "shadow" as shadow: bool, "text" as text: CowStr, "text_opacity" as text_opacity: i8 }
ThrowableItemProjectile > ThrowableProjectile { optional "Item" as item: super::compounds::ItemStack_save }
ThrowableProjectile > Projectile { }
ThrownEgg > ThrowableItemProjectile { }
ThrownEnderpearl > ThrowableItemProjectile { }
ThrownExperienceBottle > ThrowableItemProjectile { }
ThrownPotion > ThrowableItemProjectile { }
ThrownTrident > AbstractArrow { "DealtDamage" as dealt_damage: bool }
TraderLlama > Llama { "DespawnDelay" as despawn_delay: i32 }
TropicalFish > AbstractSchoolingFish { "Variant" as variant: i32 }
Turtle > Animal { "HasEgg" as has_egg: bool, "HomePosX" as home_pos_x: i32, "HomePosY" as home_pos_y: i32, "HomePosZ" as home_pos_z: i32, "TravelPosX" as travel_pos_x: i32, "TravelPosY" as travel_pos_y: i32, "TravelPosZ" as travel_pos_z: i32 }
VehicleEntity > Entity { }
Vex > Monster { optional "BoundX" as bound_x: i32, optional "BoundY" as bound_y: i32, optional "BoundZ" as bound_z: i32, optional "LifeTicks" as life_ticks: i32 }
Villager > AbstractVillager { optional "AssignProfessionWhenSpawned" as assign_profession_when_spawned: bool, "FoodLevel" as food_level: i8, "Gossips" as gossips: fastnbt::Value, "LastGossipDecay" as last_gossip_decay: i64, "LastRestock" as last_restock: i64, "RestocksToday" as restocks_today: i32, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
Vindicator > AbstractIllager { optional "Johnny" as johnny: bool }
WanderingTrader > AbstractVillager { "DespawnDelay" as despawn_delay: i32, optional "WanderTarget" as wander_target: super::compounds::NbtUtils_writeBlockPos }
Warden > Monster { optional "anger" as anger: fastnbt::Value, optional "listener" as listener: fastnbt::Value }
WaterAnimal > PathfinderMob { }
WindCharge > AbstractHurtingProjectile { }
Witch > Raider { }
WitherBoss > Monster { "Invul" as invul: i32 }
WitherSkeleton > AbstractSkeleton { }
WitherSkull > AbstractHurtingProjectile { "dangerous" as dangerous: bool }
Wolf > TamableAnimal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CollarColor" as collar_color: i8 }
Zoglin > Monster { optional "IsBaby" as is_baby: bool }
Zombie > Monster { "CanBreakDoors" as can_break_doors: bool, "DrownedConversionTime" as drowned_conversion_time: i32, "InWaterTime" as in_water_time: i32, "IsBaby" as is_baby: bool }
ZombieHorse > AbstractHorse { }
ZombieVillager > Zombie { optional "ConversionPlayer" as conversion_player: u128, "ConversionTime" as conversion_time: i32, optional "Gossips" as gossips: fastnbt::Value, optional "Offers" as offers: HashMap<CowStr, fastnbt::Value>, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
ZombifiedPiglin > Zombie { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
}
entity_compound_types! {
"1.20.3";
ArmorStand_writePose { optional "Body" as body: Vec<f32>, optional "Head" as head: Vec<f32>, optional "LeftArm" as left_arm: Vec<f32>, optional "LeftLeg" as left_leg: Vec<f32>, optional "RightArm" as right_arm: Vec<f32>, optional "RightLeg" as right_leg: Vec<f32> }
AttributeInstance_save { "Base" as base: f64, optional "Modifiers" as modifiers: Vec<super::compounds::AttributeModifier_save>, "Name" as name: CowStr }
AttributeModifier_save { "Amount" as amount: f64, "Name" as name: CowStr, "Operation" as operation: i32, "UUID" as uuid: u128 }
Compound2 { optional "UUID" as uuid: u128, optional "X" as x: i32, optional "Y" as y: i32, optional "Z" as z: i32 }
ItemStack_save { "Count" as count: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_1 { optional "Count" as count: i8, optional "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
ItemStack_save_2 { "Count" as count: i8, "Slot" as slot: i8, "id" as id: CowStr, optional "tag" as tag: HashMap<CowStr, fastnbt::Value> }
MerchantOffer_createTag { "buy" as buy: super::compounds::ItemStack_save, "buyB" as buy_b: super::compounds::ItemStack_save, "demand" as demand: i32, "maxUses" as max_uses: i32, "priceMultiplier" as price_multiplier: f32, "rewardExp" as reward_exp: bool, "sell" as sell: super::compounds::ItemStack_save, "specialPrice" as special_price: i32, "uses" as uses: i32, "xp" as xp: i32 }
MerchantOffers_createTag { "Recipes" as recipes: Vec<super::compounds::MerchantOffer_createTag> }
MobEffectInstance_save { "ambient" as ambient: bool, "amplifier" as amplifier: i8, "duration" as duration: i32, optional "factor_calculation_data" as factor_calculation_data: fastnbt::Value, optional "hidden_effect" as hidden_effect: Box<super::compounds::MobEffectInstance_save>, "id" as id: CowStr, "show_icon" as show_icon: bool, "show_particles" as show_particles: bool }
NbtUtils_writeBlockPos { "X" as x: i32, "Y" as y: i32, "Z" as z: i32 }
}
}
/// Accompanying types for entities in Minecraft 1.20.5.
#[cfg(feature = "1.20.5")]
pub mod mc1_20_5 {
entities! {
"1.20.5", mc1_20_5;
"minecraft:allay", Allay: Allay;
"minecraft:area_effect_cloud", AreaEffectCloud: AreaEffectCloud;
"minecraft:armadillo", Armadillo: Armadillo;
"minecraft:armor_stand", ArmorStand: ArmorStand;
"minecraft:arrow", Arrow: Arrow;
"minecraft:axolotl", Axolotl: Axolotl;
"minecraft:bat", Bat: Bat;
"minecraft:bee", Bee: Bee;
"minecraft:blaze", Blaze: Blaze;
"minecraft:block_display", BlockDisplay: BlockDisplay;
"minecraft:boat", Boat: Boat;
experimental "minecraft:bogged", Bogged: Bogged;
experimental "minecraft:breeze", Breeze: Breeze;
experimental "minecraft:breeze_wind_charge", BreezeWindCharge: BreezeWindCharge;
"minecraft:camel", Camel: Camel;
"minecraft:cat", Cat: Cat;
"minecraft:cave_spider", CaveSpider: CaveSpider;
"minecraft:chest_boat", ChestBoat: ChestBoat;
"minecraft:chest_minecart", ChestMinecart: MinecartChest;
"minecraft:chicken", Chicken: Chicken;
"minecraft:cod", Cod: Cod;
"minecraft:command_block_minecart", CommandBlockMinecart: MinecartCommandBlock;
"minecraft:cow", Cow: Cow;
"minecraft:creeper", Creeper: Creeper;
"minecraft:dolphin", Dolphin: Dolphin;
"minecraft:donkey", Donkey: Donkey;
"minecraft:dragon_fireball", DragonFireball: DragonFireball;
"minecraft:drowned", Drowned: Drowned;
"minecraft:egg", Egg: ThrownEgg;
"minecraft:elder_guardian", ElderGuardian: ElderGuardian;
"minecraft:end_crystal", EndCrystal: EndCrystal;
"minecraft:ender_dragon", EnderDragon: EnderDragon;
"minecraft:ender_pearl", EnderPearl: ThrownEnderpearl;
"minecraft:enderman", Enderman: EnderMan;
"minecraft:endermite", Endermite: Endermite;
"minecraft:evoker", Evoker: Evoker;
"minecraft:evoker_fangs", EvokerFangs: EvokerFangs;
"minecraft:experience_bottle", ExperienceBottle: ThrownExperienceBottle;
"minecraft:experience_orb", ExperienceOrb: ExperienceOrb;
"minecraft:eye_of_ender", EyeOfEnder: EyeOfEnder;
"minecraft:falling_block", FallingBlock: FallingBlockEntity;
"minecraft:fireball", Fireball: LargeFireball;
"minecraft:firework_rocket", FireworkRocket: FireworkRocketEntity;
"minecraft:fishing_bobber", FishingBobber: FishingHook;
"minecraft:fox", Fox: Fox;
"minecraft:frog", Frog: Frog;
"minecraft:furnace_minecart", FurnaceMinecart: MinecartFurnace;
"minecraft:ghast", Ghast: Ghast;
"minecraft:giant", Giant: Giant;
"minecraft:glow_item_frame", GlowItemFrame: GlowItemFrame;
"minecraft:glow_squid", GlowSquid: GlowSquid;
"minecraft:goat", Goat: Goat;
"minecraft:guardian", Guardian: Guardian;
"minecraft:hoglin", Hoglin: Hoglin;
"minecraft:hopper_minecart", HopperMinecart: MinecartHopper;
"minecraft:horse", Horse: Horse;
"minecraft:husk", Husk: Husk;
"minecraft:illusioner", Illusioner: Illusioner;
"minecraft:interaction", Interaction: Interaction;
"minecraft:iron_golem", IronGolem: IronGolem;
"minecraft:item", Item: ItemEntity;
"minecraft:item_display", ItemDisplay: ItemDisplay;
"minecraft:item_frame", ItemFrame: ItemFrame;
"minecraft:leash_knot", LeashKnot: LeashFenceKnotEntity;
"minecraft:lightning_bolt", LightningBolt: LightningBolt;
"minecraft:llama", Llama: Llama;
"minecraft:llama_spit", LlamaSpit: LlamaSpit;
"minecraft:magma_cube", MagmaCube: MagmaCube;
"minecraft:marker", Marker: Marker;
"minecraft:minecart", Minecart: Minecart;
"minecraft:mooshroom", Mooshroom: MushroomCow;
"minecraft:mule", Mule: Mule;
"minecraft:ocelot", Ocelot: Ocelot;
experimental "minecraft:ominous_item_spawner", OminousItemSpawner: OminousItemSpawner;
"minecraft:painting", Painting: Painting;
"minecraft:panda", Panda: Panda;
"minecraft:parrot", Parrot: Parrot;
"minecraft:phantom", Phantom: Phantom;
"minecraft:pig", Pig: Pig;
"minecraft:piglin", Piglin: Piglin;
"minecraft:piglin_brute", PiglinBrute: PiglinBrute;
"minecraft:pillager", Pillager: Pillager;
"minecraft:polar_bear", PolarBear: PolarBear;
"minecraft:potion", Potion: ThrownPotion;
"minecraft:pufferfish", Pufferfish: Pufferfish;
"minecraft:rabbit", Rabbit: Rabbit;
"minecraft:ravager", Ravager: Ravager;
"minecraft:salmon", Salmon: Salmon;
"minecraft:sheep", Sheep: Sheep;
"minecraft:shulker", Shulker: Shulker;
"minecraft:shulker_bullet", ShulkerBullet: ShulkerBullet;
"minecraft:silverfish", Silverfish: Silverfish;
"minecraft:skeleton", Skeleton: Skeleton;
"minecraft:skeleton_horse", SkeletonHorse: SkeletonHorse;
"minecraft:slime", Slime: Slime;
"minecraft:small_fireball", SmallFireball: SmallFireball;
"minecraft:sniffer", Sniffer: Sniffer;
"minecraft:snow_golem", SnowGolem: SnowGolem;
"minecraft:snowball", Snowball: Snowball;
"minecraft:spawner_minecart", SpawnerMinecart: MinecartSpawner;
"minecraft:spectral_arrow", SpectralArrow: SpectralArrow;
"minecraft:spider", Spider: Spider;
"minecraft:squid", Squid: Squid;
"minecraft:stray", Stray: Stray;
"minecraft:strider", Strider: Strider;
"minecraft:tadpole", Tadpole: Tadpole;
"minecraft:text_display", TextDisplay: TextDisplay;
"minecraft:tnt", Tnt: PrimedTnt;
"minecraft:tnt_minecart", TntMinecart: MinecartTNT;
"minecraft:trader_llama", TraderLlama: TraderLlama;
"minecraft:trident", Trident: ThrownTrident;
"minecraft:tropical_fish", TropicalFish: TropicalFish;
"minecraft:turtle", Turtle: Turtle;
"minecraft:vex", Vex: Vex;
"minecraft:villager", Villager: Villager;
"minecraft:vindicator", Vindicator: Vindicator;
"minecraft:wandering_trader", WanderingTrader: WanderingTrader;
"minecraft:warden", Warden: Warden;
experimental "minecraft:wind_charge", WindCharge: WindCharge;
"minecraft:witch", Witch: Witch;
"minecraft:wither", Wither: WitherBoss;
"minecraft:wither_skeleton", WitherSkeleton: WitherSkeleton;
"minecraft:wither_skull", WitherSkull: WitherSkull;
"minecraft:wolf", Wolf: Wolf;
"minecraft:zoglin", Zoglin: Zoglin;
"minecraft:zombie", Zombie: Zombie;
"minecraft:zombie_horse", ZombieHorse: ZombieHorse;
"minecraft:zombie_villager", ZombieVillager: ZombieVillager;
"minecraft:zombified_piglin", ZombifiedPiglin: ZombifiedPiglin;
}
entity_types! {
"1.20.5";
AbstractArrow > Projectile { "PierceLevel" as pierce_level: i8, "ShotFromCrossbow" as shot_from_crossbow: bool, "SoundEvent" as sound_event: CowStr, "crit" as crit: bool, "damage" as damage: f64, optional "inBlockState" as in_block_state: super::BlockState, "inGround" as in_ground: bool, "item" as item: fastnbt::Value, "life" as life: i16, "pickup" as pickup: i8, "shake" as shake: i8 }
AbstractChestedHorse > AbstractHorse { "ChestedHorse" as chested_horse: bool, optional "Items" as items: Vec<fastnbt::Value> }
AbstractFish > WaterAnimal { "FromBucket" as from_bucket: bool }
AbstractGolem > PathfinderMob { }
AbstractHorse > Animal { "Bred" as bred: bool, "EatingHaystack" as eating_haystack: bool, optional "Owner" as owner: u128, optional "SaddleItem" as saddle_item: fastnbt::Value, "Tame" as tame: bool, "Temper" as temper: i32 }
AbstractHurtingProjectile > Projectile { "power" as power: Vec<f64> }
AbstractIllager > Raider { }
AbstractMinecart > VehicleEntity { optional "CustomDisplayTile" as custom_display_tile: bool, optional "DisplayOffset" as display_offset: i32, optional "DisplayState" as display_state: super::BlockState }
AbstractMinecartContainer > AbstractMinecart { optional "Items" as items: Vec<fastnbt::Value>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
AbstractPiglin > Monster { optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
AbstractSchoolingFish > AbstractFish { }
AbstractSkeleton > Monster { }
AbstractVillager > AgeableMob { "Inventory" as inventory: Vec<fastnbt::Value>, optional "Offers" as offers: fastnbt::Value }
AbstractWindCharge > AbstractHurtingProjectile { }
AgeableMob > PathfinderMob { "Age" as age: i32, "ForcedAge" as forced_age: i32 }
Allay > PathfinderMob { "CanDuplicate" as can_duplicate: bool, "DuplicationCooldown" as duplication_cooldown: i64, "Inventory" as inventory: Vec<fastnbt::Value>, optional "listener" as listener: fastnbt::Value }
AmbientCreature > Mob { }
Animal > AgeableMob { "InLove" as in_love: i32, optional "LoveCause" as love_cause: u128 }
AreaEffectCloud > Entity { "Age" as age: i32, "Duration" as duration: i32, "DurationOnUse" as duration_on_use: i32, optional "Owner" as owner: u128, "Particle" as particle: fastnbt::Value, "Radius" as radius: f32, "RadiusOnUse" as radius_on_use: f32, "RadiusPerTick" as radius_per_tick: f32, "ReapplicationDelay" as reapplication_delay: i32, "WaitTime" as wait_time: i32, optional "potion_contents" as potion_contents: fastnbt::Value }
Armadillo > Animal { "scute_time" as scute_time: i32, "state" as state: CowStr }
ArmorStand > LivingEntity { "ArmorItems" as armor_items: Vec<HashMap<CowStr, fastnbt::Value>>, "DisabledSlots" as disabled_slots: i32, "HandItems" as hand_items: Vec<HashMap<CowStr, fastnbt::Value>>, "Invisible" as invisible: bool, optional "Marker" as marker: bool, "NoBasePlate" as no_base_plate: bool, "Pose" as pose: super::compounds::ArmorStand_writePose, "ShowArms" as show_arms: bool, "Small" as small: bool }
Arrow > AbstractArrow { }
Axolotl > Animal { "FromBucket" as from_bucket: bool, "Variant" as variant: i32 }
Bat > AmbientCreature { "BatFlags" as bat_flags: i8 }
Bee > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CannotEnterHiveTicks" as cannot_enter_hive_ticks: i32, "CropsGrownSincePollination" as crops_grown_since_pollination: i32, "HasNectar" as has_nectar: bool, "HasStung" as has_stung: bool, "TicksSincePollination" as ticks_since_pollination: i32, optional "flower_pos" as flower_pos: fastnbt::IntArray, optional "hive_pos" as hive_pos: fastnbt::IntArray }
Blaze > Monster { }
BlockDisplay > Display { "block_state" as block_state: super::BlockState }
Boat > VehicleEntity { "Type" as r#type: CowStr }
Bogged > AbstractSkeleton { "sheared" as sheared: bool }
Breeze > Monster { }
BreezeWindCharge > AbstractWindCharge { }
Camel > AbstractHorse { "LastPoseTick" as last_pose_tick: i64 }
Cat > TamableAnimal { "CollarColor" as collar_color: i8, "variant" as variant: CowStr }
CaveSpider > Spider { }
ChestBoat > Boat { optional "Items" as items: Vec<fastnbt::Value>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
Chicken > Animal { "EggLayTime" as egg_lay_time: i32, "IsChickenJockey" as is_chicken_jockey: bool }
Cod > AbstractSchoolingFish { }
Cow > Animal { }
Creeper > Monster { "ExplosionRadius" as explosion_radius: i8, "Fuse" as fuse: i16, "ignited" as ignited: bool, optional "powered" as powered: bool }
Display > Entity { "glow_color_override" as glow_color_override: i32, "height" as height: f32, "interpolation_duration" as interpolation_duration: i32, "shadow_radius" as shadow_radius: f32, "shadow_strength" as shadow_strength: f32, "teleport_duration" as teleport_duration: i32, "view_range" as view_range: f32, "width" as width: f32 }
Dolphin > WaterAnimal { "GotFish" as got_fish: bool, "Moistness" as moistness: i32, "TreasurePosX" as treasure_pos_x: i32, "TreasurePosY" as treasure_pos_y: i32, "TreasurePosZ" as treasure_pos_z: i32 }
Donkey > AbstractChestedHorse { }
DragonFireball > AbstractHurtingProjectile { }
Drowned > Zombie { }
ElderGuardian > Guardian { }
EndCrystal > Entity { "ShowBottom" as show_bottom: bool, optional "beam_target" as beam_target: fastnbt::IntArray }
EnderDragon > Mob { "DragonDeathTime" as dragon_death_time: i32, "DragonPhase" as dragon_phase: i32 }
EnderMan > Monster { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, optional "carriedBlockState" as carried_block_state: super::BlockState }
Endermite > Monster { "Lifetime" as lifetime: i32 }
Entity { "Air" as air: i16, optional "CustomName" as custom_name: CowStr, optional "CustomNameVisible" as custom_name_visible: bool, "FallDistance" as fall_distance: f32, "Fire" as fire: i16, optional "Glowing" as glowing: bool, optional "HasVisualFire" as has_visual_fire: bool, "Invulnerable" as invulnerable: bool, "Motion" as motion: Vec<f64>, optional "NoGravity" as no_gravity: bool, "OnGround" as on_ground: bool, optional "Passengers" as passengers: Vec<Box<super::Entity>>, "PortalCooldown" as portal_cooldown: i32, optional "Pos" as pos: Vec<f64>, "Rotation" as rotation: Vec<f32>, optional "Silent" as silent: bool, optional "Tags" as tags: Vec<CowStr>, optional "TicksFrozen" as ticks_frozen: i32, "UUID" as uuid: u128 }
Evoker > SpellcasterIllager { }
EvokerFangs > Entity { optional "Owner" as owner: u128, "Warmup" as warmup: i32 }
ExperienceOrb > Entity { "Age" as age: i16, "Count" as count: i32, "Health" as health: i16, "Value" as value: i16 }
EyeOfEnder > Entity { "Item" as item: fastnbt::Value }
FallingBlockEntity > Entity { "BlockState" as block_state: super::BlockState, "CancelDrop" as cancel_drop: bool, "DropItem" as drop_item: bool, "FallHurtAmount" as fall_hurt_amount: f32, "FallHurtMax" as fall_hurt_max: i32, "HurtEntities" as hurt_entities: bool, optional "TileEntityData" as tile_entity_data: HashMap<CowStr, fastnbt::Value>, "Time" as time: i32 }
Fireball > AbstractHurtingProjectile { "Item" as item: fastnbt::Value }
FireworkRocketEntity > Projectile { "FireworksItem" as fireworks_item: fastnbt::Value, "Life" as life: i32, "LifeTime" as life_time: i32, "ShotAtAngle" as shot_at_angle: bool }
FishingHook > Projectile { }
FlyingMob > Mob { }
Fox > Animal { "Crouching" as crouching: bool, "Sitting" as sitting: bool, "Sleeping" as sleeping: bool, "Trusted" as trusted: Vec<fastnbt::IntArray>, "Type" as r#type: CowStr }
Frog > Animal { "variant" as variant: CowStr }
Ghast > FlyingMob { "ExplosionPower" as explosion_power: i8 }
Giant > Monster { }
GlowItemFrame > ItemFrame { }
GlowSquid > Squid { "DarkTicksRemaining" as dark_ticks_remaining: i32 }
Goat > Animal { "HasLeftHorn" as has_left_horn: bool, "HasRightHorn" as has_right_horn: bool, "IsScreamingGoat" as is_screaming_goat: bool }
Guardian > Monster { }
HangingEntity > Entity { "TileX" as tile_x: i32, "TileY" as tile_y: i32, "TileZ" as tile_z: i32 }
Hoglin > Animal { optional "CannotBeHunted" as cannot_be_hunted: bool, optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
Horse > AbstractHorse { "Variant" as variant: i32 }
Husk > Zombie { }
Illusioner > SpellcasterIllager { }
Interaction > Entity { "height" as height: f32, "response" as response: bool, "width" as width: f32 }
IronGolem > AbstractGolem { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "PlayerCreated" as player_created: bool }
ItemDisplay > Display { optional "item" as item: fastnbt::Value }
ItemEntity > Entity { "Age" as age: i16, "Health" as health: i16, optional "Item" as item: fastnbt::Value, optional "Owner" as owner: u128, "PickupDelay" as pickup_delay: i16, optional "Thrower" as thrower: u128 }
ItemFrame > HangingEntity { "Facing" as facing: i8, "Fixed" as fixed: bool, "Invisible" as invisible: bool, optional "Item" as item: fastnbt::Value, optional "ItemDropChance" as item_drop_chance: f32, optional "ItemRotation" as item_rotation: i8 }
LargeFireball > Fireball { "ExplosionPower" as explosion_power: i8 }
LeashFenceKnotEntity > HangingEntity { }
LightningBolt > Entity { }
LivingEntity > Entity { "AbsorptionAmount" as absorption_amount: f32, "Attributes" as attributes: Vec<super::compounds::AttributeInstance_save>, optional "Brain" as brain: fastnbt::Value, "DeathTime" as death_time: i16, "FallFlying" as fall_flying: bool, "Health" as health: f32, "HurtByTimestamp" as hurt_by_timestamp: i32, "HurtTime" as hurt_time: i16, optional "SleepingX" as sleeping_x: i32, optional "SleepingY" as sleeping_y: i32, optional "SleepingZ" as sleeping_z: i32, optional "active_effects" as active_effects: Vec<fastnbt::Value> }
Llama > AbstractChestedHorse { "Strength" as strength: i32, "Variant" as variant: i32 }
LlamaSpit > Projectile { }
MagmaCube > Slime { }
Marker > Entity { "data" as data: HashMap<CowStr, fastnbt::Value> }
Minecart > AbstractMinecart { }
MinecartChest > AbstractMinecartContainer { }
MinecartCommandBlock > AbstractMinecart { "Command" as command: CowStr, optional "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool }
MinecartFurnace > AbstractMinecart { "Fuel" as fuel: i16, "PushX" as push_x: f64, "PushZ" as push_z: f64 }
MinecartHopper > AbstractMinecartContainer { "Enabled" as enabled: bool }
MinecartSpawner > AbstractMinecart { "Delay" as delay: i16, "MaxNearbyEntities" as max_nearby_entities: i16, "MaxSpawnDelay" as max_spawn_delay: i16, "MinSpawnDelay" as min_spawn_delay: i16, "RequiredPlayerRange" as required_player_range: i16, "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: fastnbt::Value, "SpawnPotentials" as spawn_potentials: fastnbt::Value, "SpawnRange" as spawn_range: i16 }
MinecartTNT > AbstractMinecart { "TNTFuse" as tnt_fuse: i32 }
Mob > LivingEntity { "ArmorDropChances" as armor_drop_chances: Vec<f32>, "ArmorItems" as armor_items: Vec<HashMap<CowStr, fastnbt::Value>>, "CanPickUpLoot" as can_pick_up_loot: bool, optional "DeathLootTable" as death_loot_table: CowStr, optional "DeathLootTableSeed" as death_loot_table_seed: i64, "HandDropChances" as hand_drop_chances: Vec<f32>, "HandItems" as hand_items: Vec<HashMap<CowStr, fastnbt::Value>>, "LeftHanded" as left_handed: bool, optional "NoAI" as no_ai: bool, "PersistenceRequired" as persistence_required: bool, optional "body_armor_drop_chance" as body_armor_drop_chance: f32, optional "body_armor_item" as body_armor_item: fastnbt::Value, optional "leash" as leash: either::Either<super::compounds::Mob_method_56995, fastnbt::IntArray> }
Monster > PathfinderMob { }
Mule > AbstractChestedHorse { }
MushroomCow > Cow { "Type" as r#type: CowStr }
Ocelot > Animal { "Trusting" as trusting: bool }
OminousItemSpawner > Entity { optional "item" as item: fastnbt::Value, "spawn_item_after_ticks" as spawn_item_after_ticks: i64 }
Painting > HangingEntity { "facing" as facing: i8 }
Panda > Animal { "HiddenGene" as hidden_gene: CowStr, "MainGene" as main_gene: CowStr }
Parrot > ShoulderRidingEntity { "Variant" as variant: i32 }
PathfinderMob > Mob { }
PatrollingMonster > Monster { "PatrolLeader" as patrol_leader: bool, "Patrolling" as patrolling: bool, optional "patrol_target" as patrol_target: fastnbt::IntArray }
Phantom > FlyingMob { "AX" as ax: i32, "AY" as ay: i32, "AZ" as az: i32, "Size" as size: i32 }
Pig > Animal { "Saddle" as saddle: bool }
Piglin > AbstractPiglin { optional "CannotHunt" as cannot_hunt: bool, "Inventory" as inventory: Vec<fastnbt::Value>, optional "IsBaby" as is_baby: bool }
PiglinBrute > AbstractPiglin { }
Pillager > AbstractIllager { "Inventory" as inventory: Vec<fastnbt::Value> }
PolarBear > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
PrimedTnt > Entity { "block_state" as block_state: super::BlockState, "fuse" as fuse: i16 }
Projectile > Entity { "HasBeenShot" as has_been_shot: bool, optional "LeftOwner" as left_owner: bool, optional "Owner" as owner: u128 }
Pufferfish > AbstractFish { "PuffState" as puff_state: i32 }
Rabbit > Animal { "MoreCarrotTicks" as more_carrot_ticks: i32, "RabbitType" as rabbit_type: i32 }
Raider > PatrollingMonster { "CanJoinRaid" as can_join_raid: bool, optional "RaidId" as raid_id: i32, "Wave" as wave: i32 }
Ravager > Raider { "AttackTick" as attack_tick: i32, "RoarTick" as roar_tick: i32, "StunTick" as stun_tick: i32 }
Salmon > AbstractSchoolingFish { }
Sheep > Animal { "Color" as color: i8, "Sheared" as sheared: bool }
ShoulderRidingEntity > TamableAnimal { }
Shulker > AbstractGolem { "AttachFace" as attach_face: i8, "Color" as color: i8, "Peek" as peek: i8 }
ShulkerBullet > Projectile { optional "Dir" as dir: i32, "Steps" as steps: i32, "TXD" as txd: f64, "TYD" as tyd: f64, "TZD" as tzd: f64, optional "Target" as target: u128 }
Silverfish > Monster { }
Skeleton > AbstractSkeleton { "StrayConversionTime" as stray_conversion_time: i32 }
SkeletonHorse > AbstractHorse { "SkeletonTrap" as skeleton_trap: bool, "SkeletonTrapTime" as skeleton_trap_time: i32 }
Slime > Mob { "Size" as size: i32, "wasOnGround" as was_on_ground: bool }
SmallFireball > Fireball { }
Sniffer > Animal { }
SnowGolem > AbstractGolem { "Pumpkin" as pumpkin: bool }
Snowball > ThrowableItemProjectile { }
SpectralArrow > AbstractArrow { "Duration" as duration: i32 }
SpellcasterIllager > AbstractIllager { "SpellTicks" as spell_ticks: i32 }
Spider > Monster { }
Squid > WaterAnimal { }
Stray > AbstractSkeleton { }
Strider > Animal { "Saddle" as saddle: bool }
Tadpole > AbstractFish { "Age" as age: i32 }
TamableAnimal > Animal { optional "Owner" as owner: u128, "Sitting" as sitting: bool }
TextDisplay > Display { "background" as background: i32, "default_background" as default_background: bool, "line_width" as line_width: i32, "see_through" as see_through: bool, "shadow" as shadow: bool, "text" as text: CowStr, "text_opacity" as text_opacity: i8 }
ThrowableItemProjectile > ThrowableProjectile { "Item" as item: fastnbt::Value }
ThrowableProjectile > Projectile { }
ThrownEgg > ThrowableItemProjectile { }
ThrownEnderpearl > ThrowableItemProjectile { }
ThrownExperienceBottle > ThrowableItemProjectile { }
ThrownPotion > ThrowableItemProjectile { }
ThrownTrident > AbstractArrow { "DealtDamage" as dealt_damage: bool }
TraderLlama > Llama { "DespawnDelay" as despawn_delay: i32 }
TropicalFish > AbstractSchoolingFish { "Variant" as variant: i32 }
Turtle > Animal { "HasEgg" as has_egg: bool, "HomePosX" as home_pos_x: i32, "HomePosY" as home_pos_y: i32, "HomePosZ" as home_pos_z: i32, "TravelPosX" as travel_pos_x: i32, "TravelPosY" as travel_pos_y: i32, "TravelPosZ" as travel_pos_z: i32 }
VehicleEntity > Entity { }
Vex > Monster { optional "BoundX" as bound_x: i32, optional "BoundY" as bound_y: i32, optional "BoundZ" as bound_z: i32, optional "LifeTicks" as life_ticks: i32 }
Villager > AbstractVillager { optional "AssignProfessionWhenSpawned" as assign_profession_when_spawned: bool, "FoodLevel" as food_level: i8, "Gossips" as gossips: fastnbt::Value, "LastGossipDecay" as last_gossip_decay: i64, "LastRestock" as last_restock: i64, "RestocksToday" as restocks_today: i32, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
Vindicator > AbstractIllager { optional "Johnny" as johnny: bool }
WanderingTrader > AbstractVillager { "DespawnDelay" as despawn_delay: i32, optional "wander_target" as wander_target: fastnbt::IntArray }
Warden > Monster { optional "anger" as anger: fastnbt::Value, optional "listener" as listener: fastnbt::Value }
WaterAnimal > PathfinderMob { }
WindCharge > AbstractWindCharge { }
Witch > Raider { }
WitherBoss > Monster { "Invul" as invul: i32 }
WitherSkeleton > AbstractSkeleton { }
WitherSkull > AbstractHurtingProjectile { "dangerous" as dangerous: bool }
Wolf > TamableAnimal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CollarColor" as collar_color: i8, "variant" as variant: CowStr }
Zoglin > Monster { optional "IsBaby" as is_baby: bool }
Zombie > Monster { "CanBreakDoors" as can_break_doors: bool, "DrownedConversionTime" as drowned_conversion_time: i32, "InWaterTime" as in_water_time: i32, "IsBaby" as is_baby: bool }
ZombieHorse > AbstractHorse { }
ZombieVillager > Zombie { optional "ConversionPlayer" as conversion_player: u128, "ConversionTime" as conversion_time: i32, optional "Gossips" as gossips: fastnbt::Value, optional "Offers" as offers: fastnbt::Value, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
ZombifiedPiglin > Zombie { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
}
entity_compound_types! {
"1.20.5";
ArmorStand_writePose { optional "Body" as body: Vec<f32>, optional "Head" as head: Vec<f32>, optional "LeftArm" as left_arm: Vec<f32>, optional "LeftLeg" as left_leg: Vec<f32>, optional "RightArm" as right_arm: Vec<f32>, optional "RightLeg" as right_leg: Vec<f32> }
AttributeInstance_save { "Base" as base: f64, optional "Modifiers" as modifiers: Vec<super::compounds::AttributeModifier_save>, "Name" as name: CowStr }
AttributeModifier_save { "Amount" as amount: f64, "Name" as name: CowStr, "Operation" as operation: i32, "UUID" as uuid: u128 }
Mob_method_56995 { "UUID" as uuid: u128 }
}
}
/// Accompanying types for entities in Minecraft 1.21.
#[cfg(feature = "1.21")]
pub mod mc1_21 {
entities! {
"1.21", mc1_21;
"minecraft:allay", Allay: Allay;
"minecraft:area_effect_cloud", AreaEffectCloud: AreaEffectCloud;
"minecraft:armadillo", Armadillo: Armadillo;
"minecraft:armor_stand", ArmorStand: ArmorStand;
"minecraft:arrow", Arrow: Arrow;
"minecraft:axolotl", Axolotl: Axolotl;
"minecraft:bat", Bat: Bat;
"minecraft:bee", Bee: Bee;
"minecraft:blaze", Blaze: Blaze;
"minecraft:block_display", BlockDisplay: BlockDisplay;
"minecraft:boat", Boat: Boat;
"minecraft:bogged", Bogged: Bogged;
"minecraft:breeze", Breeze: Breeze;
"minecraft:breeze_wind_charge", BreezeWindCharge: BreezeWindCharge;
"minecraft:camel", Camel: Camel;
"minecraft:cat", Cat: Cat;
"minecraft:cave_spider", CaveSpider: CaveSpider;
"minecraft:chest_boat", ChestBoat: ChestBoat;
"minecraft:chest_minecart", ChestMinecart: MinecartChest;
"minecraft:chicken", Chicken: Chicken;
"minecraft:cod", Cod: Cod;
"minecraft:command_block_minecart", CommandBlockMinecart: MinecartCommandBlock;
"minecraft:cow", Cow: Cow;
"minecraft:creeper", Creeper: Creeper;
"minecraft:dolphin", Dolphin: Dolphin;
"minecraft:donkey", Donkey: Donkey;
"minecraft:dragon_fireball", DragonFireball: DragonFireball;
"minecraft:drowned", Drowned: Drowned;
"minecraft:egg", Egg: ThrownEgg;
"minecraft:elder_guardian", ElderGuardian: ElderGuardian;
"minecraft:end_crystal", EndCrystal: EndCrystal;
"minecraft:ender_dragon", EnderDragon: EnderDragon;
"minecraft:ender_pearl", EnderPearl: ThrownEnderpearl;
"minecraft:enderman", Enderman: EnderMan;
"minecraft:endermite", Endermite: Endermite;
"minecraft:evoker", Evoker: Evoker;
"minecraft:evoker_fangs", EvokerFangs: EvokerFangs;
"minecraft:experience_bottle", ExperienceBottle: ThrownExperienceBottle;
"minecraft:experience_orb", ExperienceOrb: ExperienceOrb;
"minecraft:eye_of_ender", EyeOfEnder: EyeOfEnder;
"minecraft:falling_block", FallingBlock: FallingBlockEntity;
"minecraft:fireball", Fireball: LargeFireball;
"minecraft:firework_rocket", FireworkRocket: FireworkRocketEntity;
"minecraft:fishing_bobber", FishingBobber: FishingHook;
"minecraft:fox", Fox: Fox;
"minecraft:frog", Frog: Frog;
"minecraft:furnace_minecart", FurnaceMinecart: MinecartFurnace;
"minecraft:ghast", Ghast: Ghast;
"minecraft:giant", Giant: Giant;
"minecraft:glow_item_frame", GlowItemFrame: GlowItemFrame;
"minecraft:glow_squid", GlowSquid: GlowSquid;
"minecraft:goat", Goat: Goat;
"minecraft:guardian", Guardian: Guardian;
"minecraft:hoglin", Hoglin: Hoglin;
"minecraft:hopper_minecart", HopperMinecart: MinecartHopper;
"minecraft:horse", Horse: Horse;
"minecraft:husk", Husk: Husk;
"minecraft:illusioner", Illusioner: Illusioner;
"minecraft:interaction", Interaction: Interaction;
"minecraft:iron_golem", IronGolem: IronGolem;
"minecraft:item", Item: ItemEntity;
"minecraft:item_display", ItemDisplay: ItemDisplay;
"minecraft:item_frame", ItemFrame: ItemFrame;
"minecraft:leash_knot", LeashKnot: LeashFenceKnotEntity;
"minecraft:lightning_bolt", LightningBolt: LightningBolt;
"minecraft:llama", Llama: Llama;
"minecraft:llama_spit", LlamaSpit: LlamaSpit;
"minecraft:magma_cube", MagmaCube: MagmaCube;
"minecraft:marker", Marker: Marker;
"minecraft:minecart", Minecart: Minecart;
"minecraft:mooshroom", Mooshroom: MushroomCow;
"minecraft:mule", Mule: Mule;
"minecraft:ocelot", Ocelot: Ocelot;
"minecraft:ominous_item_spawner", OminousItemSpawner: OminousItemSpawner;
"minecraft:painting", Painting: Painting;
"minecraft:panda", Panda: Panda;
"minecraft:parrot", Parrot: Parrot;
"minecraft:phantom", Phantom: Phantom;
"minecraft:pig", Pig: Pig;
"minecraft:piglin", Piglin: Piglin;
"minecraft:piglin_brute", PiglinBrute: PiglinBrute;
"minecraft:pillager", Pillager: Pillager;
"minecraft:polar_bear", PolarBear: PolarBear;
"minecraft:potion", Potion: ThrownPotion;
"minecraft:pufferfish", Pufferfish: Pufferfish;
"minecraft:rabbit", Rabbit: Rabbit;
"minecraft:ravager", Ravager: Ravager;
"minecraft:salmon", Salmon: Salmon;
"minecraft:sheep", Sheep: Sheep;
"minecraft:shulker", Shulker: Shulker;
"minecraft:shulker_bullet", ShulkerBullet: ShulkerBullet;
"minecraft:silverfish", Silverfish: Silverfish;
"minecraft:skeleton", Skeleton: Skeleton;
"minecraft:skeleton_horse", SkeletonHorse: SkeletonHorse;
"minecraft:slime", Slime: Slime;
"minecraft:small_fireball", SmallFireball: SmallFireball;
"minecraft:sniffer", Sniffer: Sniffer;
"minecraft:snow_golem", SnowGolem: SnowGolem;
"minecraft:snowball", Snowball: Snowball;
"minecraft:spawner_minecart", SpawnerMinecart: MinecartSpawner;
"minecraft:spectral_arrow", SpectralArrow: SpectralArrow;
"minecraft:spider", Spider: Spider;
"minecraft:squid", Squid: Squid;
"minecraft:stray", Stray: Stray;
"minecraft:strider", Strider: Strider;
"minecraft:tadpole", Tadpole: Tadpole;
"minecraft:text_display", TextDisplay: TextDisplay;
"minecraft:tnt", Tnt: PrimedTnt;
"minecraft:tnt_minecart", TntMinecart: MinecartTNT;
"minecraft:trader_llama", TraderLlama: TraderLlama;
"minecraft:trident", Trident: ThrownTrident;
"minecraft:tropical_fish", TropicalFish: TropicalFish;
"minecraft:turtle", Turtle: Turtle;
"minecraft:vex", Vex: Vex;
"minecraft:villager", Villager: Villager;
"minecraft:vindicator", Vindicator: Vindicator;
"minecraft:wandering_trader", WanderingTrader: WanderingTrader;
"minecraft:warden", Warden: Warden;
"minecraft:wind_charge", WindCharge: WindCharge;
"minecraft:witch", Witch: Witch;
"minecraft:wither", Wither: WitherBoss;
"minecraft:wither_skeleton", WitherSkeleton: WitherSkeleton;
"minecraft:wither_skull", WitherSkull: WitherSkull;
"minecraft:wolf", Wolf: Wolf;
"minecraft:zoglin", Zoglin: Zoglin;
"minecraft:zombie", Zombie: Zombie;
"minecraft:zombie_horse", ZombieHorse: ZombieHorse;
"minecraft:zombie_villager", ZombieVillager: ZombieVillager;
"minecraft:zombified_piglin", ZombifiedPiglin: ZombifiedPiglin;
}
entity_types! {
"1.21";
AbstractArrow > Projectile { "PierceLevel" as pierce_level: i8, "SoundEvent" as sound_event: CowStr, "crit" as crit: bool, "damage" as damage: f64, optional "inBlockState" as in_block_state: super::BlockState, "inGround" as in_ground: bool, "item" as item: fastnbt::Value, "life" as life: i16, "pickup" as pickup: i8, "shake" as shake: i8, optional "weapon" as weapon: fastnbt::Value }
AbstractChestedHorse > AbstractHorse { "ChestedHorse" as chested_horse: bool, optional "Items" as items: Vec<fastnbt::Value> }
AbstractFish > WaterAnimal { "FromBucket" as from_bucket: bool }
AbstractGolem > PathfinderMob { }
AbstractHorse > Animal { "Bred" as bred: bool, "EatingHaystack" as eating_haystack: bool, optional "Owner" as owner: u128, optional "SaddleItem" as saddle_item: fastnbt::Value, "Tame" as tame: bool, "Temper" as temper: i32 }
AbstractHurtingProjectile > Projectile { "acceleration_power" as acceleration_power: f64 }
AbstractIllager > Raider { }
AbstractMinecart > VehicleEntity { optional "CustomDisplayTile" as custom_display_tile: bool, optional "DisplayOffset" as display_offset: i32, optional "DisplayState" as display_state: super::BlockState }
AbstractMinecartContainer > AbstractMinecart { optional "Items" as items: Vec<fastnbt::Value>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
AbstractPiglin > Monster { optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
AbstractSchoolingFish > AbstractFish { }
AbstractSkeleton > Monster { }
AbstractVillager > AgeableMob { "Inventory" as inventory: Vec<fastnbt::Value>, optional "Offers" as offers: fastnbt::Value }
AbstractWindCharge > AbstractHurtingProjectile { }
AgeableMob > PathfinderMob { "Age" as age: i32, "ForcedAge" as forced_age: i32 }
Allay > PathfinderMob { "CanDuplicate" as can_duplicate: bool, "DuplicationCooldown" as duplication_cooldown: i64, "Inventory" as inventory: Vec<fastnbt::Value>, optional "listener" as listener: fastnbt::Value }
AmbientCreature > Mob { }
Animal > AgeableMob { "InLove" as in_love: i32, optional "LoveCause" as love_cause: u128 }
AreaEffectCloud > Entity { "Age" as age: i32, "Duration" as duration: i32, "DurationOnUse" as duration_on_use: i32, optional "Owner" as owner: u128, "Particle" as particle: fastnbt::Value, "Radius" as radius: f32, "RadiusOnUse" as radius_on_use: f32, "RadiusPerTick" as radius_per_tick: f32, "ReapplicationDelay" as reapplication_delay: i32, "WaitTime" as wait_time: i32, optional "potion_contents" as potion_contents: fastnbt::Value }
Armadillo > Animal { "scute_time" as scute_time: i32, "state" as state: CowStr }
ArmorStand > LivingEntity { "ArmorItems" as armor_items: Vec<HashMap<CowStr, fastnbt::Value>>, "DisabledSlots" as disabled_slots: i32, "HandItems" as hand_items: Vec<HashMap<CowStr, fastnbt::Value>>, "Invisible" as invisible: bool, optional "Marker" as marker: bool, "NoBasePlate" as no_base_plate: bool, "Pose" as pose: super::compounds::ArmorStand_writePose, "ShowArms" as show_arms: bool, "Small" as small: bool }
Arrow > AbstractArrow { }
Axolotl > Animal { "FromBucket" as from_bucket: bool, "Variant" as variant: i32 }
Bat > AmbientCreature { "BatFlags" as bat_flags: i8 }
Bee > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CannotEnterHiveTicks" as cannot_enter_hive_ticks: i32, "CropsGrownSincePollination" as crops_grown_since_pollination: i32, "HasNectar" as has_nectar: bool, "HasStung" as has_stung: bool, "TicksSincePollination" as ticks_since_pollination: i32, optional "flower_pos" as flower_pos: fastnbt::IntArray, optional "hive_pos" as hive_pos: fastnbt::IntArray }
Blaze > Monster { }
BlockAttachedEntity > Entity { "TileX" as tile_x: i32, "TileY" as tile_y: i32, "TileZ" as tile_z: i32 }
BlockDisplay > Display { "block_state" as block_state: super::BlockState }
Boat > VehicleEntity { "Type" as r#type: CowStr, optional "leash" as leash: either::Either<fastnbt::Value, fastnbt::IntArray> }
Bogged > AbstractSkeleton { "sheared" as sheared: bool }
Breeze > Monster { }
BreezeWindCharge > AbstractWindCharge { }
Camel > AbstractHorse { "LastPoseTick" as last_pose_tick: i64 }
Cat > TamableAnimal { "CollarColor" as collar_color: i8, "variant" as variant: CowStr }
CaveSpider > Spider { }
ChestBoat > Boat { optional "Items" as items: Vec<fastnbt::Value>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
Chicken > Animal { "EggLayTime" as egg_lay_time: i32, "IsChickenJockey" as is_chicken_jockey: bool }
Cod > AbstractSchoolingFish { }
Cow > Animal { }
Creeper > Monster { "ExplosionRadius" as explosion_radius: i8, "Fuse" as fuse: i16, "ignited" as ignited: bool, optional "powered" as powered: bool }
Display > Entity { "glow_color_override" as glow_color_override: i32, "height" as height: f32, "interpolation_duration" as interpolation_duration: i32, "shadow_radius" as shadow_radius: f32, "shadow_strength" as shadow_strength: f32, "teleport_duration" as teleport_duration: i32, "view_range" as view_range: f32, "width" as width: f32 }
Dolphin > WaterAnimal { "GotFish" as got_fish: bool, "Moistness" as moistness: i32, "TreasurePosX" as treasure_pos_x: i32, "TreasurePosY" as treasure_pos_y: i32, "TreasurePosZ" as treasure_pos_z: i32 }
Donkey > AbstractChestedHorse { }
DragonFireball > AbstractHurtingProjectile { }
Drowned > Zombie { }
ElderGuardian > Guardian { }
EndCrystal > Entity { "ShowBottom" as show_bottom: bool, optional "beam_target" as beam_target: fastnbt::IntArray }
EnderDragon > Mob { "DragonDeathTime" as dragon_death_time: i32, "DragonPhase" as dragon_phase: i32 }
EnderMan > Monster { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, optional "carriedBlockState" as carried_block_state: super::BlockState }
Endermite > Monster { "Lifetime" as lifetime: i32 }
Entity { "Air" as air: i16, optional "CustomName" as custom_name: CowStr, optional "CustomNameVisible" as custom_name_visible: bool, "FallDistance" as fall_distance: f32, "Fire" as fire: i16, optional "Glowing" as glowing: bool, optional "HasVisualFire" as has_visual_fire: bool, "Invulnerable" as invulnerable: bool, "Motion" as motion: Vec<f64>, optional "NoGravity" as no_gravity: bool, "OnGround" as on_ground: bool, optional "Passengers" as passengers: Vec<Box<super::Entity>>, "PortalCooldown" as portal_cooldown: i32, optional "Pos" as pos: Vec<f64>, "Rotation" as rotation: Vec<f32>, optional "Silent" as silent: bool, optional "Tags" as tags: Vec<CowStr>, optional "TicksFrozen" as ticks_frozen: i32, "UUID" as uuid: u128 }
Evoker > SpellcasterIllager { }
EvokerFangs > Entity { optional "Owner" as owner: u128, "Warmup" as warmup: i32 }
ExperienceOrb > Entity { "Age" as age: i16, "Count" as count: i32, "Health" as health: i16, "Value" as value: i16 }
EyeOfEnder > Entity { "Item" as item: fastnbt::Value }
FallingBlockEntity > Entity { "BlockState" as block_state: super::BlockState, "CancelDrop" as cancel_drop: bool, "DropItem" as drop_item: bool, "FallHurtAmount" as fall_hurt_amount: f32, "FallHurtMax" as fall_hurt_max: i32, "HurtEntities" as hurt_entities: bool, optional "TileEntityData" as tile_entity_data: HashMap<CowStr, fastnbt::Value>, "Time" as time: i32 }
Fireball > AbstractHurtingProjectile { "Item" as item: fastnbt::Value }
FireworkRocketEntity > Projectile { "FireworksItem" as fireworks_item: fastnbt::Value, "Life" as life: i32, "LifeTime" as life_time: i32, "ShotAtAngle" as shot_at_angle: bool }
FishingHook > Projectile { }
FlyingMob > Mob { }
Fox > Animal { "Crouching" as crouching: bool, "Sitting" as sitting: bool, "Sleeping" as sleeping: bool, "Trusted" as trusted: Vec<fastnbt::IntArray>, "Type" as r#type: CowStr }
Frog > Animal { "variant" as variant: CowStr }
Ghast > FlyingMob { "ExplosionPower" as explosion_power: i8 }
Giant > Monster { }
GlowItemFrame > ItemFrame { }
GlowSquid > Squid { "DarkTicksRemaining" as dark_ticks_remaining: i32 }
Goat > Animal { "HasLeftHorn" as has_left_horn: bool, "HasRightHorn" as has_right_horn: bool, "IsScreamingGoat" as is_screaming_goat: bool }
Guardian > Monster { }
HangingEntity > BlockAttachedEntity { }
Hoglin > Animal { optional "CannotBeHunted" as cannot_be_hunted: bool, optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
Horse > AbstractHorse { "Variant" as variant: i32 }
Husk > Zombie { }
Illusioner > SpellcasterIllager { }
Interaction > Entity { "height" as height: f32, "response" as response: bool, "width" as width: f32 }
IronGolem > AbstractGolem { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "PlayerCreated" as player_created: bool }
ItemDisplay > Display { optional "item" as item: fastnbt::Value }
ItemEntity > Entity { "Age" as age: i16, "Health" as health: i16, optional "Item" as item: fastnbt::Value, optional "Owner" as owner: u128, "PickupDelay" as pickup_delay: i16, optional "Thrower" as thrower: u128 }
ItemFrame > HangingEntity { "Facing" as facing: i8, "Fixed" as fixed: bool, "Invisible" as invisible: bool, optional "Item" as item: fastnbt::Value, optional "ItemDropChance" as item_drop_chance: f32, optional "ItemRotation" as item_rotation: i8 }
LargeFireball > Fireball { "ExplosionPower" as explosion_power: i8 }
LeashFenceKnotEntity > BlockAttachedEntity { }
LightningBolt > Entity { }
LivingEntity > Entity { "AbsorptionAmount" as absorption_amount: f32, optional "Brain" as brain: fastnbt::Value, "DeathTime" as death_time: i16, "FallFlying" as fall_flying: bool, "Health" as health: f32, "HurtByTimestamp" as hurt_by_timestamp: i32, "HurtTime" as hurt_time: i16, optional "SleepingX" as sleeping_x: i32, optional "SleepingY" as sleeping_y: i32, optional "SleepingZ" as sleeping_z: i32, optional "active_effects" as active_effects: Vec<fastnbt::Value>, "attributes" as attributes: Vec<super::compounds::AttributeInstance_save> }
Llama > AbstractChestedHorse { "Strength" as strength: i32, "Variant" as variant: i32 }
LlamaSpit > Projectile { }
MagmaCube > Slime { }
Marker > Entity { "data" as data: HashMap<CowStr, fastnbt::Value> }
Minecart > AbstractMinecart { }
MinecartChest > AbstractMinecartContainer { }
MinecartCommandBlock > AbstractMinecart { "Command" as command: CowStr, optional "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool }
MinecartFurnace > AbstractMinecart { "Fuel" as fuel: i16, "PushX" as push_x: f64, "PushZ" as push_z: f64 }
MinecartHopper > AbstractMinecartContainer { "Enabled" as enabled: bool }
MinecartSpawner > AbstractMinecart { "Delay" as delay: i16, "MaxNearbyEntities" as max_nearby_entities: i16, "MaxSpawnDelay" as max_spawn_delay: i16, "MinSpawnDelay" as min_spawn_delay: i16, "RequiredPlayerRange" as required_player_range: i16, "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: fastnbt::Value, "SpawnPotentials" as spawn_potentials: fastnbt::Value, "SpawnRange" as spawn_range: i16 }
MinecartTNT > AbstractMinecart { "TNTFuse" as tnt_fuse: i32 }
Mob > LivingEntity { "ArmorDropChances" as armor_drop_chances: Vec<f32>, "ArmorItems" as armor_items: Vec<HashMap<CowStr, fastnbt::Value>>, "CanPickUpLoot" as can_pick_up_loot: bool, optional "DeathLootTable" as death_loot_table: CowStr, optional "DeathLootTableSeed" as death_loot_table_seed: i64, "HandDropChances" as hand_drop_chances: Vec<f32>, "HandItems" as hand_items: Vec<HashMap<CowStr, fastnbt::Value>>, "LeftHanded" as left_handed: bool, optional "NoAI" as no_ai: bool, "PersistenceRequired" as persistence_required: bool, optional "body_armor_drop_chance" as body_armor_drop_chance: f32, optional "body_armor_item" as body_armor_item: fastnbt::Value, optional "leash" as leash: either::Either<fastnbt::Value, fastnbt::IntArray> }
Monster > PathfinderMob { }
Mule > AbstractChestedHorse { }
MushroomCow > Cow { "Type" as r#type: CowStr }
Ocelot > Animal { "Trusting" as trusting: bool }
OminousItemSpawner > Entity { optional "item" as item: fastnbt::Value, "spawn_item_after_ticks" as spawn_item_after_ticks: i64 }
Painting > HangingEntity { "facing" as facing: i8 }
Panda > Animal { "HiddenGene" as hidden_gene: CowStr, "MainGene" as main_gene: CowStr }
Parrot > ShoulderRidingEntity { "Variant" as variant: i32 }
PathfinderMob > Mob { }
PatrollingMonster > Monster { "PatrolLeader" as patrol_leader: bool, "Patrolling" as patrolling: bool, optional "patrol_target" as patrol_target: fastnbt::IntArray }
Phantom > FlyingMob { "AX" as ax: i32, "AY" as ay: i32, "AZ" as az: i32, "Size" as size: i32 }
Pig > Animal { "Saddle" as saddle: bool }
Piglin > AbstractPiglin { optional "CannotHunt" as cannot_hunt: bool, "Inventory" as inventory: Vec<fastnbt::Value>, optional "IsBaby" as is_baby: bool }
PiglinBrute > AbstractPiglin { }
Pillager > AbstractIllager { "Inventory" as inventory: Vec<fastnbt::Value> }
PolarBear > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
PrimedTnt > Entity { "block_state" as block_state: super::BlockState, "fuse" as fuse: i16 }
Projectile > Entity { "HasBeenShot" as has_been_shot: bool, optional "LeftOwner" as left_owner: bool, optional "Owner" as owner: u128 }
Pufferfish > AbstractFish { "PuffState" as puff_state: i32 }
Rabbit > Animal { "MoreCarrotTicks" as more_carrot_ticks: i32, "RabbitType" as rabbit_type: i32 }
Raider > PatrollingMonster { "CanJoinRaid" as can_join_raid: bool, optional "RaidId" as raid_id: i32, "Wave" as wave: i32 }
Ravager > Raider { "AttackTick" as attack_tick: i32, "RoarTick" as roar_tick: i32, "StunTick" as stun_tick: i32 }
Salmon > AbstractSchoolingFish { }
Sheep > Animal { "Color" as color: i8, "Sheared" as sheared: bool }
ShoulderRidingEntity > TamableAnimal { }
Shulker > AbstractGolem { "AttachFace" as attach_face: i8, "Color" as color: i8, "Peek" as peek: i8 }
ShulkerBullet > Projectile { optional "Dir" as dir: i32, "Steps" as steps: i32, "TXD" as txd: f64, "TYD" as tyd: f64, "TZD" as tzd: f64, optional "Target" as target: u128 }
Silverfish > Monster { }
Skeleton > AbstractSkeleton { "StrayConversionTime" as stray_conversion_time: i32 }
SkeletonHorse > AbstractHorse { "SkeletonTrap" as skeleton_trap: bool, "SkeletonTrapTime" as skeleton_trap_time: i32 }
Slime > Mob { "Size" as size: i32, "wasOnGround" as was_on_ground: bool }
SmallFireball > Fireball { }
Sniffer > Animal { }
SnowGolem > AbstractGolem { "Pumpkin" as pumpkin: bool }
Snowball > ThrowableItemProjectile { }
SpectralArrow > AbstractArrow { "Duration" as duration: i32 }
SpellcasterIllager > AbstractIllager { "SpellTicks" as spell_ticks: i32 }
Spider > Monster { }
Squid > WaterAnimal { }
Stray > AbstractSkeleton { }
Strider > Animal { "Saddle" as saddle: bool }
Tadpole > AbstractFish { "Age" as age: i32 }
TamableAnimal > Animal { optional "Owner" as owner: u128, "Sitting" as sitting: bool }
TextDisplay > Display { "background" as background: i32, "default_background" as default_background: bool, "line_width" as line_width: i32, "see_through" as see_through: bool, "shadow" as shadow: bool, "text" as text: CowStr, "text_opacity" as text_opacity: i8 }
ThrowableItemProjectile > ThrowableProjectile { "Item" as item: fastnbt::Value }
ThrowableProjectile > Projectile { }
ThrownEgg > ThrowableItemProjectile { }
ThrownEnderpearl > ThrowableItemProjectile { }
ThrownExperienceBottle > ThrowableItemProjectile { }
ThrownPotion > ThrowableItemProjectile { }
ThrownTrident > AbstractArrow { "DealtDamage" as dealt_damage: bool }
TraderLlama > Llama { "DespawnDelay" as despawn_delay: i32 }
TropicalFish > AbstractSchoolingFish { "Variant" as variant: i32 }
Turtle > Animal { "HasEgg" as has_egg: bool, "HomePosX" as home_pos_x: i32, "HomePosY" as home_pos_y: i32, "HomePosZ" as home_pos_z: i32, "TravelPosX" as travel_pos_x: i32, "TravelPosY" as travel_pos_y: i32, "TravelPosZ" as travel_pos_z: i32 }
VehicleEntity > Entity { }
Vex > Monster { optional "BoundX" as bound_x: i32, optional "BoundY" as bound_y: i32, optional "BoundZ" as bound_z: i32, optional "LifeTicks" as life_ticks: i32 }
Villager > AbstractVillager { optional "AssignProfessionWhenSpawned" as assign_profession_when_spawned: bool, "FoodLevel" as food_level: i8, "Gossips" as gossips: fastnbt::Value, "LastGossipDecay" as last_gossip_decay: i64, "LastRestock" as last_restock: i64, "RestocksToday" as restocks_today: i32, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
Vindicator > AbstractIllager { optional "Johnny" as johnny: bool }
WanderingTrader > AbstractVillager { "DespawnDelay" as despawn_delay: i32, optional "wander_target" as wander_target: fastnbt::IntArray }
Warden > Monster { optional "anger" as anger: fastnbt::Value, optional "listener" as listener: fastnbt::Value }
WaterAnimal > PathfinderMob { }
WindCharge > AbstractWindCharge { }
Witch > Raider { }
WitherBoss > Monster { "Invul" as invul: i32 }
WitherSkeleton > AbstractSkeleton { }
WitherSkull > AbstractHurtingProjectile { "dangerous" as dangerous: bool }
Wolf > TamableAnimal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CollarColor" as collar_color: i8, optional "variant" as variant: CowStr }
Zoglin > Monster { optional "IsBaby" as is_baby: bool }
Zombie > Monster { "CanBreakDoors" as can_break_doors: bool, "DrownedConversionTime" as drowned_conversion_time: i32, "InWaterTime" as in_water_time: i32, "IsBaby" as is_baby: bool }
ZombieHorse > AbstractHorse { }
ZombieVillager > Zombie { optional "ConversionPlayer" as conversion_player: u128, "ConversionTime" as conversion_time: i32, optional "Gossips" as gossips: fastnbt::Value, optional "Offers" as offers: fastnbt::Value, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
ZombifiedPiglin > Zombie { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
}
entity_compound_types! {
"1.21";
ArmorStand_writePose { optional "Body" as body: Vec<f32>, optional "Head" as head: Vec<f32>, optional "LeftArm" as left_arm: Vec<f32>, optional "LeftLeg" as left_leg: Vec<f32>, optional "RightArm" as right_arm: Vec<f32>, optional "RightLeg" as right_leg: Vec<f32> }
AttributeInstance_save { "base" as base: f64, "id" as id: CowStr, optional "modifiers" as modifiers: Vec<HashMap<CowStr, fastnbt::Value>> }
}
}
/// Accompanying types for entities in Minecraft 1.21.2.
#[cfg(feature = "1.21.2")]
pub mod mc1_21_2 {
entities! {
"1.21.2", mc1_21_2;
"minecraft:acacia_boat", AcaciaBoat: Boat;
"minecraft:acacia_chest_boat", AcaciaChestBoat: ChestBoat;
"minecraft:allay", Allay: Allay;
"minecraft:area_effect_cloud", AreaEffectCloud: AreaEffectCloud;
"minecraft:armadillo", Armadillo: Armadillo;
"minecraft:armor_stand", ArmorStand: ArmorStand;
"minecraft:arrow", Arrow: Arrow;
"minecraft:axolotl", Axolotl: Axolotl;
"minecraft:bamboo_chest_raft", BambooChestRaft: ChestRaft;
"minecraft:bamboo_raft", BambooRaft: Raft;
"minecraft:bat", Bat: Bat;
"minecraft:bee", Bee: Bee;
"minecraft:birch_boat", BirchBoat: Boat;
"minecraft:birch_chest_boat", BirchChestBoat: ChestBoat;
"minecraft:blaze", Blaze: Blaze;
"minecraft:block_display", BlockDisplay: BlockDisplay;
"minecraft:bogged", Bogged: Bogged;
"minecraft:breeze", Breeze: Breeze;
"minecraft:breeze_wind_charge", BreezeWindCharge: BreezeWindCharge;
"minecraft:camel", Camel: Camel;
"minecraft:cat", Cat: Cat;
"minecraft:cave_spider", CaveSpider: CaveSpider;
"minecraft:cherry_boat", CherryBoat: Boat;
"minecraft:cherry_chest_boat", CherryChestBoat: ChestBoat;
"minecraft:chest_minecart", ChestMinecart: MinecartChest;
"minecraft:chicken", Chicken: Chicken;
"minecraft:cod", Cod: Cod;
"minecraft:command_block_minecart", CommandBlockMinecart: MinecartCommandBlock;
"minecraft:cow", Cow: Cow;
experimental "minecraft:creaking", Creaking: Creaking;
experimental "minecraft:creaking_transient", CreakingTransient: CreakingTransient;
"minecraft:creeper", Creeper: Creeper;
"minecraft:dark_oak_boat", DarkOakBoat: Boat;
"minecraft:dark_oak_chest_boat", DarkOakChestBoat: ChestBoat;
"minecraft:dolphin", Dolphin: Dolphin;
"minecraft:donkey", Donkey: Donkey;
"minecraft:dragon_fireball", DragonFireball: DragonFireball;
"minecraft:drowned", Drowned: Drowned;
"minecraft:egg", Egg: ThrownEgg;
"minecraft:elder_guardian", ElderGuardian: ElderGuardian;
"minecraft:end_crystal", EndCrystal: EndCrystal;
"minecraft:ender_dragon", EnderDragon: EnderDragon;
"minecraft:ender_pearl", EnderPearl: ThrownEnderpearl;
"minecraft:enderman", Enderman: EnderMan;
"minecraft:endermite", Endermite: Endermite;
"minecraft:evoker", Evoker: Evoker;
"minecraft:evoker_fangs", EvokerFangs: EvokerFangs;
"minecraft:experience_bottle", ExperienceBottle: ThrownExperienceBottle;
"minecraft:experience_orb", ExperienceOrb: ExperienceOrb;
"minecraft:eye_of_ender", EyeOfEnder: EyeOfEnder;
"minecraft:falling_block", FallingBlock: FallingBlockEntity;
"minecraft:fireball", Fireball: LargeFireball;
"minecraft:firework_rocket", FireworkRocket: FireworkRocketEntity;
"minecraft:fishing_bobber", FishingBobber: FishingHook;
"minecraft:fox", Fox: Fox;
"minecraft:frog", Frog: Frog;
"minecraft:furnace_minecart", FurnaceMinecart: MinecartFurnace;
"minecraft:ghast", Ghast: Ghast;
"minecraft:giant", Giant: Giant;
"minecraft:glow_item_frame", GlowItemFrame: GlowItemFrame;
"minecraft:glow_squid", GlowSquid: GlowSquid;
"minecraft:goat", Goat: Goat;
"minecraft:guardian", Guardian: Guardian;
"minecraft:hoglin", Hoglin: Hoglin;
"minecraft:hopper_minecart", HopperMinecart: MinecartHopper;
"minecraft:horse", Horse: Horse;
"minecraft:husk", Husk: Husk;
"minecraft:illusioner", Illusioner: Illusioner;
"minecraft:interaction", Interaction: Interaction;
"minecraft:iron_golem", IronGolem: IronGolem;
"minecraft:item", Item: ItemEntity;
"minecraft:item_display", ItemDisplay: ItemDisplay;
"minecraft:item_frame", ItemFrame: ItemFrame;
"minecraft:jungle_boat", JungleBoat: Boat;
"minecraft:jungle_chest_boat", JungleChestBoat: ChestBoat;
"minecraft:leash_knot", LeashKnot: LeashFenceKnotEntity;
"minecraft:lightning_bolt", LightningBolt: LightningBolt;
"minecraft:llama", Llama: Llama;
"minecraft:llama_spit", LlamaSpit: LlamaSpit;
"minecraft:magma_cube", MagmaCube: MagmaCube;
"minecraft:mangrove_boat", MangroveBoat: Boat;
"minecraft:mangrove_chest_boat", MangroveChestBoat: ChestBoat;
"minecraft:marker", Marker: Marker;
"minecraft:minecart", Minecart: Minecart;
"minecraft:mooshroom", Mooshroom: MushroomCow;
"minecraft:mule", Mule: Mule;
"minecraft:oak_boat", OakBoat: Boat;
"minecraft:oak_chest_boat", OakChestBoat: ChestBoat;
"minecraft:ocelot", Ocelot: Ocelot;
"minecraft:ominous_item_spawner", OminousItemSpawner: OminousItemSpawner;
"minecraft:painting", Painting: Painting;
experimental "minecraft:pale_oak_boat", PaleOakBoat: Boat;
experimental "minecraft:pale_oak_chest_boat", PaleOakChestBoat: ChestBoat;
"minecraft:panda", Panda: Panda;
"minecraft:parrot", Parrot: Parrot;
"minecraft:phantom", Phantom: Phantom;
"minecraft:pig", Pig: Pig;
"minecraft:piglin", Piglin: Piglin;
"minecraft:piglin_brute", PiglinBrute: PiglinBrute;
"minecraft:pillager", Pillager: Pillager;
"minecraft:polar_bear", PolarBear: PolarBear;
"minecraft:potion", Potion: ThrownPotion;
"minecraft:pufferfish", Pufferfish: Pufferfish;
"minecraft:rabbit", Rabbit: Rabbit;
"minecraft:ravager", Ravager: Ravager;
"minecraft:salmon", Salmon: Salmon;
"minecraft:sheep", Sheep: Sheep;
"minecraft:shulker", Shulker: Shulker;
"minecraft:shulker_bullet", ShulkerBullet: ShulkerBullet;
"minecraft:silverfish", Silverfish: Silverfish;
"minecraft:skeleton", Skeleton: Skeleton;
"minecraft:skeleton_horse", SkeletonHorse: SkeletonHorse;
"minecraft:slime", Slime: Slime;
"minecraft:small_fireball", SmallFireball: SmallFireball;
"minecraft:sniffer", Sniffer: Sniffer;
"minecraft:snow_golem", SnowGolem: SnowGolem;
"minecraft:snowball", Snowball: Snowball;
"minecraft:spawner_minecart", SpawnerMinecart: MinecartSpawner;
"minecraft:spectral_arrow", SpectralArrow: SpectralArrow;
"minecraft:spider", Spider: Spider;
"minecraft:spruce_boat", SpruceBoat: Boat;
"minecraft:spruce_chest_boat", SpruceChestBoat: ChestBoat;
"minecraft:squid", Squid: Squid;
"minecraft:stray", Stray: Stray;
"minecraft:strider", Strider: Strider;
"minecraft:tadpole", Tadpole: Tadpole;
"minecraft:text_display", TextDisplay: TextDisplay;
"minecraft:tnt", Tnt: PrimedTnt;
"minecraft:tnt_minecart", TntMinecart: MinecartTNT;
"minecraft:trader_llama", TraderLlama: TraderLlama;
"minecraft:trident", Trident: ThrownTrident;
"minecraft:tropical_fish", TropicalFish: TropicalFish;
"minecraft:turtle", Turtle: Turtle;
"minecraft:vex", Vex: Vex;
"minecraft:villager", Villager: Villager;
"minecraft:vindicator", Vindicator: Vindicator;
"minecraft:wandering_trader", WanderingTrader: WanderingTrader;
"minecraft:warden", Warden: Warden;
"minecraft:wind_charge", WindCharge: WindCharge;
"minecraft:witch", Witch: Witch;
"minecraft:wither", Wither: WitherBoss;
"minecraft:wither_skeleton", WitherSkeleton: WitherSkeleton;
"minecraft:wither_skull", WitherSkull: WitherSkull;
"minecraft:wolf", Wolf: Wolf;
"minecraft:zoglin", Zoglin: Zoglin;
"minecraft:zombie", Zombie: Zombie;
"minecraft:zombie_horse", ZombieHorse: ZombieHorse;
"minecraft:zombie_villager", ZombieVillager: ZombieVillager;
"minecraft:zombified_piglin", ZombifiedPiglin: ZombifiedPiglin;
}
entity_types! {
"1.21.2";
AbstractArrow > Projectile { "PierceLevel" as pierce_level: i8, "SoundEvent" as sound_event: CowStr, "crit" as crit: bool, "damage" as damage: f64, optional "inBlockState" as in_block_state: super::BlockState, "inGround" as in_ground: bool, "item" as item: fastnbt::Value, "life" as life: i16, "pickup" as pickup: i8, "shake" as shake: i8, optional "weapon" as weapon: fastnbt::Value }
AbstractBoat > VehicleEntity { optional "leash" as leash: either::Either<fastnbt::Value, fastnbt::IntArray> }
AbstractChestBoat > AbstractBoat { optional "Items" as items: Vec<fastnbt::Value>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
AbstractChestedHorse > AbstractHorse { "ChestedHorse" as chested_horse: bool, optional "Items" as items: Vec<fastnbt::Value> }
AbstractFish > WaterAnimal { "FromBucket" as from_bucket: bool }
AbstractGolem > PathfinderMob { }
AbstractHorse > Animal { "Bred" as bred: bool, "EatingHaystack" as eating_haystack: bool, optional "Owner" as owner: u128, optional "SaddleItem" as saddle_item: fastnbt::Value, "Tame" as tame: bool, "Temper" as temper: i32 }
AbstractHurtingProjectile > Projectile { "acceleration_power" as acceleration_power: f64 }
AbstractIllager > Raider { }
AbstractMinecart > VehicleEntity { optional "CustomDisplayTile" as custom_display_tile: bool, optional "DisplayOffset" as display_offset: i32, optional "DisplayState" as display_state: super::BlockState, "FlippedRotation" as flipped_rotation: bool, "HasTicked" as has_ticked: bool }
AbstractMinecartContainer > AbstractMinecart { optional "Items" as items: Vec<fastnbt::Value>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
AbstractPiglin > Monster { optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
AbstractSchoolingFish > AbstractFish { }
AbstractSkeleton > Monster { }
AbstractVillager > AgeableMob { "Inventory" as inventory: Vec<fastnbt::Value>, optional "Offers" as offers: fastnbt::Value }
AbstractWindCharge > AbstractHurtingProjectile { }
AgeableMob > PathfinderMob { "Age" as age: i32, "ForcedAge" as forced_age: i32 }
AgeableWaterCreature > AgeableMob { }
Allay > PathfinderMob { "CanDuplicate" as can_duplicate: bool, "DuplicationCooldown" as duplication_cooldown: i64, "Inventory" as inventory: Vec<fastnbt::Value>, optional "listener" as listener: fastnbt::Value }
AmbientCreature > Mob { }
Animal > AgeableMob { "InLove" as in_love: i32, optional "LoveCause" as love_cause: u128 }
AreaEffectCloud > Entity { "Age" as age: i32, "Duration" as duration: i32, "DurationOnUse" as duration_on_use: i32, optional "Owner" as owner: u128, "Particle" as particle: fastnbt::Value, "Radius" as radius: f32, "RadiusOnUse" as radius_on_use: f32, "RadiusPerTick" as radius_per_tick: f32, "ReapplicationDelay" as reapplication_delay: i32, "WaitTime" as wait_time: i32, optional "potion_contents" as potion_contents: fastnbt::Value }
Armadillo > Animal { "scute_time" as scute_time: i32, "state" as state: CowStr }
ArmorStand > LivingEntity { "ArmorItems" as armor_items: Vec<HashMap<CowStr, fastnbt::Value>>, "DisabledSlots" as disabled_slots: i32, "HandItems" as hand_items: Vec<HashMap<CowStr, fastnbt::Value>>, "Invisible" as invisible: bool, optional "Marker" as marker: bool, "NoBasePlate" as no_base_plate: bool, "Pose" as pose: super::compounds::ArmorStand_writePose, "ShowArms" as show_arms: bool, "Small" as small: bool }
Arrow > AbstractArrow { }
Axolotl > Animal { "FromBucket" as from_bucket: bool, "Variant" as variant: i32 }
Bat > AmbientCreature { "BatFlags" as bat_flags: i8 }
Bee > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CannotEnterHiveTicks" as cannot_enter_hive_ticks: i32, "CropsGrownSincePollination" as crops_grown_since_pollination: i32, "HasNectar" as has_nectar: bool, "HasStung" as has_stung: bool, "TicksSincePollination" as ticks_since_pollination: i32, optional "flower_pos" as flower_pos: fastnbt::IntArray, optional "hive_pos" as hive_pos: fastnbt::IntArray }
Blaze > Monster { }
BlockAttachedEntity > Entity { "TileX" as tile_x: i32, "TileY" as tile_y: i32, "TileZ" as tile_z: i32 }
BlockDisplay > Display { "block_state" as block_state: super::BlockState }
Boat > AbstractBoat { }
Bogged > AbstractSkeleton { "sheared" as sheared: bool }
Breeze > Monster { }
BreezeWindCharge > AbstractWindCharge { }
Camel > AbstractHorse { "LastPoseTick" as last_pose_tick: i64 }
Cat > TamableAnimal { "CollarColor" as collar_color: i8, "variant" as variant: CowStr }
CaveSpider > Spider { }
ChestBoat > AbstractChestBoat { }
ChestRaft > AbstractChestBoat { }
Chicken > Animal { "EggLayTime" as egg_lay_time: i32, "IsChickenJockey" as is_chicken_jockey: bool }
Cod > AbstractSchoolingFish { }
Cow > Animal { }
Creaking > Monster { }
CreakingTransient > Creaking { }
Creeper > Monster { "ExplosionRadius" as explosion_radius: i8, "Fuse" as fuse: i16, "ignited" as ignited: bool, optional "powered" as powered: bool }
Display > Entity { "glow_color_override" as glow_color_override: i32, "height" as height: f32, "interpolation_duration" as interpolation_duration: i32, "shadow_radius" as shadow_radius: f32, "shadow_strength" as shadow_strength: f32, "teleport_duration" as teleport_duration: i32, "view_range" as view_range: f32, "width" as width: f32 }
Dolphin > AgeableWaterCreature { "GotFish" as got_fish: bool, "Moistness" as moistness: i32, "TreasurePosX" as treasure_pos_x: i32, "TreasurePosY" as treasure_pos_y: i32, "TreasurePosZ" as treasure_pos_z: i32 }
Donkey > AbstractChestedHorse { }
DragonFireball > AbstractHurtingProjectile { }
Drowned > Zombie { }
ElderGuardian > Guardian { }
EndCrystal > Entity { "ShowBottom" as show_bottom: bool, optional "beam_target" as beam_target: fastnbt::IntArray }
EnderDragon > Mob { "DragonDeathTime" as dragon_death_time: i32, "DragonPhase" as dragon_phase: i32 }
EnderMan > Monster { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, optional "carriedBlockState" as carried_block_state: super::BlockState }
Endermite > Monster { "Lifetime" as lifetime: i32 }
Entity { "Air" as air: i16, optional "CustomName" as custom_name: CowStr, optional "CustomNameVisible" as custom_name_visible: bool, "FallDistance" as fall_distance: f32, "Fire" as fire: i16, optional "Glowing" as glowing: bool, optional "HasVisualFire" as has_visual_fire: bool, "Invulnerable" as invulnerable: bool, "Motion" as motion: Vec<f64>, optional "NoGravity" as no_gravity: bool, "OnGround" as on_ground: bool, optional "Passengers" as passengers: Vec<Box<super::Entity>>, "PortalCooldown" as portal_cooldown: i32, optional "Pos" as pos: Vec<f64>, "Rotation" as rotation: Vec<f32>, optional "Silent" as silent: bool, optional "Tags" as tags: Vec<CowStr>, optional "TicksFrozen" as ticks_frozen: i32, "UUID" as uuid: u128 }
Evoker > SpellcasterIllager { }
EvokerFangs > Entity { optional "Owner" as owner: u128, "Warmup" as warmup: i32 }
ExperienceOrb > Entity { "Age" as age: i16, "Count" as count: i32, "Health" as health: i16, "Value" as value: i16 }
EyeOfEnder > Entity { "Item" as item: fastnbt::Value }
FallingBlockEntity > Entity { "BlockState" as block_state: super::BlockState, "CancelDrop" as cancel_drop: bool, "DropItem" as drop_item: bool, "FallHurtAmount" as fall_hurt_amount: f32, "FallHurtMax" as fall_hurt_max: i32, "HurtEntities" as hurt_entities: bool, optional "TileEntityData" as tile_entity_data: HashMap<CowStr, fastnbt::Value>, "Time" as time: i32 }
Fireball > AbstractHurtingProjectile { "Item" as item: fastnbt::Value }
FireworkRocketEntity > Projectile { "FireworksItem" as fireworks_item: fastnbt::Value, "Life" as life: i32, "LifeTime" as life_time: i32, "ShotAtAngle" as shot_at_angle: bool }
FishingHook > Projectile { }
FlyingMob > Mob { }
Fox > Animal { "Crouching" as crouching: bool, "Sitting" as sitting: bool, "Sleeping" as sleeping: bool, "Trusted" as trusted: Vec<fastnbt::IntArray>, "Type" as r#type: CowStr }
Frog > Animal { "variant" as variant: CowStr }
Ghast > FlyingMob { "ExplosionPower" as explosion_power: i8 }
Giant > Monster { }
GlowItemFrame > ItemFrame { }
GlowSquid > Squid { "DarkTicksRemaining" as dark_ticks_remaining: i32 }
Goat > Animal { "HasLeftHorn" as has_left_horn: bool, "HasRightHorn" as has_right_horn: bool, "IsScreamingGoat" as is_screaming_goat: bool }
Guardian > Monster { }
HangingEntity > BlockAttachedEntity { }
Hoglin > Animal { optional "CannotBeHunted" as cannot_be_hunted: bool, optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
Horse > AbstractHorse { "Variant" as variant: i32 }
Husk > Zombie { }
Illusioner > SpellcasterIllager { }
Interaction > Entity { "height" as height: f32, "response" as response: bool, "width" as width: f32 }
IronGolem > AbstractGolem { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "PlayerCreated" as player_created: bool }
ItemDisplay > Display { optional "item" as item: fastnbt::Value }
ItemEntity > Entity { "Age" as age: i16, "Health" as health: i16, optional "Item" as item: fastnbt::Value, optional "Owner" as owner: u128, "PickupDelay" as pickup_delay: i16, optional "Thrower" as thrower: u128 }
ItemFrame > HangingEntity { "Facing" as facing: i8, "Fixed" as fixed: bool, "Invisible" as invisible: bool, optional "Item" as item: fastnbt::Value, optional "ItemDropChance" as item_drop_chance: f32, optional "ItemRotation" as item_rotation: i8 }
LargeFireball > Fireball { "ExplosionPower" as explosion_power: i8 }
LeashFenceKnotEntity > BlockAttachedEntity { }
LightningBolt > Entity { }
LivingEntity > Entity { "AbsorptionAmount" as absorption_amount: f32, optional "Brain" as brain: fastnbt::Value, "DeathTime" as death_time: i16, "FallFlying" as fall_flying: bool, "Health" as health: f32, "HurtByTimestamp" as hurt_by_timestamp: i32, "HurtTime" as hurt_time: i16, optional "SleepingX" as sleeping_x: i32, optional "SleepingY" as sleeping_y: i32, optional "SleepingZ" as sleeping_z: i32, optional "active_effects" as active_effects: Vec<fastnbt::Value>, "attributes" as attributes: Vec<super::compounds::AttributeInstance_save> }
Llama > AbstractChestedHorse { "Strength" as strength: i32, "Variant" as variant: i32 }
LlamaSpit > Projectile { }
MagmaCube > Slime { }
Marker > Entity { "data" as data: HashMap<CowStr, fastnbt::Value> }
Minecart > AbstractMinecart { }
MinecartChest > AbstractMinecartContainer { }
MinecartCommandBlock > AbstractMinecart { "Command" as command: CowStr, optional "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool }
MinecartFurnace > AbstractMinecart { "Fuel" as fuel: i16, "PushX" as push_x: f64, "PushZ" as push_z: f64 }
MinecartHopper > AbstractMinecartContainer { "Enabled" as enabled: bool }
MinecartSpawner > AbstractMinecart { "Delay" as delay: i16, "MaxNearbyEntities" as max_nearby_entities: i16, "MaxSpawnDelay" as max_spawn_delay: i16, "MinSpawnDelay" as min_spawn_delay: i16, "RequiredPlayerRange" as required_player_range: i16, "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: fastnbt::Value, "SpawnPotentials" as spawn_potentials: fastnbt::Value, "SpawnRange" as spawn_range: i16 }
MinecartTNT > AbstractMinecart { "TNTFuse" as tnt_fuse: i32, optional "explosion_power" as explosion_power: f32 }
Mob > LivingEntity { "ArmorDropChances" as armor_drop_chances: Vec<f32>, "ArmorItems" as armor_items: Vec<HashMap<CowStr, fastnbt::Value>>, "CanPickUpLoot" as can_pick_up_loot: bool, optional "DeathLootTable" as death_loot_table: CowStr, optional "DeathLootTableSeed" as death_loot_table_seed: i64, "HandDropChances" as hand_drop_chances: Vec<f32>, "HandItems" as hand_items: Vec<HashMap<CowStr, fastnbt::Value>>, "LeftHanded" as left_handed: bool, optional "NoAI" as no_ai: bool, "PersistenceRequired" as persistence_required: bool, optional "body_armor_drop_chance" as body_armor_drop_chance: f32, optional "body_armor_item" as body_armor_item: fastnbt::Value, optional "leash" as leash: either::Either<fastnbt::Value, fastnbt::IntArray> }
Monster > PathfinderMob { }
Mule > AbstractChestedHorse { }
MushroomCow > Cow { "Type" as r#type: CowStr }
Ocelot > Animal { "Trusting" as trusting: bool }
OminousItemSpawner > Entity { optional "item" as item: fastnbt::Value, "spawn_item_after_ticks" as spawn_item_after_ticks: i64 }
Painting > HangingEntity { "facing" as facing: i8 }
Panda > Animal { "HiddenGene" as hidden_gene: CowStr, "MainGene" as main_gene: CowStr }
Parrot > ShoulderRidingEntity { "Variant" as variant: i32 }
PathfinderMob > Mob { }
PatrollingMonster > Monster { "PatrolLeader" as patrol_leader: bool, "Patrolling" as patrolling: bool, optional "patrol_target" as patrol_target: fastnbt::IntArray }
Phantom > FlyingMob { "AX" as ax: i32, "AY" as ay: i32, "AZ" as az: i32, "Size" as size: i32 }
Pig > Animal { "Saddle" as saddle: bool }
Piglin > AbstractPiglin { optional "CannotHunt" as cannot_hunt: bool, "Inventory" as inventory: Vec<fastnbt::Value>, optional "IsBaby" as is_baby: bool }
PiglinBrute > AbstractPiglin { }
Pillager > AbstractIllager { "Inventory" as inventory: Vec<fastnbt::Value> }
PolarBear > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
PrimedTnt > Entity { "block_state" as block_state: super::BlockState, optional "explosion_power" as explosion_power: f32, "fuse" as fuse: i16 }
Projectile > Entity { "HasBeenShot" as has_been_shot: bool, optional "LeftOwner" as left_owner: bool, optional "Owner" as owner: u128 }
Pufferfish > AbstractFish { "PuffState" as puff_state: i32 }
Rabbit > Animal { "MoreCarrotTicks" as more_carrot_ticks: i32, "RabbitType" as rabbit_type: i32 }
Raft > AbstractBoat { }
Raider > PatrollingMonster { "CanJoinRaid" as can_join_raid: bool, optional "RaidId" as raid_id: i32, "Wave" as wave: i32 }
Ravager > Raider { "AttackTick" as attack_tick: i32, "RoarTick" as roar_tick: i32, "StunTick" as stun_tick: i32 }
Salmon > AbstractSchoolingFish { "type" as r#type: CowStr }
Sheep > Animal { "Color" as color: i8, "Sheared" as sheared: bool }
ShoulderRidingEntity > TamableAnimal { }
Shulker > AbstractGolem { "AttachFace" as attach_face: i8, "Color" as color: i8, "Peek" as peek: i8 }
ShulkerBullet > Projectile { optional "Dir" as dir: i32, "Steps" as steps: i32, "TXD" as txd: f64, "TYD" as tyd: f64, "TZD" as tzd: f64, optional "Target" as target: u128 }
Silverfish > Monster { }
Skeleton > AbstractSkeleton { "StrayConversionTime" as stray_conversion_time: i32 }
SkeletonHorse > AbstractHorse { "SkeletonTrap" as skeleton_trap: bool, "SkeletonTrapTime" as skeleton_trap_time: i32 }
Slime > Mob { "Size" as size: i32, "wasOnGround" as was_on_ground: bool }
SmallFireball > Fireball { }
Sniffer > Animal { }
SnowGolem > AbstractGolem { "Pumpkin" as pumpkin: bool }
Snowball > ThrowableItemProjectile { }
SpectralArrow > AbstractArrow { "Duration" as duration: i32 }
SpellcasterIllager > AbstractIllager { "SpellTicks" as spell_ticks: i32 }
Spider > Monster { }
Squid > AgeableWaterCreature { }
Stray > AbstractSkeleton { }
Strider > Animal { "Saddle" as saddle: bool }
Tadpole > AbstractFish { "Age" as age: i32 }
TamableAnimal > Animal { optional "Owner" as owner: u128, "Sitting" as sitting: bool }
TextDisplay > Display { "background" as background: i32, "default_background" as default_background: bool, "line_width" as line_width: i32, "see_through" as see_through: bool, "shadow" as shadow: bool, "text" as text: CowStr, "text_opacity" as text_opacity: i8 }
ThrowableItemProjectile > ThrowableProjectile { "Item" as item: fastnbt::Value }
ThrowableProjectile > Projectile { }
ThrownEgg > ThrowableItemProjectile { }
ThrownEnderpearl > ThrowableItemProjectile { }
ThrownExperienceBottle > ThrowableItemProjectile { }
ThrownPotion > ThrowableItemProjectile { }
ThrownTrident > AbstractArrow { "DealtDamage" as dealt_damage: bool }
TraderLlama > Llama { "DespawnDelay" as despawn_delay: i32 }
TropicalFish > AbstractSchoolingFish { "Variant" as variant: i32 }
Turtle > Animal { "HasEgg" as has_egg: bool, "HomePosX" as home_pos_x: i32, "HomePosY" as home_pos_y: i32, "HomePosZ" as home_pos_z: i32, "TravelPosX" as travel_pos_x: i32, "TravelPosY" as travel_pos_y: i32, "TravelPosZ" as travel_pos_z: i32 }
VehicleEntity > Entity { }
Vex > Monster { optional "BoundX" as bound_x: i32, optional "BoundY" as bound_y: i32, optional "BoundZ" as bound_z: i32, optional "LifeTicks" as life_ticks: i32 }
Villager > AbstractVillager { optional "AssignProfessionWhenSpawned" as assign_profession_when_spawned: bool, "FoodLevel" as food_level: i8, "Gossips" as gossips: fastnbt::Value, "LastGossipDecay" as last_gossip_decay: i64, "LastRestock" as last_restock: i64, "RestocksToday" as restocks_today: i32, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
Vindicator > AbstractIllager { optional "Johnny" as johnny: bool }
WanderingTrader > AbstractVillager { "DespawnDelay" as despawn_delay: i32, optional "wander_target" as wander_target: fastnbt::IntArray }
Warden > Monster { optional "anger" as anger: fastnbt::Value, optional "listener" as listener: fastnbt::Value }
WaterAnimal > PathfinderMob { }
WindCharge > AbstractWindCharge { }
Witch > Raider { }
WitherBoss > Monster { "Invul" as invul: i32 }
WitherSkeleton > AbstractSkeleton { }
WitherSkull > AbstractHurtingProjectile { "dangerous" as dangerous: bool }
Wolf > TamableAnimal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CollarColor" as collar_color: i8, optional "variant" as variant: CowStr }
Zoglin > Monster { optional "IsBaby" as is_baby: bool }
Zombie > Monster { "CanBreakDoors" as can_break_doors: bool, "DrownedConversionTime" as drowned_conversion_time: i32, "InWaterTime" as in_water_time: i32, "IsBaby" as is_baby: bool }
ZombieHorse > AbstractHorse { }
ZombieVillager > Zombie { optional "ConversionPlayer" as conversion_player: u128, "ConversionTime" as conversion_time: i32, optional "Gossips" as gossips: fastnbt::Value, optional "Offers" as offers: fastnbt::Value, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
ZombifiedPiglin > Zombie { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
}
entity_compound_types! {
"1.21.2";
ArmorStand_writePose { optional "Body" as body: Vec<f32>, optional "Head" as head: Vec<f32>, optional "LeftArm" as left_arm: Vec<f32>, optional "LeftLeg" as left_leg: Vec<f32>, optional "RightArm" as right_arm: Vec<f32>, optional "RightLeg" as right_leg: Vec<f32> }
AttributeInstance_save { "base" as base: f64, "id" as id: CowStr, optional "modifiers" as modifiers: Vec<HashMap<CowStr, fastnbt::Value>> }
}
}
/// Accompanying types for entities in Minecraft 1.21.4.
#[cfg(feature = "1.21.4")]
pub mod mc1_21_4 {
entities! {
"1.21.4", mc1_21_4;
"minecraft:acacia_boat", AcaciaBoat: Boat;
"minecraft:acacia_chest_boat", AcaciaChestBoat: ChestBoat;
"minecraft:allay", Allay: Allay;
"minecraft:area_effect_cloud", AreaEffectCloud: AreaEffectCloud;
"minecraft:armadillo", Armadillo: Armadillo;
"minecraft:armor_stand", ArmorStand: ArmorStand;
"minecraft:arrow", Arrow: Arrow;
"minecraft:axolotl", Axolotl: Axolotl;
"minecraft:bamboo_chest_raft", BambooChestRaft: ChestRaft;
"minecraft:bamboo_raft", BambooRaft: Raft;
"minecraft:bat", Bat: Bat;
"minecraft:bee", Bee: Bee;
"minecraft:birch_boat", BirchBoat: Boat;
"minecraft:birch_chest_boat", BirchChestBoat: ChestBoat;
"minecraft:blaze", Blaze: Blaze;
"minecraft:block_display", BlockDisplay: BlockDisplay;
"minecraft:bogged", Bogged: Bogged;
"minecraft:breeze", Breeze: Breeze;
"minecraft:breeze_wind_charge", BreezeWindCharge: BreezeWindCharge;
"minecraft:camel", Camel: Camel;
"minecraft:cat", Cat: Cat;
"minecraft:cave_spider", CaveSpider: CaveSpider;
"minecraft:cherry_boat", CherryBoat: Boat;
"minecraft:cherry_chest_boat", CherryChestBoat: ChestBoat;
"minecraft:chest_minecart", ChestMinecart: MinecartChest;
"minecraft:chicken", Chicken: Chicken;
"minecraft:cod", Cod: Cod;
"minecraft:command_block_minecart", CommandBlockMinecart: MinecartCommandBlock;
"minecraft:cow", Cow: Cow;
"minecraft:creaking", Creaking: Creaking;
"minecraft:creeper", Creeper: Creeper;
"minecraft:dark_oak_boat", DarkOakBoat: Boat;
"minecraft:dark_oak_chest_boat", DarkOakChestBoat: ChestBoat;
"minecraft:dolphin", Dolphin: Dolphin;
"minecraft:donkey", Donkey: Donkey;
"minecraft:dragon_fireball", DragonFireball: DragonFireball;
"minecraft:drowned", Drowned: Drowned;
"minecraft:egg", Egg: ThrownEgg;
"minecraft:elder_guardian", ElderGuardian: ElderGuardian;
"minecraft:end_crystal", EndCrystal: EndCrystal;
"minecraft:ender_dragon", EnderDragon: EnderDragon;
"minecraft:ender_pearl", EnderPearl: ThrownEnderpearl;
"minecraft:enderman", Enderman: EnderMan;
"minecraft:endermite", Endermite: Endermite;
"minecraft:evoker", Evoker: Evoker;
"minecraft:evoker_fangs", EvokerFangs: EvokerFangs;
"minecraft:experience_bottle", ExperienceBottle: ThrownExperienceBottle;
"minecraft:experience_orb", ExperienceOrb: ExperienceOrb;
"minecraft:eye_of_ender", EyeOfEnder: EyeOfEnder;
"minecraft:falling_block", FallingBlock: FallingBlockEntity;
"minecraft:fireball", Fireball: LargeFireball;
"minecraft:firework_rocket", FireworkRocket: FireworkRocketEntity;
"minecraft:fishing_bobber", FishingBobber: FishingHook;
"minecraft:fox", Fox: Fox;
"minecraft:frog", Frog: Frog;
"minecraft:furnace_minecart", FurnaceMinecart: MinecartFurnace;
"minecraft:ghast", Ghast: Ghast;
"minecraft:giant", Giant: Giant;
"minecraft:glow_item_frame", GlowItemFrame: GlowItemFrame;
"minecraft:glow_squid", GlowSquid: GlowSquid;
"minecraft:goat", Goat: Goat;
"minecraft:guardian", Guardian: Guardian;
"minecraft:hoglin", Hoglin: Hoglin;
"minecraft:hopper_minecart", HopperMinecart: MinecartHopper;
"minecraft:horse", Horse: Horse;
"minecraft:husk", Husk: Husk;
"minecraft:illusioner", Illusioner: Illusioner;
"minecraft:interaction", Interaction: Interaction;
"minecraft:iron_golem", IronGolem: IronGolem;
"minecraft:item", Item: ItemEntity;
"minecraft:item_display", ItemDisplay: ItemDisplay;
"minecraft:item_frame", ItemFrame: ItemFrame;
"minecraft:jungle_boat", JungleBoat: Boat;
"minecraft:jungle_chest_boat", JungleChestBoat: ChestBoat;
"minecraft:leash_knot", LeashKnot: LeashFenceKnotEntity;
"minecraft:lightning_bolt", LightningBolt: LightningBolt;
"minecraft:llama", Llama: Llama;
"minecraft:llama_spit", LlamaSpit: LlamaSpit;
"minecraft:magma_cube", MagmaCube: MagmaCube;
"minecraft:mangrove_boat", MangroveBoat: Boat;
"minecraft:mangrove_chest_boat", MangroveChestBoat: ChestBoat;
"minecraft:marker", Marker: Marker;
"minecraft:minecart", Minecart: Minecart;
"minecraft:mooshroom", Mooshroom: MushroomCow;
"minecraft:mule", Mule: Mule;
"minecraft:oak_boat", OakBoat: Boat;
"minecraft:oak_chest_boat", OakChestBoat: ChestBoat;
"minecraft:ocelot", Ocelot: Ocelot;
"minecraft:ominous_item_spawner", OminousItemSpawner: OminousItemSpawner;
"minecraft:painting", Painting: Painting;
"minecraft:pale_oak_boat", PaleOakBoat: Boat;
"minecraft:pale_oak_chest_boat", PaleOakChestBoat: ChestBoat;
"minecraft:panda", Panda: Panda;
"minecraft:parrot", Parrot: Parrot;
"minecraft:phantom", Phantom: Phantom;
"minecraft:pig", Pig: Pig;
"minecraft:piglin", Piglin: Piglin;
"minecraft:piglin_brute", PiglinBrute: PiglinBrute;
"minecraft:pillager", Pillager: Pillager;
"minecraft:polar_bear", PolarBear: PolarBear;
"minecraft:potion", Potion: ThrownPotion;
"minecraft:pufferfish", Pufferfish: Pufferfish;
"minecraft:rabbit", Rabbit: Rabbit;
"minecraft:ravager", Ravager: Ravager;
"minecraft:salmon", Salmon: Salmon;
"minecraft:sheep", Sheep: Sheep;
"minecraft:shulker", Shulker: Shulker;
"minecraft:shulker_bullet", ShulkerBullet: ShulkerBullet;
"minecraft:silverfish", Silverfish: Silverfish;
"minecraft:skeleton", Skeleton: Skeleton;
"minecraft:skeleton_horse", SkeletonHorse: SkeletonHorse;
"minecraft:slime", Slime: Slime;
"minecraft:small_fireball", SmallFireball: SmallFireball;
"minecraft:sniffer", Sniffer: Sniffer;
"minecraft:snow_golem", SnowGolem: SnowGolem;
"minecraft:snowball", Snowball: Snowball;
"minecraft:spawner_minecart", SpawnerMinecart: MinecartSpawner;
"minecraft:spectral_arrow", SpectralArrow: SpectralArrow;
"minecraft:spider", Spider: Spider;
"minecraft:spruce_boat", SpruceBoat: Boat;
"minecraft:spruce_chest_boat", SpruceChestBoat: ChestBoat;
"minecraft:squid", Squid: Squid;
"minecraft:stray", Stray: Stray;
"minecraft:strider", Strider: Strider;
"minecraft:tadpole", Tadpole: Tadpole;
"minecraft:text_display", TextDisplay: TextDisplay;
"minecraft:tnt", Tnt: PrimedTnt;
"minecraft:tnt_minecart", TntMinecart: MinecartTNT;
"minecraft:trader_llama", TraderLlama: TraderLlama;
"minecraft:trident", Trident: ThrownTrident;
"minecraft:tropical_fish", TropicalFish: TropicalFish;
"minecraft:turtle", Turtle: Turtle;
"minecraft:vex", Vex: Vex;
"minecraft:villager", Villager: Villager;
"minecraft:vindicator", Vindicator: Vindicator;
"minecraft:wandering_trader", WanderingTrader: WanderingTrader;
"minecraft:warden", Warden: Warden;
"minecraft:wind_charge", WindCharge: WindCharge;
"minecraft:witch", Witch: Witch;
"minecraft:wither", Wither: WitherBoss;
"minecraft:wither_skeleton", WitherSkeleton: WitherSkeleton;
"minecraft:wither_skull", WitherSkull: WitherSkull;
"minecraft:wolf", Wolf: Wolf;
"minecraft:zoglin", Zoglin: Zoglin;
"minecraft:zombie", Zombie: Zombie;
"minecraft:zombie_horse", ZombieHorse: ZombieHorse;
"minecraft:zombie_villager", ZombieVillager: ZombieVillager;
"minecraft:zombified_piglin", ZombifiedPiglin: ZombifiedPiglin;
}
entity_types! {
"1.21.4";
AbstractArrow > Projectile { "PierceLevel" as pierce_level: i8, "SoundEvent" as sound_event: CowStr, "crit" as crit: bool, "damage" as damage: f64, optional "inBlockState" as in_block_state: super::BlockState, "inGround" as in_ground: bool, "item" as item: fastnbt::Value, "life" as life: i16, "pickup" as pickup: i8, "shake" as shake: i8, optional "weapon" as weapon: fastnbt::Value }
AbstractBoat > VehicleEntity { optional "leash" as leash: either::Either<fastnbt::Value, fastnbt::IntArray> }
AbstractChestBoat > AbstractBoat { optional "Items" as items: Vec<fastnbt::Value>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
AbstractChestedHorse > AbstractHorse { "ChestedHorse" as chested_horse: bool, optional "Items" as items: Vec<fastnbt::Value> }
AbstractFish > WaterAnimal { "FromBucket" as from_bucket: bool }
AbstractGolem > PathfinderMob { }
AbstractHorse > Animal { "Bred" as bred: bool, "EatingHaystack" as eating_haystack: bool, optional "Owner" as owner: u128, optional "SaddleItem" as saddle_item: fastnbt::Value, "Tame" as tame: bool, "Temper" as temper: i32 }
AbstractHurtingProjectile > Projectile { "acceleration_power" as acceleration_power: f64 }
AbstractIllager > Raider { }
AbstractMinecart > VehicleEntity { optional "CustomDisplayTile" as custom_display_tile: bool, optional "DisplayOffset" as display_offset: i32, optional "DisplayState" as display_state: super::BlockState, "FlippedRotation" as flipped_rotation: bool, "HasTicked" as has_ticked: bool }
AbstractMinecartContainer > AbstractMinecart { optional "Items" as items: Vec<fastnbt::Value>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
AbstractPiglin > Monster { optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
AbstractSchoolingFish > AbstractFish { }
AbstractSkeleton > Monster { }
AbstractVillager > AgeableMob { "Inventory" as inventory: Vec<fastnbt::Value>, optional "Offers" as offers: fastnbt::Value }
AbstractWindCharge > AbstractHurtingProjectile { }
AgeableMob > PathfinderMob { "Age" as age: i32, "ForcedAge" as forced_age: i32 }
AgeableWaterCreature > AgeableMob { }
Allay > PathfinderMob { "CanDuplicate" as can_duplicate: bool, "DuplicationCooldown" as duplication_cooldown: i64, "Inventory" as inventory: Vec<fastnbt::Value>, optional "listener" as listener: fastnbt::Value }
AmbientCreature > Mob { }
Animal > AgeableMob { "InLove" as in_love: i32, optional "LoveCause" as love_cause: u128 }
AreaEffectCloud > Entity { "Age" as age: i32, "Duration" as duration: i32, "DurationOnUse" as duration_on_use: i32, optional "Owner" as owner: u128, "Particle" as particle: fastnbt::Value, "Radius" as radius: f32, "RadiusOnUse" as radius_on_use: f32, "RadiusPerTick" as radius_per_tick: f32, "ReapplicationDelay" as reapplication_delay: i32, "WaitTime" as wait_time: i32, optional "potion_contents" as potion_contents: fastnbt::Value }
Armadillo > Animal { "scute_time" as scute_time: i32, "state" as state: CowStr }
ArmorStand > LivingEntity { "ArmorItems" as armor_items: Vec<HashMap<CowStr, fastnbt::Value>>, "DisabledSlots" as disabled_slots: i32, "HandItems" as hand_items: Vec<HashMap<CowStr, fastnbt::Value>>, "Invisible" as invisible: bool, optional "Marker" as marker: bool, "NoBasePlate" as no_base_plate: bool, "Pose" as pose: super::compounds::ArmorStand_writePose, "ShowArms" as show_arms: bool, "Small" as small: bool }
Arrow > AbstractArrow { }
Axolotl > Animal { "FromBucket" as from_bucket: bool, "Variant" as variant: i32 }
Bat > AmbientCreature { "BatFlags" as bat_flags: i8 }
Bee > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CannotEnterHiveTicks" as cannot_enter_hive_ticks: i32, "CropsGrownSincePollination" as crops_grown_since_pollination: i32, "HasNectar" as has_nectar: bool, "HasStung" as has_stung: bool, "TicksSincePollination" as ticks_since_pollination: i32, optional "flower_pos" as flower_pos: fastnbt::IntArray, optional "hive_pos" as hive_pos: fastnbt::IntArray }
Blaze > Monster { }
BlockAttachedEntity > Entity { "TileX" as tile_x: i32, "TileY" as tile_y: i32, "TileZ" as tile_z: i32 }
BlockDisplay > Display { "block_state" as block_state: super::BlockState }
Boat > AbstractBoat { }
Bogged > AbstractSkeleton { "sheared" as sheared: bool }
Breeze > Monster { }
BreezeWindCharge > AbstractWindCharge { }
Camel > AbstractHorse { "LastPoseTick" as last_pose_tick: i64 }
Cat > TamableAnimal { "CollarColor" as collar_color: i8, "variant" as variant: CowStr }
CaveSpider > Spider { }
ChestBoat > AbstractChestBoat { }
ChestRaft > AbstractChestBoat { }
Chicken > Animal { "EggLayTime" as egg_lay_time: i32, "IsChickenJockey" as is_chicken_jockey: bool }
Cod > AbstractSchoolingFish { }
Cow > Animal { }
Creaking > Monster { optional "home_pos" as home_pos: fastnbt::IntArray }
Creeper > Monster { "ExplosionRadius" as explosion_radius: i8, "Fuse" as fuse: i16, "ignited" as ignited: bool, optional "powered" as powered: bool }
Display > Entity { "glow_color_override" as glow_color_override: i32, "height" as height: f32, "interpolation_duration" as interpolation_duration: i32, "shadow_radius" as shadow_radius: f32, "shadow_strength" as shadow_strength: f32, "teleport_duration" as teleport_duration: i32, "view_range" as view_range: f32, "width" as width: f32 }
Dolphin > AgeableWaterCreature { "GotFish" as got_fish: bool, "Moistness" as moistness: i32, "TreasurePosX" as treasure_pos_x: i32, "TreasurePosY" as treasure_pos_y: i32, "TreasurePosZ" as treasure_pos_z: i32 }
Donkey > AbstractChestedHorse { }
DragonFireball > AbstractHurtingProjectile { }
Drowned > Zombie { }
ElderGuardian > Guardian { }
EndCrystal > Entity { "ShowBottom" as show_bottom: bool, optional "beam_target" as beam_target: fastnbt::IntArray }
EnderDragon > Mob { "DragonDeathTime" as dragon_death_time: i32, "DragonPhase" as dragon_phase: i32 }
EnderMan > Monster { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, optional "carriedBlockState" as carried_block_state: super::BlockState }
Endermite > Monster { "Lifetime" as lifetime: i32 }
Entity { "Air" as air: i16, optional "CustomName" as custom_name: CowStr, optional "CustomNameVisible" as custom_name_visible: bool, "FallDistance" as fall_distance: f32, "Fire" as fire: i16, optional "Glowing" as glowing: bool, optional "HasVisualFire" as has_visual_fire: bool, "Invulnerable" as invulnerable: bool, "Motion" as motion: Vec<f64>, optional "NoGravity" as no_gravity: bool, "OnGround" as on_ground: bool, optional "Passengers" as passengers: Vec<Box<super::Entity>>, "PortalCooldown" as portal_cooldown: i32, optional "Pos" as pos: Vec<f64>, "Rotation" as rotation: Vec<f32>, optional "Silent" as silent: bool, optional "Tags" as tags: Vec<CowStr>, optional "TicksFrozen" as ticks_frozen: i32, "UUID" as uuid: u128 }
Evoker > SpellcasterIllager { }
EvokerFangs > Entity { optional "Owner" as owner: u128, "Warmup" as warmup: i32 }
ExperienceOrb > Entity { "Age" as age: i16, "Count" as count: i32, "Health" as health: i16, "Value" as value: i16 }
EyeOfEnder > Entity { "Item" as item: fastnbt::Value }
FallingBlockEntity > Entity { "BlockState" as block_state: super::BlockState, "CancelDrop" as cancel_drop: bool, "DropItem" as drop_item: bool, "FallHurtAmount" as fall_hurt_amount: f32, "FallHurtMax" as fall_hurt_max: i32, "HurtEntities" as hurt_entities: bool, optional "TileEntityData" as tile_entity_data: HashMap<CowStr, fastnbt::Value>, "Time" as time: i32 }
Fireball > AbstractHurtingProjectile { "Item" as item: fastnbt::Value }
FireworkRocketEntity > Projectile { "FireworksItem" as fireworks_item: fastnbt::Value, "Life" as life: i32, "LifeTime" as life_time: i32, "ShotAtAngle" as shot_at_angle: bool }
FishingHook > Projectile { }
FlyingMob > Mob { }
Fox > Animal { "Crouching" as crouching: bool, "Sitting" as sitting: bool, "Sleeping" as sleeping: bool, "Trusted" as trusted: Vec<fastnbt::IntArray>, "Type" as r#type: CowStr }
Frog > Animal { "variant" as variant: CowStr }
Ghast > FlyingMob { "ExplosionPower" as explosion_power: i8 }
Giant > Monster { }
GlowItemFrame > ItemFrame { }
GlowSquid > Squid { "DarkTicksRemaining" as dark_ticks_remaining: i32 }
Goat > Animal { "HasLeftHorn" as has_left_horn: bool, "HasRightHorn" as has_right_horn: bool, "IsScreamingGoat" as is_screaming_goat: bool }
Guardian > Monster { }
HangingEntity > BlockAttachedEntity { }
Hoglin > Animal { optional "CannotBeHunted" as cannot_be_hunted: bool, optional "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
Horse > AbstractHorse { "Variant" as variant: i32 }
Husk > Zombie { }
Illusioner > SpellcasterIllager { }
Interaction > Entity { "height" as height: f32, "response" as response: bool, "width" as width: f32 }
IronGolem > AbstractGolem { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "PlayerCreated" as player_created: bool }
ItemDisplay > Display { optional "item" as item: fastnbt::Value }
ItemEntity > Entity { "Age" as age: i16, "Health" as health: i16, optional "Item" as item: fastnbt::Value, optional "Owner" as owner: u128, "PickupDelay" as pickup_delay: i16, optional "Thrower" as thrower: u128 }
ItemFrame > HangingEntity { "Facing" as facing: i8, "Fixed" as fixed: bool, "Invisible" as invisible: bool, optional "Item" as item: fastnbt::Value, optional "ItemDropChance" as item_drop_chance: f32, optional "ItemRotation" as item_rotation: i8 }
LargeFireball > Fireball { "ExplosionPower" as explosion_power: i8 }
LeashFenceKnotEntity > BlockAttachedEntity { }
LightningBolt > Entity { }
LivingEntity > Entity { "AbsorptionAmount" as absorption_amount: f32, optional "Brain" as brain: fastnbt::Value, "DeathTime" as death_time: i16, "FallFlying" as fall_flying: bool, "Health" as health: f32, "HurtByTimestamp" as hurt_by_timestamp: i32, "HurtTime" as hurt_time: i16, optional "SleepingX" as sleeping_x: i32, optional "SleepingY" as sleeping_y: i32, optional "SleepingZ" as sleeping_z: i32, optional "active_effects" as active_effects: Vec<fastnbt::Value>, "attributes" as attributes: Vec<super::compounds::AttributeInstance_save> }
Llama > AbstractChestedHorse { "Strength" as strength: i32, "Variant" as variant: i32 }
LlamaSpit > Projectile { }
MagmaCube > Slime { }
Marker > Entity { "data" as data: HashMap<CowStr, fastnbt::Value> }
Minecart > AbstractMinecart { }
MinecartChest > AbstractMinecartContainer { }
MinecartCommandBlock > AbstractMinecart { "Command" as command: CowStr, optional "CustomName" as custom_name: CowStr, optional "LastExecution" as last_execution: i64, optional "LastOutput" as last_output: CowStr, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool }
MinecartFurnace > AbstractMinecart { "Fuel" as fuel: i16, "PushX" as push_x: f64, "PushZ" as push_z: f64 }
MinecartHopper > AbstractMinecartContainer { "Enabled" as enabled: bool }
MinecartSpawner > AbstractMinecart { "Delay" as delay: i16, "MaxNearbyEntities" as max_nearby_entities: i16, "MaxSpawnDelay" as max_spawn_delay: i16, "MinSpawnDelay" as min_spawn_delay: i16, "RequiredPlayerRange" as required_player_range: i16, "SpawnCount" as spawn_count: i16, optional "SpawnData" as spawn_data: fastnbt::Value, "SpawnPotentials" as spawn_potentials: fastnbt::Value, "SpawnRange" as spawn_range: i16 }
MinecartTNT > AbstractMinecart { optional "explosion_power" as explosion_power: f32, optional "explosion_speed_factor" as explosion_speed_factor: f32, "fuse" as fuse: i32 }
Mob > LivingEntity { "ArmorDropChances" as armor_drop_chances: Vec<f32>, "ArmorItems" as armor_items: Vec<HashMap<CowStr, fastnbt::Value>>, "CanPickUpLoot" as can_pick_up_loot: bool, optional "DeathLootTable" as death_loot_table: CowStr, optional "DeathLootTableSeed" as death_loot_table_seed: i64, "HandDropChances" as hand_drop_chances: Vec<f32>, "HandItems" as hand_items: Vec<HashMap<CowStr, fastnbt::Value>>, "LeftHanded" as left_handed: bool, optional "NoAI" as no_ai: bool, "PersistenceRequired" as persistence_required: bool, optional "body_armor_drop_chance" as body_armor_drop_chance: f32, optional "body_armor_item" as body_armor_item: fastnbt::Value, optional "leash" as leash: either::Either<fastnbt::Value, fastnbt::IntArray> }
Monster > PathfinderMob { }
Mule > AbstractChestedHorse { }
MushroomCow > Cow { "Type" as r#type: CowStr }
Ocelot > Animal { "Trusting" as trusting: bool }
OminousItemSpawner > Entity { optional "item" as item: fastnbt::Value, "spawn_item_after_ticks" as spawn_item_after_ticks: i64 }
Painting > HangingEntity { "facing" as facing: i8 }
Panda > Animal { "HiddenGene" as hidden_gene: CowStr, "MainGene" as main_gene: CowStr }
Parrot > ShoulderRidingEntity { "Variant" as variant: i32 }
PathfinderMob > Mob { }
PatrollingMonster > Monster { "PatrolLeader" as patrol_leader: bool, "Patrolling" as patrolling: bool, optional "patrol_target" as patrol_target: fastnbt::IntArray }
Phantom > FlyingMob { "AX" as ax: i32, "AY" as ay: i32, "AZ" as az: i32, "Size" as size: i32 }
Pig > Animal { "Saddle" as saddle: bool }
Piglin > AbstractPiglin { optional "CannotHunt" as cannot_hunt: bool, "Inventory" as inventory: Vec<fastnbt::Value>, optional "IsBaby" as is_baby: bool }
PiglinBrute > AbstractPiglin { }
Pillager > AbstractIllager { "Inventory" as inventory: Vec<fastnbt::Value> }
PolarBear > Animal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
PrimedTnt > Entity { "block_state" as block_state: super::BlockState, optional "explosion_power" as explosion_power: f32, "fuse" as fuse: i16 }
Projectile > Entity { "HasBeenShot" as has_been_shot: bool, optional "LeftOwner" as left_owner: bool, optional "Owner" as owner: u128 }
Pufferfish > AbstractFish { "PuffState" as puff_state: i32 }
Rabbit > Animal { "MoreCarrotTicks" as more_carrot_ticks: i32, "RabbitType" as rabbit_type: i32 }
Raft > AbstractBoat { }
Raider > PatrollingMonster { "CanJoinRaid" as can_join_raid: bool, optional "RaidId" as raid_id: i32, "Wave" as wave: i32 }
Ravager > Raider { "AttackTick" as attack_tick: i32, "RoarTick" as roar_tick: i32, "StunTick" as stun_tick: i32 }
Salmon > AbstractSchoolingFish { "type" as r#type: CowStr }
Sheep > Animal { "Color" as color: i8, "Sheared" as sheared: bool }
ShoulderRidingEntity > TamableAnimal { }
Shulker > AbstractGolem { "AttachFace" as attach_face: i8, "Color" as color: i8, "Peek" as peek: i8 }
ShulkerBullet > Projectile { optional "Dir" as dir: i32, "Steps" as steps: i32, "TXD" as txd: f64, "TYD" as tyd: f64, "TZD" as tzd: f64, optional "Target" as target: u128 }
Silverfish > Monster { }
Skeleton > AbstractSkeleton { "StrayConversionTime" as stray_conversion_time: i32 }
SkeletonHorse > AbstractHorse { "SkeletonTrap" as skeleton_trap: bool, "SkeletonTrapTime" as skeleton_trap_time: i32 }
Slime > Mob { "Size" as size: i32, "wasOnGround" as was_on_ground: bool }
SmallFireball > Fireball { }
Sniffer > Animal { }
SnowGolem > AbstractGolem { "Pumpkin" as pumpkin: bool }
Snowball > ThrowableItemProjectile { }
SpectralArrow > AbstractArrow { "Duration" as duration: i32 }
SpellcasterIllager > AbstractIllager { "SpellTicks" as spell_ticks: i32 }
Spider > Monster { }
Squid > AgeableWaterCreature { }
Stray > AbstractSkeleton { }
Strider > Animal { "Saddle" as saddle: bool }
Tadpole > AbstractFish { "Age" as age: i32 }
TamableAnimal > Animal { optional "Owner" as owner: u128, "Sitting" as sitting: bool }
TextDisplay > Display { "background" as background: i32, "default_background" as default_background: bool, "line_width" as line_width: i32, "see_through" as see_through: bool, "shadow" as shadow: bool, "text" as text: CowStr, "text_opacity" as text_opacity: i8 }
ThrowableItemProjectile > ThrowableProjectile { "Item" as item: fastnbt::Value }
ThrowableProjectile > Projectile { }
ThrownEgg > ThrowableItemProjectile { }
ThrownEnderpearl > ThrowableItemProjectile { }
ThrownExperienceBottle > ThrowableItemProjectile { }
ThrownPotion > ThrowableItemProjectile { }
ThrownTrident > AbstractArrow { "DealtDamage" as dealt_damage: bool }
TraderLlama > Llama { "DespawnDelay" as despawn_delay: i32 }
TropicalFish > AbstractSchoolingFish { "Variant" as variant: i32 }
Turtle > Animal { "HasEgg" as has_egg: bool, "HomePosX" as home_pos_x: i32, "HomePosY" as home_pos_y: i32, "HomePosZ" as home_pos_z: i32, "TravelPosX" as travel_pos_x: i32, "TravelPosY" as travel_pos_y: i32, "TravelPosZ" as travel_pos_z: i32 }
VehicleEntity > Entity { }
Vex > Monster { optional "BoundX" as bound_x: i32, optional "BoundY" as bound_y: i32, optional "BoundZ" as bound_z: i32, optional "LifeTicks" as life_ticks: i32 }
Villager > AbstractVillager { optional "AssignProfessionWhenSpawned" as assign_profession_when_spawned: bool, "FoodLevel" as food_level: i8, "Gossips" as gossips: fastnbt::Value, "LastGossipDecay" as last_gossip_decay: i64, "LastRestock" as last_restock: i64, "RestocksToday" as restocks_today: i32, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
Vindicator > AbstractIllager { optional "Johnny" as johnny: bool }
WanderingTrader > AbstractVillager { "DespawnDelay" as despawn_delay: i32, optional "wander_target" as wander_target: fastnbt::IntArray }
Warden > Monster { optional "anger" as anger: fastnbt::Value, optional "listener" as listener: fastnbt::Value }
WaterAnimal > PathfinderMob { }
WindCharge > AbstractWindCharge { }
Witch > Raider { }
WitherBoss > Monster { "Invul" as invul: i32 }
WitherSkeleton > AbstractSkeleton { }
WitherSkull > AbstractHurtingProjectile { "dangerous" as dangerous: bool }
Wolf > TamableAnimal { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128, "CollarColor" as collar_color: i8, optional "variant" as variant: CowStr }
Zoglin > Monster { optional "IsBaby" as is_baby: bool }
Zombie > Monster { "CanBreakDoors" as can_break_doors: bool, "DrownedConversionTime" as drowned_conversion_time: i32, "InWaterTime" as in_water_time: i32, "IsBaby" as is_baby: bool }
ZombieHorse > AbstractHorse { }
ZombieVillager > Zombie { optional "ConversionPlayer" as conversion_player: u128, "ConversionTime" as conversion_time: i32, optional "Gossips" as gossips: fastnbt::Value, optional "Offers" as offers: fastnbt::Value, optional "VillagerData" as villager_data: fastnbt::Value, "Xp" as xp: i32 }
ZombifiedPiglin > Zombie { "AngerTime" as anger_time: i32, optional "AngryAt" as angry_at: u128 }
}
entity_compound_types! {
"1.21.4";
ArmorStand_writePose { optional "Body" as body: Vec<f32>, optional "Head" as head: Vec<f32>, optional "LeftArm" as left_arm: Vec<f32>, optional "LeftLeg" as left_leg: Vec<f32>, optional "RightArm" as right_arm: Vec<f32>, optional "RightLeg" as right_leg: Vec<f32> }
AttributeInstance_save { "base" as base: f64, "id" as id: CowStr, optional "modifiers" as modifiers: Vec<HashMap<CowStr, fastnbt::Value>> }
}
}
/// Accompanying types for entities in Minecraft 1.21.5.
#[cfg(feature = "1.21.5")]
pub mod mc1_21_5 {
entities! {
"1.21.5", mc1_21_5;
"minecraft:acacia_boat", AcaciaBoat: Boat;
"minecraft:acacia_chest_boat", AcaciaChestBoat: ChestBoat;
"minecraft:allay", Allay: Allay;
"minecraft:area_effect_cloud", AreaEffectCloud: AreaEffectCloud;
"minecraft:armadillo", Armadillo: Armadillo;
"minecraft:armor_stand", ArmorStand: ArmorStand;
"minecraft:arrow", Arrow: Arrow;
"minecraft:axolotl", Axolotl: Axolotl;
"minecraft:bamboo_chest_raft", BambooChestRaft: ChestRaft;
"minecraft:bamboo_raft", BambooRaft: Raft;
"minecraft:bat", Bat: Bat;
"minecraft:bee", Bee: Bee;
"minecraft:birch_boat", BirchBoat: Boat;
"minecraft:birch_chest_boat", BirchChestBoat: ChestBoat;
"minecraft:blaze", Blaze: Blaze;
"minecraft:block_display", BlockDisplay: BlockDisplay;
"minecraft:bogged", Bogged: Bogged;
"minecraft:breeze", Breeze: Breeze;
"minecraft:breeze_wind_charge", BreezeWindCharge: BreezeWindCharge;
"minecraft:camel", Camel: Camel;
"minecraft:cat", Cat: Cat;
"minecraft:cave_spider", CaveSpider: CaveSpider;
"minecraft:cherry_boat", CherryBoat: Boat;
"minecraft:cherry_chest_boat", CherryChestBoat: ChestBoat;
"minecraft:chest_minecart", ChestMinecart: MinecartChest;
"minecraft:chicken", Chicken: Chicken;
"minecraft:cod", Cod: Cod;
"minecraft:command_block_minecart", CommandBlockMinecart: MinecartCommandBlock;
"minecraft:cow", Cow: Cow;
"minecraft:creaking", Creaking: Creaking;
"minecraft:creeper", Creeper: Creeper;
"minecraft:dark_oak_boat", DarkOakBoat: Boat;
"minecraft:dark_oak_chest_boat", DarkOakChestBoat: ChestBoat;
"minecraft:dolphin", Dolphin: Dolphin;
"minecraft:donkey", Donkey: Donkey;
"minecraft:dragon_fireball", DragonFireball: DragonFireball;
"minecraft:drowned", Drowned: Drowned;
"minecraft:egg", Egg: ThrownEgg;
"minecraft:elder_guardian", ElderGuardian: ElderGuardian;
"minecraft:end_crystal", EndCrystal: EndCrystal;
"minecraft:ender_dragon", EnderDragon: EnderDragon;
"minecraft:ender_pearl", EnderPearl: ThrownEnderpearl;
"minecraft:enderman", Enderman: EnderMan;
"minecraft:endermite", Endermite: Endermite;
"minecraft:evoker", Evoker: Evoker;
"minecraft:evoker_fangs", EvokerFangs: EvokerFangs;
"minecraft:experience_bottle", ExperienceBottle: ThrownExperienceBottle;
"minecraft:experience_orb", ExperienceOrb: ExperienceOrb;
"minecraft:eye_of_ender", EyeOfEnder: EyeOfEnder;
"minecraft:falling_block", FallingBlock: FallingBlockEntity;
"minecraft:fireball", Fireball: LargeFireball;
"minecraft:firework_rocket", FireworkRocket: FireworkRocketEntity;
"minecraft:fishing_bobber", FishingBobber: FishingHook;
"minecraft:fox", Fox: Fox;
"minecraft:frog", Frog: Frog;
"minecraft:furnace_minecart", FurnaceMinecart: MinecartFurnace;
"minecraft:ghast", Ghast: Ghast;
"minecraft:giant", Giant: Giant;
"minecraft:glow_item_frame", GlowItemFrame: GlowItemFrame;
"minecraft:glow_squid", GlowSquid: GlowSquid;
"minecraft:goat", Goat: Goat;
"minecraft:guardian", Guardian: Guardian;
"minecraft:hoglin", Hoglin: Hoglin;
"minecraft:hopper_minecart", HopperMinecart: MinecartHopper;
"minecraft:horse", Horse: Horse;
"minecraft:husk", Husk: Husk;
"minecraft:illusioner", Illusioner: Illusioner;
"minecraft:interaction", Interaction: Interaction;
"minecraft:iron_golem", IronGolem: IronGolem;
"minecraft:item", Item: ItemEntity;
"minecraft:item_display", ItemDisplay: ItemDisplay;
"minecraft:item_frame", ItemFrame: ItemFrame;
"minecraft:jungle_boat", JungleBoat: Boat;
"minecraft:jungle_chest_boat", JungleChestBoat: ChestBoat;
"minecraft:leash_knot", LeashKnot: LeashFenceKnotEntity;
"minecraft:lightning_bolt", LightningBolt: LightningBolt;
"minecraft:lingering_potion", LingeringPotion: ThrownLingeringPotion;
"minecraft:llama", Llama: Llama;
"minecraft:llama_spit", LlamaSpit: LlamaSpit;
"minecraft:magma_cube", MagmaCube: MagmaCube;
"minecraft:mangrove_boat", MangroveBoat: Boat;
"minecraft:mangrove_chest_boat", MangroveChestBoat: ChestBoat;
"minecraft:marker", Marker: Marker;
"minecraft:minecart", Minecart: Minecart;
"minecraft:mooshroom", Mooshroom: MushroomCow;
"minecraft:mule", Mule: Mule;
"minecraft:oak_boat", OakBoat: Boat;
"minecraft:oak_chest_boat", OakChestBoat: ChestBoat;
"minecraft:ocelot", Ocelot: Ocelot;
"minecraft:ominous_item_spawner", OminousItemSpawner: OminousItemSpawner;
"minecraft:painting", Painting: Painting;
"minecraft:pale_oak_boat", PaleOakBoat: Boat;
"minecraft:pale_oak_chest_boat", PaleOakChestBoat: ChestBoat;
"minecraft:panda", Panda: Panda;
"minecraft:parrot", Parrot: Parrot;
"minecraft:phantom", Phantom: Phantom;
"minecraft:pig", Pig: Pig;
"minecraft:piglin", Piglin: Piglin;
"minecraft:piglin_brute", PiglinBrute: PiglinBrute;
"minecraft:pillager", Pillager: Pillager;
"minecraft:polar_bear", PolarBear: PolarBear;
"minecraft:pufferfish", Pufferfish: Pufferfish;
"minecraft:rabbit", Rabbit: Rabbit;
"minecraft:ravager", Ravager: Ravager;
"minecraft:salmon", Salmon: Salmon;
"minecraft:sheep", Sheep: Sheep;
"minecraft:shulker", Shulker: Shulker;
"minecraft:shulker_bullet", ShulkerBullet: ShulkerBullet;
"minecraft:silverfish", Silverfish: Silverfish;
"minecraft:skeleton", Skeleton: Skeleton;
"minecraft:skeleton_horse", SkeletonHorse: SkeletonHorse;
"minecraft:slime", Slime: Slime;
"minecraft:small_fireball", SmallFireball: SmallFireball;
"minecraft:sniffer", Sniffer: Sniffer;
"minecraft:snow_golem", SnowGolem: SnowGolem;
"minecraft:snowball", Snowball: Snowball;
"minecraft:spawner_minecart", SpawnerMinecart: MinecartSpawner;
"minecraft:spectral_arrow", SpectralArrow: SpectralArrow;
"minecraft:spider", Spider: Spider;
"minecraft:splash_potion", SplashPotion: ThrownSplashPotion;
"minecraft:spruce_boat", SpruceBoat: Boat;
"minecraft:spruce_chest_boat", SpruceChestBoat: ChestBoat;
"minecraft:squid", Squid: Squid;
"minecraft:stray", Stray: Stray;
"minecraft:strider", Strider: Strider;
"minecraft:tadpole", Tadpole: Tadpole;
"minecraft:text_display", TextDisplay: TextDisplay;
"minecraft:tnt", Tnt: PrimedTnt;
"minecraft:tnt_minecart", TntMinecart: MinecartTNT;
"minecraft:trader_llama", TraderLlama: TraderLlama;
"minecraft:trident", Trident: ThrownTrident;
"minecraft:tropical_fish", TropicalFish: TropicalFish;
"minecraft:turtle", Turtle: Turtle;
"minecraft:vex", Vex: Vex;
"minecraft:villager", Villager: Villager;
"minecraft:vindicator", Vindicator: Vindicator;
"minecraft:wandering_trader", WanderingTrader: WanderingTrader;
"minecraft:warden", Warden: Warden;
"minecraft:wind_charge", WindCharge: WindCharge;
"minecraft:witch", Witch: Witch;
"minecraft:wither", Wither: WitherBoss;
"minecraft:wither_skeleton", WitherSkeleton: WitherSkeleton;
"minecraft:wither_skull", WitherSkull: WitherSkull;
"minecraft:wolf", Wolf: Wolf;
"minecraft:zoglin", Zoglin: Zoglin;
"minecraft:zombie", Zombie: Zombie;
"minecraft:zombie_horse", ZombieHorse: ZombieHorse;
"minecraft:zombie_villager", ZombieVillager: ZombieVillager;
"minecraft:zombified_piglin", ZombifiedPiglin: ZombifiedPiglin;
}
entity_types! {
"1.21.5";
AbstractArrow > Projectile { "PierceLevel" as pierce_level: i8, "crit" as crit: bool, "damage" as damage: f64, "inGround" as in_ground: bool, "life" as life: i16, "shake" as shake: i8 }
AbstractBoat > VehicleEntity { }
AbstractChestBoat > AbstractBoat { optional "Items" as items: Vec<fastnbt::Value>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
AbstractChestedHorse > AbstractHorse { "ChestedHorse" as chested_horse: bool, optional "Items" as items: Vec<fastnbt::Value> }
AbstractCow > Animal { }
AbstractFish > WaterAnimal { "FromBucket" as from_bucket: bool }
AbstractGolem > PathfinderMob { }
AbstractHorse > Animal { "Bred" as bred: bool, "EatingHaystack" as eating_haystack: bool, "Tame" as tame: bool, "Temper" as temper: i32 }
AbstractHurtingProjectile > Projectile { "acceleration_power" as acceleration_power: f64 }
AbstractIllager > Raider { }
AbstractMinecart > VehicleEntity { optional "DisplayOffset" as display_offset: i32, "FlippedRotation" as flipped_rotation: bool, "HasTicked" as has_ticked: bool }
AbstractMinecartContainer > AbstractMinecart { optional "Items" as items: Vec<fastnbt::Value>, optional "LootTable" as loot_table: CowStr, optional "LootTableSeed" as loot_table_seed: i64 }
AbstractPiglin > Monster { "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
AbstractSchoolingFish > AbstractFish { }
AbstractSkeleton > Monster { }
AbstractThrownPotion > ThrowableItemProjectile { }
AbstractVillager > AgeableMob { "Inventory" as inventory: Vec<fastnbt::Value> }
AbstractWindCharge > AbstractHurtingProjectile { }
AgeableMob > PathfinderMob { "Age" as age: i32, "ForcedAge" as forced_age: i32 }
AgeableWaterCreature > AgeableMob { }
Allay > PathfinderMob { "DuplicationCooldown" as duplication_cooldown: i64, "Inventory" as inventory: Vec<fastnbt::Value> }
AmbientCreature > Mob { }
Animal > AgeableMob { "InLove" as in_love: i32 }
AreaEffectCloud > Entity { "Age" as age: i32, "Duration" as duration: i32, "DurationOnUse" as duration_on_use: i32, "Radius" as radius: f32, "RadiusOnUse" as radius_on_use: f32, "RadiusPerTick" as radius_per_tick: f32, "ReapplicationDelay" as reapplication_delay: i32, "WaitTime" as wait_time: i32, optional "potion_duration_scale" as potion_duration_scale: f32 }
Armadillo > Animal { "scute_time" as scute_time: i32 }
ArmorStand > LivingEntity { "DisabledSlots" as disabled_slots: i32, "Invisible" as invisible: bool, optional "Marker" as marker: bool, "NoBasePlate" as no_base_plate: bool, "Pose" as pose: HashMap<CowStr, fastnbt::Value>, "ShowArms" as show_arms: bool, "Small" as small: bool }
Arrow > AbstractArrow { }
Axolotl > Animal { "FromBucket" as from_bucket: bool }
Bat > AmbientCreature { "BatFlags" as bat_flags: i8 }
Bee > Animal { "AngerTime" as anger_time: i32, "CannotEnterHiveTicks" as cannot_enter_hive_ticks: i32, "CropsGrownSincePollination" as crops_grown_since_pollination: i32, "HasNectar" as has_nectar: bool, "HasStung" as has_stung: bool, "TicksSincePollination" as ticks_since_pollination: i32 }
Blaze > Monster { }
BlockAttachedEntity > Entity { }
BlockDisplay > Display { }
Boat > AbstractBoat { }
Bogged > AbstractSkeleton { "sheared" as sheared: bool }
Breeze > Monster { }
BreezeWindCharge > AbstractWindCharge { }
Camel > AbstractHorse { "LastPoseTick" as last_pose_tick: i64 }
Cat > TamableAnimal { }
CaveSpider > Spider { }
ChestBoat > AbstractChestBoat { }
ChestRaft > AbstractChestBoat { }
Chicken > Animal { "EggLayTime" as egg_lay_time: i32, "IsChickenJockey" as is_chicken_jockey: bool }
Cod > AbstractSchoolingFish { }
Cow > AbstractCow { }
Creaking > Monster { }
Creeper > Monster { "ExplosionRadius" as explosion_radius: i8, "Fuse" as fuse: i16, "ignited" as ignited: bool, "powered" as powered: bool }
Display > Entity { "glow_color_override" as glow_color_override: i32, "height" as height: f32, "interpolation_duration" as interpolation_duration: i32, "shadow_radius" as shadow_radius: f32, "shadow_strength" as shadow_strength: f32, "teleport_duration" as teleport_duration: i32, "view_range" as view_range: f32, "width" as width: f32 }
Dolphin > AgeableWaterCreature { "GotFish" as got_fish: bool, "Moistness" as moistness: i32 }
Donkey > AbstractChestedHorse { }
DragonFireball > AbstractHurtingProjectile { }
Drowned > Zombie { }
ElderGuardian > Guardian { }
EndCrystal > Entity { "ShowBottom" as show_bottom: bool }
EnderDragon > Mob { "DragonDeathTime" as dragon_death_time: i32, "DragonPhase" as dragon_phase: i32 }
EnderMan > Monster { "AngerTime" as anger_time: i32 }
Endermite > Monster { "Lifetime" as lifetime: i32 }
Entity { "Air" as air: i16, optional "CustomNameVisible" as custom_name_visible: bool, "Fire" as fire: i16, optional "Glowing" as glowing: bool, optional "HasVisualFire" as has_visual_fire: bool, "Invulnerable" as invulnerable: bool, optional "NoGravity" as no_gravity: bool, "OnGround" as on_ground: bool, optional "Passengers" as passengers: Vec<Box<super::Entity>>, "PortalCooldown" as portal_cooldown: i32, optional "Silent" as silent: bool, optional "TicksFrozen" as ticks_frozen: i32, "fall_distance" as fall_distance: f64 }
Evoker > SpellcasterIllager { }
EvokerFangs > Entity { "Warmup" as warmup: i32 }
ExperienceOrb > Entity { "Age" as age: i16, "Count" as count: i32, "Health" as health: i16, "Value" as value: i16 }
EyeOfEnder > Entity { }
FallingBlockEntity > Entity { "CancelDrop" as cancel_drop: bool, "DropItem" as drop_item: bool, "FallHurtAmount" as fall_hurt_amount: f32, "FallHurtMax" as fall_hurt_max: i32, "HurtEntities" as hurt_entities: bool, optional "TileEntityData" as tile_entity_data: HashMap<CowStr, fastnbt::Value>, "Time" as time: i32 }
Fireball > AbstractHurtingProjectile { }
FireworkRocketEntity > Projectile { "Life" as life: i32, "LifeTime" as life_time: i32, "ShotAtAngle" as shot_at_angle: bool }
FishingHook > Projectile { }
FlyingMob > Mob { }
Fox > Animal { "Crouching" as crouching: bool, "Sitting" as sitting: bool, "Sleeping" as sleeping: bool }
Frog > Animal { }
Ghast > FlyingMob { "ExplosionPower" as explosion_power: i8 }
Giant > Monster { }
GlowItemFrame > ItemFrame { }
GlowSquid > Squid { "DarkTicksRemaining" as dark_ticks_remaining: i32 }
Goat > Animal { "HasLeftHorn" as has_left_horn: bool, "HasRightHorn" as has_right_horn: bool, "IsScreamingGoat" as is_screaming_goat: bool }
Guardian > Monster { }
HangingEntity > BlockAttachedEntity { }
Hoglin > Animal { "CannotBeHunted" as cannot_be_hunted: bool, "IsImmuneToZombification" as is_immune_to_zombification: bool, "TimeInOverworld" as time_in_overworld: i32 }
Horse > AbstractHorse { "Variant" as variant: i32 }
Husk > Zombie { }
Illusioner > SpellcasterIllager { }
Interaction > Entity { "height" as height: f32, "response" as response: bool, "width" as width: f32 }
IronGolem > AbstractGolem { "AngerTime" as anger_time: i32, "PlayerCreated" as player_created: bool }
ItemDisplay > Display { }
ItemEntity > Entity { "Age" as age: i16, "Health" as health: i16, "PickupDelay" as pickup_delay: i16 }
ItemFrame > HangingEntity { "Fixed" as fixed: bool, "Invisible" as invisible: bool, "ItemDropChance" as item_drop_chance: f32, "ItemRotation" as item_rotation: i8 }
LargeFireball > Fireball { "ExplosionPower" as explosion_power: i8 }
LeashFenceKnotEntity > BlockAttachedEntity { }
LightningBolt > Entity { }
LivingEntity > Entity { "AbsorptionAmount" as absorption_amount: f32, optional "Brain" as brain: fastnbt::Value, "DeathTime" as death_time: i16, "FallFlying" as fall_flying: bool, "Health" as health: f32, "HurtByTimestamp" as hurt_by_timestamp: i32, "HurtTime" as hurt_time: i16, "attributes" as attributes: Vec<super::compounds::AttributeInstance_save>, optional "last_hurt_by_player_memory_time" as last_hurt_by_player_memory_time: i32, optional "ticks_since_last_hurt_by_mob" as ticks_since_last_hurt_by_mob: i32 }
Llama > AbstractChestedHorse { "Strength" as strength: i32 }
LlamaSpit > Projectile { }
MagmaCube > Slime { }
Marker > Entity { }
Minecart > AbstractMinecart { }
MinecartChest > AbstractMinecartContainer { }
MinecartCommandBlock > AbstractMinecart { "Command" as command: CowStr, optional "LastExecution" as last_execution: i64, "SuccessCount" as success_count: i32, "TrackOutput" as track_output: bool, "UpdateLastExecution" as update_last_execution: bool }
MinecartFurnace > AbstractMinecart { "Fuel" as fuel: i16, "PushX" as push_x: f64, "PushZ" as push_z: f64 }
MinecartHopper > AbstractMinecartContainer { "Enabled" as enabled: bool }
MinecartSpawner > AbstractMinecart { "Delay" as delay: i16, "MaxNearbyEntities" as max_nearby_entities: i16, "MaxSpawnDelay" as max_spawn_delay: i16, "MinSpawnDelay" as min_spawn_delay: i16, "RequiredPlayerRange" as required_player_range: i16, "SpawnCount" as spawn_count: i16, "SpawnRange" as spawn_range: i16 }
MinecartTNT > AbstractMinecart { optional "explosion_power" as explosion_power: f32, optional "explosion_speed_factor" as explosion_speed_factor: f32, "fuse" as fuse: i32 }
Mob > LivingEntity { "CanPickUpLoot" as can_pick_up_loot: bool, optional "DeathLootTableSeed" as death_loot_table_seed: i64, "LeftHanded" as left_handed: bool, optional "NoAI" as no_ai: bool, "PersistenceRequired" as persistence_required: bool }
Monster > PathfinderMob { }
Mule > AbstractChestedHorse { }
MushroomCow > AbstractCow { }
Ocelot > Animal { "Trusting" as trusting: bool }
OminousItemSpawner > Entity { "spawn_item_after_ticks" as spawn_item_after_ticks: i64 }
Painting > HangingEntity { }
Panda > Animal { }
Parrot > ShoulderRidingEntity { }
PathfinderMob > Mob { }
PatrollingMonster > Monster { "PatrolLeader" as patrol_leader: bool, "Patrolling" as patrolling: bool }
Phantom > FlyingMob { "size" as size: i32 }
Pig > Animal { }
Piglin > AbstractPiglin { "CannotHunt" as cannot_hunt: bool, "Inventory" as inventory: Vec<fastnbt::Value>, "IsBaby" as is_baby: bool }
PiglinBrute > AbstractPiglin { }
Pillager > AbstractIllager { "Inventory" as inventory: Vec<fastnbt::Value> }
PolarBear > Animal { "AngerTime" as anger_time: i32 }
PrimedTnt > Entity { optional "explosion_power" as explosion_power: f32, "fuse" as fuse: i16 }
Projectile > Entity { "HasBeenShot" as has_been_shot: bool, optional "LeftOwner" as left_owner: bool }
Pufferfish > AbstractFish { "PuffState" as puff_state: i32 }
Rabbit > Animal { "MoreCarrotTicks" as more_carrot_ticks: i32 }
Raft > AbstractBoat { }
Raider > PatrollingMonster { "CanJoinRaid" as can_join_raid: bool, "Wave" as wave: i32 }
Ravager > Raider { "AttackTick" as attack_tick: i32, "RoarTick" as roar_tick: i32, "StunTick" as stun_tick: i32 }
Salmon > AbstractSchoolingFish { }
Sheep > Animal { "Sheared" as sheared: bool }
ShoulderRidingEntity > TamableAnimal { }
Shulker > AbstractGolem { "Color" as color: i8, "Peek" as peek: i8 }
ShulkerBullet > Projectile { "Steps" as steps: i32, "TXD" as txd: f64, "TYD" as tyd: f64, "TZD" as tzd: f64 }
Silverfish > Monster { }
Skeleton > AbstractSkeleton { "StrayConversionTime" as stray_conversion_time: i32 }
SkeletonHorse > AbstractHorse { "SkeletonTrap" as skeleton_trap: bool, "SkeletonTrapTime" as skeleton_trap_time: i32 }
Slime > Mob { "Size" as size: i32, "wasOnGround" as was_on_ground: bool }
SmallFireball > Fireball { }
Sniffer > Animal { }
SnowGolem > AbstractGolem { "Pumpkin" as pumpkin: bool }
Snowball > ThrowableItemProjectile { }
SpectralArrow > AbstractArrow { "Duration" as duration: i32 }
SpellcasterIllager > AbstractIllager { "SpellTicks" as spell_ticks: i32 }
Spider > Monster { }
Squid > AgeableWaterCreature { }
Stray > AbstractSkeleton { }
Strider > Animal { }
Tadpole > AbstractFish { "Age" as age: i32 }
TamableAnimal > Animal { "Sitting" as sitting: bool }
TextDisplay > Display { "background" as background: i32, "default_background" as default_background: bool, "line_width" as line_width: i32, "see_through" as see_through: bool, "shadow" as shadow: bool, "text_opacity" as text_opacity: i8 }
ThrowableItemProjectile > ThrowableProjectile { }
ThrowableProjectile > Projectile { }
ThrownEgg > ThrowableItemProjectile { }
ThrownEnderpearl > ThrowableItemProjectile { }
ThrownExperienceBottle > ThrowableItemProjectile { }
ThrownLingeringPotion > AbstractThrownPotion { }
ThrownSplashPotion > AbstractThrownPotion { }
ThrownTrident > AbstractArrow { "DealtDamage" as dealt_damage: bool }
TraderLlama > Llama { "DespawnDelay" as despawn_delay: i32 }
TropicalFish > AbstractSchoolingFish { }
Turtle > Animal { "has_egg" as has_egg: bool }
VehicleEntity > Entity { }
Vex > Monster { optional "life_ticks" as life_ticks: i32 }
Villager > AbstractVillager { optional "AssignProfessionWhenSpawned" as assign_profession_when_spawned: bool, "FoodLevel" as food_level: i8, "LastGossipDecay" as last_gossip_decay: i64, "LastRestock" as last_restock: i64, "RestocksToday" as restocks_today: i32, "Xp" as xp: i32 }
Vindicator > AbstractIllager { optional "Johnny" as johnny: bool }
WanderingTrader > AbstractVillager { "DespawnDelay" as despawn_delay: i32 }
Warden > Monster { }
WaterAnimal > PathfinderMob { }
WindCharge > AbstractWindCharge { }
Witch > Raider { }
WitherBoss > Monster { "Invul" as invul: i32 }
WitherSkeleton > AbstractSkeleton { }
WitherSkull > AbstractHurtingProjectile { "dangerous" as dangerous: bool }
Wolf > TamableAnimal { "AngerTime" as anger_time: i32 }
Zoglin > Monster { "IsBaby" as is_baby: bool }
Zombie > Monster { "CanBreakDoors" as can_break_doors: bool, "DrownedConversionTime" as drowned_conversion_time: i32, "InWaterTime" as in_water_time: i32, "IsBaby" as is_baby: bool }
ZombieHorse > AbstractHorse { }
ZombieVillager > Zombie { "ConversionTime" as conversion_time: i32, "Xp" as xp: i32 }
ZombifiedPiglin > Zombie { "AngerTime" as anger_time: i32 }
}
entity_compound_types! {
"1.21.5";
AttributeInstance_save { "base" as base: f64 }
}
}
/// Accompanying types for entities in Minecraft 1.21.6.
#[cfg(feature = "1.21.6")]
pub mod mc1_21_6 {
entities! {
"1.21.6", mc1_21_6;
"minecraft:acacia_boat", AcaciaBoat: Boat;
"minecraft:acacia_chest_boat", AcaciaChestBoat: ChestBoat;
"minecraft:allay", Allay: Allay;
"minecraft:area_effect_cloud", AreaEffectCloud: AreaEffectCloud;
"minecraft:armadillo", Armadillo: Armadillo;
"minecraft:armor_stand", ArmorStand: ArmorStand;
"minecraft:arrow", Arrow: Arrow;
"minecraft:axolotl", Axolotl: Axolotl;
"minecraft:bamboo_chest_raft", BambooChestRaft: ChestRaft;
"minecraft:bamboo_raft", BambooRaft: Raft;
"minecraft:bat", Bat: Bat;
"minecraft:bee", Bee: Bee;
"minecraft:birch_boat", BirchBoat: Boat;
"minecraft:birch_chest_boat", BirchChestBoat: ChestBoat;
"minecraft:blaze", Blaze: Blaze;
"minecraft:block_display", BlockDisplay: BlockDisplay;
"minecraft:bogged", Bogged: Bogged;
"minecraft:breeze", Breeze: Breeze;
"minecraft:breeze_wind_charge", BreezeWindCharge: BreezeWindCharge;
"minecraft:camel", Camel: Camel;
"minecraft:cat", Cat: Cat;
"minecraft:cave_spider", CaveSpider: CaveSpider;
"minecraft:cherry_boat", CherryBoat: Boat;
"minecraft:cherry_chest_boat", CherryChestBoat: ChestBoat;
"minecraft:chest_minecart", ChestMinecart: MinecartChest;
"minecraft:chicken", Chicken: Chicken;
"minecraft:cod", Cod: Cod;
"minecraft:command_block_minecart", CommandBlockMinecart: MinecartCommandBlock;
"minecraft:cow", Cow: Cow;
"minecraft:creaking", Creaking: Creaking;
"minecraft:creeper", Creeper: Creeper;
"minecraft:dark_oak_boat", DarkOakBoat: Boat;
"minecraft:dark_oak_chest_boat", DarkOakChestBoat: ChestBoat;
"minecraft:dolphin", Dolphin: Dolphin;
"minecraft:donkey", Donkey: Donkey;
"minecraft:dragon_fireball", DragonFireball: DragonFireball;
"minecraft:drowned", Drowned: Drowned;
"minecraft:egg", Egg: ThrownEgg;
"minecraft:elder_guardian", ElderGuardian: ElderGuardian;
"minecraft:end_crystal", EndCrystal: EndCrystal;
"minecraft:ender_dragon", EnderDragon: EnderDragon;
"minecraft:ender_pearl", EnderPearl: ThrownEnderpearl;
"minecraft:enderman", Enderman: EnderMan;
"minecraft:endermite", Endermite: Endermite;
"minecraft:evoker", Evoker: Evoker;
"minecraft:evoker_fangs", EvokerFangs: EvokerFangs;
"minecraft:experience_bottle", ExperienceBottle: ThrownExperienceBottle;
"minecraft:experience_orb", ExperienceOrb: ExperienceOrb;
"minecraft:eye_of_ender", EyeOfEnder: EyeOfEnder;
"minecraft:falling_block", FallingBlock: FallingBlockEntity;
"minecraft:fireball", Fireball: LargeFireball;
"minecraft:firework_rocket", FireworkRocket: FireworkRocketEntity;
"minecraft:fishing_bobber", FishingBobber: FishingHook;
"minecraft:fox", Fox: Fox;
"minecraft:frog", Frog: Frog;
"minecraft:furnace_minecart", FurnaceMinecart: MinecartFurnace;
"minecraft:ghast", Ghast: Ghast;
"minecraft:giant", Giant: Giant;
"minecraft:glow_item_frame", GlowItemFrame: GlowItemFrame;
"minecraft:glow_squid", GlowSquid: GlowSquid;
"minecraft:goat", Goat: Goat;
"minecraft:guardian", Guardian: Guardian;
"minecraft:happy_ghast", HappyGhast: HappyGhast;
"minecraft:hoglin", Hoglin: Hoglin;
"minecraft:hopper_minecart", HopperMinecart: MinecartHopper;
"minecraft:horse", Horse: Horse;
"minecraft:husk", Husk: Husk;
"minecraft:illusioner", Illusioner: Illusioner;
"minecraft:interaction", Interaction: Interaction;
"minecraft:iron_golem", IronGolem: IronGolem;
"minecraft:item", Item: ItemEntity;
"minecraft:item_display", ItemDisplay: ItemDisplay;
"minecraft:item_frame", ItemFrame: ItemFrame;
"minecraft:jungle_boat", JungleBoat: Boat;
"minecraft:jungle_chest_boat", JungleChestBoat: ChestBoat;
"minecraft:leash_knot", LeashKnot: LeashFenceKnotEntity;
"minecraft:lightning_bolt", LightningBolt: LightningBolt;
"minecraft:lingering_potion", LingeringPotion: ThrownLingeringPotion;
"minecraft:llama", Llama: Llama;
"minecraft:llama_spit", LlamaSpit: LlamaSpit;
"minecraft:magma_cube", MagmaCube: MagmaCube;
"minecraft:mangrove_boat", MangroveBoat: Boat;
"minecraft:mangrove_chest_boat", MangroveChestBoat: ChestBoat;
"minecraft:marker", Marker: Marker;
"minecraft:minecart", Minecart: Minecart;
"minecraft:mooshroom", Mooshroom: MushroomCow;
"minecraft:mule", Mule: Mule;
"minecraft:oak_boat", OakBoat: Boat;
"minecraft:oak_chest_boat", OakChestBoat: ChestBoat;
"minecraft:ocelot", Ocelot: Ocelot;
"minecraft:ominous_item_spawner", OminousItemSpawner: OminousItemSpawner;
"minecraft:painting", Painting: Painting;
"minecraft:pale_oak_boat", PaleOakBoat: Boat;
"minecraft:pale_oak_chest_boat", PaleOakChestBoat: ChestBoat;
"minecraft:panda", Panda: Panda;
"minecraft:parrot", Parrot: Parrot;
"minecraft:phantom", Phantom: Phantom;
"minecraft:pig", Pig: Pig;
"minecraft:piglin", Piglin: Piglin;
"minecraft:piglin_brute", PiglinBrute: PiglinBrute;
"minecraft:pillager", Pillager: Pillager;
"minecraft:polar_bear", PolarBear: PolarBear;
"minecraft:pufferfish", Pufferfish: Pufferfish;
"minecraft:rabbit", Rabbit: Rabbit;
"minecraft:ravager", Ravager: Ravager;
"minecraft:salmon", Salmon: Salmon;
"minecraft:sheep", Sheep: Sheep;
"minecraft:shulker", Shulker: Shulker;
"minecraft:shulker_bullet", ShulkerBullet: ShulkerBullet;
"minecraft:silverfish", Silverfish: Silverfish;
"minecraft:skeleton", Skeleton: Skeleton;
"minecraft:skeleton_horse", SkeletonHorse: SkeletonHorse;
"minecraft:slime", Slime: Slime;
"minecraft:small_fireball", SmallFireball: SmallFireball;
"minecraft:sniffer", Sniffer: Sniffer;
"minecraft:snow_golem", SnowGolem: SnowGolem;
"minecraft:snowball", Snowball: Snowball;
"minecraft:spawner_minecart", SpawnerMinecart: MinecartSpawner;
"minecraft:spectral_arrow", SpectralArrow: SpectralArrow;
"minecraft:spider", Spider: Spider;
"minecraft:splash_potion", SplashPotion: ThrownSplashPotion;
"minecraft:spruce_boat", SpruceBoat: Boat;
"minecraft:spruce_chest_boat", SpruceChestBoat: ChestBoat;
"minecraft:squid", Squid: Squid;
"minecraft:stray", Stray: Stray;
"minecraft:strider", Strider: Strider;
"minecraft:tadpole", Tadpole: Tadpole;
"minecraft:text_display", TextDisplay: TextDisplay;
"minecraft:tnt", Tnt: PrimedTnt;
"minecraft:tnt_minecart", TntMinecart: MinecartTNT;
"minecraft:trader_llama", TraderLlama: TraderLlama;
"minecraft:trident", Trident: ThrownTrident;
"minecraft:tropical_fish", TropicalFish: TropicalFish;
"minecraft:turtle", Turtle: Turtle;
"minecraft:vex", Vex: Vex;
"minecraft:villager", Villager: Villager;
"minecraft:vindicator", Vindicator: Vindicator;
"minecraft:wandering_trader", WanderingTrader: WanderingTrader;
"minecraft:warden", Warden: Warden;
"minecraft:wind_charge", WindCharge: WindCharge;
"minecraft:witch", Witch: Witch;
"minecraft:wither", Wither: WitherBoss;
"minecraft:wither_skeleton", WitherSkeleton: WitherSkeleton;
"minecraft:wither_skull", WitherSkull: WitherSkull;
"minecraft:wolf", Wolf: Wolf;
"minecraft:zoglin", Zoglin: Zoglin;
"minecraft:zombie", Zombie: Zombie;
"minecraft:zombie_horse", ZombieHorse: ZombieHorse;
"minecraft:zombie_villager", ZombieVillager: ZombieVillager;
"minecraft:zombified_piglin", ZombifiedPiglin: ZombifiedPiglin;
}
entity_types! {
"1.21.6";
AbstractArrow > Projectile { }
AbstractBoat > VehicleEntity { }
AbstractChestBoat > AbstractBoat { }
AbstractChestedHorse > AbstractHorse { }
AbstractCow > Animal { }
AbstractFish > WaterAnimal { }
AbstractGolem > PathfinderMob { }
AbstractHorse > Animal { }
AbstractHurtingProjectile > Projectile { }
AbstractIllager > Raider { }
AbstractMinecart > VehicleEntity { }
AbstractMinecartContainer > AbstractMinecart { }
AbstractPiglin > Monster { }
AbstractSchoolingFish > AbstractFish { }
AbstractSkeleton > Monster { }
AbstractThrownPotion > ThrowableItemProjectile { }
AbstractVillager > AgeableMob { }
AbstractWindCharge > AbstractHurtingProjectile { }
AgeableMob > PathfinderMob { }
AgeableWaterCreature > AgeableMob { }
Allay > PathfinderMob { }
AmbientCreature > Mob { }
Animal > AgeableMob { }
AreaEffectCloud > Entity { }
Armadillo > Animal { }
ArmorStand > LivingEntity { }
Arrow > AbstractArrow { }
Axolotl > Animal { }
Bat > AmbientCreature { }
Bee > Animal { }
Blaze > Monster { }
BlockAttachedEntity > Entity { }
BlockDisplay > Display { }
Boat > AbstractBoat { }
Bogged > AbstractSkeleton { }
Breeze > Monster { }
BreezeWindCharge > AbstractWindCharge { }
Camel > AbstractHorse { }
Cat > TamableAnimal { }
CaveSpider > Spider { }
ChestBoat > AbstractChestBoat { }
ChestRaft > AbstractChestBoat { }
Chicken > Animal { }
Cod > AbstractSchoolingFish { }
Cow > AbstractCow { }
Creaking > Monster { }
Creeper > Monster { }
Display > Entity { }
Dolphin > AgeableWaterCreature { }
Donkey > AbstractChestedHorse { }
DragonFireball > AbstractHurtingProjectile { }
Drowned > Zombie { }
ElderGuardian > Guardian { }
EndCrystal > Entity { }
EnderDragon > Mob { }
EnderMan > Monster { }
Endermite > Monster { }
Entity { }
Evoker > SpellcasterIllager { }
EvokerFangs > Entity { }
ExperienceOrb > Entity { }
EyeOfEnder > Entity { }
FallingBlockEntity > Entity { }
Fireball > AbstractHurtingProjectile { }
FireworkRocketEntity > Projectile { }
FishingHook > Projectile { }
Fox > Animal { }
Frog > Animal { }
Ghast > Mob { }
Giant > Monster { }
GlowItemFrame > ItemFrame { }
GlowSquid > Squid { }
Goat > Animal { }
Guardian > Monster { }
HangingEntity > BlockAttachedEntity { }
HappyGhast > Animal { }
Hoglin > Animal { }
Horse > AbstractHorse { }
Husk > Zombie { }
Illusioner > SpellcasterIllager { }
Interaction > Entity { }
IronGolem > AbstractGolem { }
ItemDisplay > Display { }
ItemEntity > Entity { }
ItemFrame > HangingEntity { }
LargeFireball > Fireball { }
LeashFenceKnotEntity > BlockAttachedEntity { }
LightningBolt > Entity { }
LivingEntity > Entity { }
Llama > AbstractChestedHorse { }
LlamaSpit > Projectile { }
MagmaCube > Slime { }
Marker > Entity { }
Minecart > AbstractMinecart { }
MinecartChest > AbstractMinecartContainer { }
MinecartCommandBlock > AbstractMinecart { }
MinecartFurnace > AbstractMinecart { }
MinecartHopper > AbstractMinecartContainer { }
MinecartSpawner > AbstractMinecart { }
MinecartTNT > AbstractMinecart { }
Mob > LivingEntity { }
Monster > PathfinderMob { }
Mule > AbstractChestedHorse { }
MushroomCow > AbstractCow { }
Ocelot > Animal { }
OminousItemSpawner > Entity { }
Painting > HangingEntity { }
Panda > Animal { }
Parrot > ShoulderRidingEntity { }
PathfinderMob > Mob { }
PatrollingMonster > Monster { }
Phantom > Mob { }
Pig > Animal { }
Piglin > AbstractPiglin { }
PiglinBrute > AbstractPiglin { }
Pillager > AbstractIllager { }
PolarBear > Animal { }
PrimedTnt > Entity { }
Projectile > Entity { }
Pufferfish > AbstractFish { }
Rabbit > Animal { }
Raft > AbstractBoat { }
Raider > PatrollingMonster { }
Ravager > Raider { }
Salmon > AbstractSchoolingFish { }
Sheep > Animal { }
ShoulderRidingEntity > TamableAnimal { }
Shulker > AbstractGolem { }
ShulkerBullet > Projectile { }
Silverfish > Monster { }
Skeleton > AbstractSkeleton { }
SkeletonHorse > AbstractHorse { }
Slime > Mob { }
SmallFireball > Fireball { }
Sniffer > Animal { }
SnowGolem > AbstractGolem { }
Snowball > ThrowableItemProjectile { }
SpectralArrow > AbstractArrow { }
SpellcasterIllager > AbstractIllager { }
Spider > Monster { }
Squid > AgeableWaterCreature { }
Stray > AbstractSkeleton { }
Strider > Animal { }
Tadpole > AbstractFish { }
TamableAnimal > Animal { }
TextDisplay > Display { }
ThrowableItemProjectile > ThrowableProjectile { }
ThrowableProjectile > Projectile { }
ThrownEgg > ThrowableItemProjectile { }
ThrownEnderpearl > ThrowableItemProjectile { }
ThrownExperienceBottle > ThrowableItemProjectile { }
ThrownLingeringPotion > AbstractThrownPotion { }
ThrownSplashPotion > AbstractThrownPotion { }
ThrownTrident > AbstractArrow { }
TraderLlama > Llama { }
TropicalFish > AbstractSchoolingFish { }
Turtle > Animal { }
VehicleEntity > Entity { }
Vex > Monster { }
Villager > AbstractVillager { }
Vindicator > AbstractIllager { }
WanderingTrader > AbstractVillager { }
Warden > Monster { }
WaterAnimal > PathfinderMob { }
WindCharge > AbstractWindCharge { }
Witch > Raider { }
WitherBoss > Monster { }
WitherSkeleton > AbstractSkeleton { }
WitherSkull > AbstractHurtingProjectile { }
Wolf > TamableAnimal { }
Zoglin > Monster { }
Zombie > Monster { }
ZombieHorse > AbstractHorse { }
ZombieVillager > Zombie { }
ZombifiedPiglin > Zombie { }
}
entity_compound_types! {
"1.21.6";
}
}
/// Accompanying types for entities in Minecraft 1.21.7.
#[cfg(feature = "1.21.7")]
pub mod mc1_21_7 {
entities! {
"1.21.7", mc1_21_7;
"minecraft:acacia_boat", AcaciaBoat: Boat;
"minecraft:acacia_chest_boat", AcaciaChestBoat: ChestBoat;
"minecraft:allay", Allay: Allay;
"minecraft:area_effect_cloud", AreaEffectCloud: AreaEffectCloud;
"minecraft:armadillo", Armadillo: Armadillo;
"minecraft:armor_stand", ArmorStand: ArmorStand;
"minecraft:arrow", Arrow: Arrow;
"minecraft:axolotl", Axolotl: Axolotl;
"minecraft:bamboo_chest_raft", BambooChestRaft: ChestRaft;
"minecraft:bamboo_raft", BambooRaft: Raft;
"minecraft:bat", Bat: Bat;
"minecraft:bee", Bee: Bee;
"minecraft:birch_boat", BirchBoat: Boat;
"minecraft:birch_chest_boat", BirchChestBoat: ChestBoat;
"minecraft:blaze", Blaze: Blaze;
"minecraft:block_display", BlockDisplay: BlockDisplay;
"minecraft:bogged", Bogged: Bogged;
"minecraft:breeze", Breeze: Breeze;
"minecraft:breeze_wind_charge", BreezeWindCharge: BreezeWindCharge;
"minecraft:camel", Camel: Camel;
"minecraft:cat", Cat: Cat;
"minecraft:cave_spider", CaveSpider: CaveSpider;
"minecraft:cherry_boat", CherryBoat: Boat;
"minecraft:cherry_chest_boat", CherryChestBoat: ChestBoat;
"minecraft:chest_minecart", ChestMinecart: MinecartChest;
"minecraft:chicken", Chicken: Chicken;
"minecraft:cod", Cod: Cod;
"minecraft:command_block_minecart", CommandBlockMinecart: MinecartCommandBlock;
"minecraft:cow", Cow: Cow;
"minecraft:creaking", Creaking: Creaking;
"minecraft:creeper", Creeper: Creeper;
"minecraft:dark_oak_boat", DarkOakBoat: Boat;
"minecraft:dark_oak_chest_boat", DarkOakChestBoat: ChestBoat;
"minecraft:dolphin", Dolphin: Dolphin;
"minecraft:donkey", Donkey: Donkey;
"minecraft:dragon_fireball", DragonFireball: DragonFireball;
"minecraft:drowned", Drowned: Drowned;
"minecraft:egg", Egg: ThrownEgg;
"minecraft:elder_guardian", ElderGuardian: ElderGuardian;
"minecraft:end_crystal", EndCrystal: EndCrystal;
"minecraft:ender_dragon", EnderDragon: EnderDragon;
"minecraft:ender_pearl", EnderPearl: ThrownEnderpearl;
"minecraft:enderman", Enderman: EnderMan;
"minecraft:endermite", Endermite: Endermite;
"minecraft:evoker", Evoker: Evoker;
"minecraft:evoker_fangs", EvokerFangs: EvokerFangs;
"minecraft:experience_bottle", ExperienceBottle: ThrownExperienceBottle;
"minecraft:experience_orb", ExperienceOrb: ExperienceOrb;
"minecraft:eye_of_ender", EyeOfEnder: EyeOfEnder;
"minecraft:falling_block", FallingBlock: FallingBlockEntity;
"minecraft:fireball", Fireball: LargeFireball;
"minecraft:firework_rocket", FireworkRocket: FireworkRocketEntity;
"minecraft:fishing_bobber", FishingBobber: FishingHook;
"minecraft:fox", Fox: Fox;
"minecraft:frog", Frog: Frog;
"minecraft:furnace_minecart", FurnaceMinecart: MinecartFurnace;
"minecraft:ghast", Ghast: Ghast;
"minecraft:giant", Giant: Giant;
"minecraft:glow_item_frame", GlowItemFrame: GlowItemFrame;
"minecraft:glow_squid", GlowSquid: GlowSquid;
"minecraft:goat", Goat: Goat;
"minecraft:guardian", Guardian: Guardian;
"minecraft:happy_ghast", HappyGhast: HappyGhast;
"minecraft:hoglin", Hoglin: Hoglin;
"minecraft:hopper_minecart", HopperMinecart: MinecartHopper;
"minecraft:horse", Horse: Horse;
"minecraft:husk", Husk: Husk;
"minecraft:illusioner", Illusioner: Illusioner;
"minecraft:interaction", Interaction: Interaction;
"minecraft:iron_golem", IronGolem: IronGolem;
"minecraft:item", Item: ItemEntity;
"minecraft:item_display", ItemDisplay: ItemDisplay;
"minecraft:item_frame", ItemFrame: ItemFrame;
"minecraft:jungle_boat", JungleBoat: Boat;
"minecraft:jungle_chest_boat", JungleChestBoat: ChestBoat;
"minecraft:leash_knot", LeashKnot: LeashFenceKnotEntity;
"minecraft:lightning_bolt", LightningBolt: LightningBolt;
"minecraft:lingering_potion", LingeringPotion: ThrownLingeringPotion;
"minecraft:llama", Llama: Llama;
"minecraft:llama_spit", LlamaSpit: LlamaSpit;
"minecraft:magma_cube", MagmaCube: MagmaCube;
"minecraft:mangrove_boat", MangroveBoat: Boat;
"minecraft:mangrove_chest_boat", MangroveChestBoat: ChestBoat;
"minecraft:marker", Marker: Marker;
"minecraft:minecart", Minecart: Minecart;
"minecraft:mooshroom", Mooshroom: MushroomCow;
"minecraft:mule", Mule: Mule;
"minecraft:oak_boat", OakBoat: Boat;
"minecraft:oak_chest_boat", OakChestBoat: ChestBoat;
"minecraft:ocelot", Ocelot: Ocelot;
"minecraft:ominous_item_spawner", OminousItemSpawner: OminousItemSpawner;
"minecraft:painting", Painting: Painting;
"minecraft:pale_oak_boat", PaleOakBoat: Boat;
"minecraft:pale_oak_chest_boat", PaleOakChestBoat: ChestBoat;
"minecraft:panda", Panda: Panda;
"minecraft:parrot", Parrot: Parrot;
"minecraft:phantom", Phantom: Phantom;
"minecraft:pig", Pig: Pig;
"minecraft:piglin", Piglin: Piglin;
"minecraft:piglin_brute", PiglinBrute: PiglinBrute;
"minecraft:pillager", Pillager: Pillager;
"minecraft:polar_bear", PolarBear: PolarBear;
"minecraft:pufferfish", Pufferfish: Pufferfish;
"minecraft:rabbit", Rabbit: Rabbit;
"minecraft:ravager", Ravager: Ravager;
"minecraft:salmon", Salmon: Salmon;
"minecraft:sheep", Sheep: Sheep;
"minecraft:shulker", Shulker: Shulker;
"minecraft:shulker_bullet", ShulkerBullet: ShulkerBullet;
"minecraft:silverfish", Silverfish: Silverfish;
"minecraft:skeleton", Skeleton: Skeleton;
"minecraft:skeleton_horse", SkeletonHorse: SkeletonHorse;
"minecraft:slime", Slime: Slime;
"minecraft:small_fireball", SmallFireball: SmallFireball;
"minecraft:sniffer", Sniffer: Sniffer;
"minecraft:snow_golem", SnowGolem: SnowGolem;
"minecraft:snowball", Snowball: Snowball;
"minecraft:spawner_minecart", SpawnerMinecart: MinecartSpawner;
"minecraft:spectral_arrow", SpectralArrow: SpectralArrow;
"minecraft:spider", Spider: Spider;
"minecraft:splash_potion", SplashPotion: ThrownSplashPotion;
"minecraft:spruce_boat", SpruceBoat: Boat;
"minecraft:spruce_chest_boat", SpruceChestBoat: ChestBoat;
"minecraft:squid", Squid: Squid;
"minecraft:stray", Stray: Stray;
"minecraft:strider", Strider: Strider;
"minecraft:tadpole", Tadpole: Tadpole;
"minecraft:text_display", TextDisplay: TextDisplay;
"minecraft:tnt", Tnt: PrimedTnt;
"minecraft:tnt_minecart", TntMinecart: MinecartTNT;
"minecraft:trader_llama", TraderLlama: TraderLlama;
"minecraft:trident", Trident: ThrownTrident;
"minecraft:tropical_fish", TropicalFish: TropicalFish;
"minecraft:turtle", Turtle: Turtle;
"minecraft:vex", Vex: Vex;
"minecraft:villager", Villager: Villager;
"minecraft:vindicator", Vindicator: Vindicator;
"minecraft:wandering_trader", WanderingTrader: WanderingTrader;
"minecraft:warden", Warden: Warden;
"minecraft:wind_charge", WindCharge: WindCharge;
"minecraft:witch", Witch: Witch;
"minecraft:wither", Wither: WitherBoss;
"minecraft:wither_skeleton", WitherSkeleton: WitherSkeleton;
"minecraft:wither_skull", WitherSkull: WitherSkull;
"minecraft:wolf", Wolf: Wolf;
"minecraft:zoglin", Zoglin: Zoglin;
"minecraft:zombie", Zombie: Zombie;
"minecraft:zombie_horse", ZombieHorse: ZombieHorse;
"minecraft:zombie_villager", ZombieVillager: ZombieVillager;
"minecraft:zombified_piglin", ZombifiedPiglin: ZombifiedPiglin;
}
entity_types! {
"1.21.7";
AbstractArrow > Projectile { }
AbstractBoat > VehicleEntity { }
AbstractChestBoat > AbstractBoat { }
AbstractChestedHorse > AbstractHorse { }
AbstractCow > Animal { }
AbstractFish > WaterAnimal { }
AbstractGolem > PathfinderMob { }
AbstractHorse > Animal { }
AbstractHurtingProjectile > Projectile { }
AbstractIllager > Raider { }
AbstractMinecart > VehicleEntity { }
AbstractMinecartContainer > AbstractMinecart { }
AbstractPiglin > Monster { }
AbstractSchoolingFish > AbstractFish { }
AbstractSkeleton > Monster { }
AbstractThrownPotion > ThrowableItemProjectile { }
AbstractVillager > AgeableMob { }
AbstractWindCharge > AbstractHurtingProjectile { }
AgeableMob > PathfinderMob { }
AgeableWaterCreature > AgeableMob { }
Allay > PathfinderMob { }
AmbientCreature > Mob { }
Animal > AgeableMob { }
AreaEffectCloud > Entity { }
Armadillo > Animal { }
ArmorStand > LivingEntity { }
Arrow > AbstractArrow { }
Axolotl > Animal { }
Bat > AmbientCreature { }
Bee > Animal { }
Blaze > Monster { }
BlockAttachedEntity > Entity { }
BlockDisplay > Display { }
Boat > AbstractBoat { }
Bogged > AbstractSkeleton { }
Breeze > Monster { }
BreezeWindCharge > AbstractWindCharge { }
Camel > AbstractHorse { }
Cat > TamableAnimal { }
CaveSpider > Spider { }
ChestBoat > AbstractChestBoat { }
ChestRaft > AbstractChestBoat { }
Chicken > Animal { }
Cod > AbstractSchoolingFish { }
Cow > AbstractCow { }
Creaking > Monster { }
Creeper > Monster { }
Display > Entity { }
Dolphin > AgeableWaterCreature { }
Donkey > AbstractChestedHorse { }
DragonFireball > AbstractHurtingProjectile { }
Drowned > Zombie { }
ElderGuardian > Guardian { }
EndCrystal > Entity { }
EnderDragon > Mob { }
EnderMan > Monster { }
Endermite > Monster { }
Entity { }
Evoker > SpellcasterIllager { }
EvokerFangs > Entity { }
ExperienceOrb > Entity { }
EyeOfEnder > Entity { }
FallingBlockEntity > Entity { }
Fireball > AbstractHurtingProjectile { }
FireworkRocketEntity > Projectile { }
FishingHook > Projectile { }
Fox > Animal { }
Frog > Animal { }
Ghast > Mob { }
Giant > Monster { }
GlowItemFrame > ItemFrame { }
GlowSquid > Squid { }
Goat > Animal { }
Guardian > Monster { }
HangingEntity > BlockAttachedEntity { }
HappyGhast > Animal { }
Hoglin > Animal { }
Horse > AbstractHorse { }
Husk > Zombie { }
Illusioner > SpellcasterIllager { }
Interaction > Entity { }
IronGolem > AbstractGolem { }
ItemDisplay > Display { }
ItemEntity > Entity { }
ItemFrame > HangingEntity { }
LargeFireball > Fireball { }
LeashFenceKnotEntity > BlockAttachedEntity { }
LightningBolt > Entity { }
LivingEntity > Entity { }
Llama > AbstractChestedHorse { }
LlamaSpit > Projectile { }
MagmaCube > Slime { }
Marker > Entity { }
Minecart > AbstractMinecart { }
MinecartChest > AbstractMinecartContainer { }
MinecartCommandBlock > AbstractMinecart { }
MinecartFurnace > AbstractMinecart { }
MinecartHopper > AbstractMinecartContainer { }
MinecartSpawner > AbstractMinecart { }
MinecartTNT > AbstractMinecart { }
Mob > LivingEntity { }
Monster > PathfinderMob { }
Mule > AbstractChestedHorse { }
MushroomCow > AbstractCow { }
Ocelot > Animal { }
OminousItemSpawner > Entity { }
Painting > HangingEntity { }
Panda > Animal { }
Parrot > ShoulderRidingEntity { }
PathfinderMob > Mob { }
PatrollingMonster > Monster { }
Phantom > Mob { }
Pig > Animal { }
Piglin > AbstractPiglin { }
PiglinBrute > AbstractPiglin { }
Pillager > AbstractIllager { }
PolarBear > Animal { }
PrimedTnt > Entity { }
Projectile > Entity { }
Pufferfish > AbstractFish { }
Rabbit > Animal { }
Raft > AbstractBoat { }
Raider > PatrollingMonster { }
Ravager > Raider { }
Salmon > AbstractSchoolingFish { }
Sheep > Animal { }
ShoulderRidingEntity > TamableAnimal { }
Shulker > AbstractGolem { }
ShulkerBullet > Projectile { }
Silverfish > Monster { }
Skeleton > AbstractSkeleton { }
SkeletonHorse > AbstractHorse { }
Slime > Mob { }
SmallFireball > Fireball { }
Sniffer > Animal { }
SnowGolem > AbstractGolem { }
Snowball > ThrowableItemProjectile { }
SpectralArrow > AbstractArrow { }
SpellcasterIllager > AbstractIllager { }
Spider > Monster { }
Squid > AgeableWaterCreature { }
Stray > AbstractSkeleton { }
Strider > Animal { }
Tadpole > AbstractFish { }
TamableAnimal > Animal { }
TextDisplay > Display { }
ThrowableItemProjectile > ThrowableProjectile { }
ThrowableProjectile > Projectile { }
ThrownEgg > ThrowableItemProjectile { }
ThrownEnderpearl > ThrowableItemProjectile { }
ThrownExperienceBottle > ThrowableItemProjectile { }
ThrownLingeringPotion > AbstractThrownPotion { }
ThrownSplashPotion > AbstractThrownPotion { }
ThrownTrident > AbstractArrow { }
TraderLlama > Llama { }
TropicalFish > AbstractSchoolingFish { }
Turtle > Animal { }
VehicleEntity > Entity { }
Vex > Monster { }
Villager > AbstractVillager { }
Vindicator > AbstractIllager { }
WanderingTrader > AbstractVillager { }
Warden > Monster { }
WaterAnimal > PathfinderMob { }
WindCharge > AbstractWindCharge { }
Witch > Raider { }
WitherBoss > Monster { }
WitherSkeleton > AbstractSkeleton { }
WitherSkull > AbstractHurtingProjectile { }
Wolf > TamableAnimal { }
Zoglin > Monster { }
Zombie > Monster { }
ZombieHorse > AbstractHorse { }
ZombieVillager > Zombie { }
ZombifiedPiglin > Zombie { }
}
entity_compound_types! {
"1.21.7";
}
}