2020-03-26 15:01:42 +08:00
|
|
|
namespace MinecraftClient.Mapping
|
|
|
|
|
{
|
2020-07-29 21:35:00 +02:00
|
|
|
/// <summary>
|
|
|
|
|
/// Represents Minecraft Entity Types
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <remarks>
|
|
|
|
|
/// Generated from registries.json using EntityPaletteGenerator.cs.
|
|
|
|
|
/// Typical steps to handle new entity IDs for newer Minecraft versions:
|
|
|
|
|
/// 1. Generate registries.json using data reporting on Vanilla Minecraft (https://wiki.vg/Data_Generators)
|
|
|
|
|
/// 2. Generate temporary EntityTypeXXX.cs and EntityPaletteXXX.cs using EntityPaletteGenerator.cs
|
|
|
|
|
/// 3. Perform a diff with existing versions, add missing entries in EntityType.cs and EntityTypeExtensions.cs
|
|
|
|
|
/// 4. If existing entity IDs were not randomized by Mojang, simply add missing entries to the latest existing EntityPaletteXXX.cs
|
|
|
|
|
/// 5. If existing entity IDs were randomized, add a new palette as EntityPaletteXXX.cs into the codebase (worst case)
|
2020-07-27 12:51:48 +02:00
|
|
|
/// </remarks>
|
2020-03-26 15:01:42 +08:00
|
|
|
public enum EntityType
|
|
|
|
|
{
|
2020-05-24 18:21:22 +02:00
|
|
|
AreaEffectCloud,
|
|
|
|
|
ArmorStand,
|
|
|
|
|
Arrow,
|
2022-02-13 01:10:10 +01:00
|
|
|
Axolotl,
|
2020-05-24 18:21:22 +02:00
|
|
|
Bat,
|
|
|
|
|
Bee,
|
|
|
|
|
Blaze,
|
|
|
|
|
Boat,
|
|
|
|
|
Cat,
|
|
|
|
|
CaveSpider,
|
|
|
|
|
Chicken,
|
|
|
|
|
Cod,
|
|
|
|
|
Cow,
|
|
|
|
|
Creeper,
|
|
|
|
|
Dolphin,
|
2020-07-27 12:43:32 +02:00
|
|
|
Donkey,
|
2020-05-24 18:21:22 +02:00
|
|
|
DragonFireball,
|
|
|
|
|
Drowned,
|
|
|
|
|
ElderGuardian,
|
|
|
|
|
EndCrystal,
|
|
|
|
|
EnderDragon,
|
|
|
|
|
Enderman,
|
|
|
|
|
Endermite,
|
|
|
|
|
Evoker,
|
2020-07-27 12:43:32 +02:00
|
|
|
EvokerFangs,
|
2020-05-24 18:21:22 +02:00
|
|
|
ExperienceOrb,
|
|
|
|
|
EyeOfEnder,
|
|
|
|
|
FallingBlock,
|
|
|
|
|
FireworkRocket,
|
|
|
|
|
Fox,
|
|
|
|
|
Ghast,
|
|
|
|
|
Giant,
|
2022-02-13 01:10:10 +01:00
|
|
|
GlowItemFrame,
|
|
|
|
|
GlowSquid,
|
|
|
|
|
Goat,
|
2020-05-24 18:21:22 +02:00
|
|
|
Guardian,
|
2020-07-27 12:43:32 +02:00
|
|
|
Hoglin,
|
2020-05-24 18:21:22 +02:00
|
|
|
Horse,
|
|
|
|
|
Husk,
|
|
|
|
|
Illusioner,
|
2020-07-27 12:43:32 +02:00
|
|
|
IronGolem,
|
2020-05-24 18:21:22 +02:00
|
|
|
Item,
|
|
|
|
|
ItemFrame,
|
2022-02-13 01:10:10 +01:00
|
|
|
Fireball,
|
2020-05-24 18:21:22 +02:00
|
|
|
LeashKnot,
|
2020-07-27 12:43:32 +02:00
|
|
|
LightningBolt,
|
2020-05-24 18:21:22 +02:00
|
|
|
Llama,
|
|
|
|
|
LlamaSpit,
|
|
|
|
|
MagmaCube,
|
2022-02-13 01:10:10 +01:00
|
|
|
Marker,
|
2020-05-24 18:21:22 +02:00
|
|
|
Minecart,
|
2022-02-13 01:10:10 +01:00
|
|
|
ChestMinecart,
|
|
|
|
|
CommandBlockMinecart,
|
|
|
|
|
FurnaceMinecart,
|
|
|
|
|
HopperMinecart,
|
|
|
|
|
SpawnerMinecart,
|
|
|
|
|
TntMinecart,
|
2020-08-17 23:08:50 +08:00
|
|
|
Mule,
|
2022-02-13 01:10:10 +01:00
|
|
|
Mooshroom,
|
2020-05-24 18:21:22 +02:00
|
|
|
Ocelot,
|
|
|
|
|
Painting,
|
|
|
|
|
Panda,
|
|
|
|
|
Parrot,
|
2020-07-27 12:43:32 +02:00
|
|
|
Phantom,
|
2020-05-24 18:21:22 +02:00
|
|
|
Pig,
|
2020-07-27 12:43:32 +02:00
|
|
|
Piglin,
|
2020-08-17 23:08:50 +08:00
|
|
|
PiglinBrute,
|
2020-07-27 12:43:32 +02:00
|
|
|
Pillager,
|
2020-05-24 18:21:22 +02:00
|
|
|
PolarBear,
|
2022-02-13 01:10:10 +01:00
|
|
|
Tnt,
|
2020-07-27 12:43:32 +02:00
|
|
|
Pufferfish,
|
2020-05-24 18:21:22 +02:00
|
|
|
Rabbit,
|
2020-07-27 12:43:32 +02:00
|
|
|
Ravager,
|
2020-05-24 18:21:22 +02:00
|
|
|
Salmon,
|
|
|
|
|
Sheep,
|
|
|
|
|
Shulker,
|
|
|
|
|
ShulkerBullet,
|
|
|
|
|
Silverfish,
|
|
|
|
|
Skeleton,
|
|
|
|
|
SkeletonHorse,
|
|
|
|
|
Slime,
|
|
|
|
|
SmallFireball,
|
2020-08-17 23:08:50 +08:00
|
|
|
SnowGolem,
|
2022-02-13 01:10:10 +01:00
|
|
|
Snowball,
|
2020-05-24 18:21:22 +02:00
|
|
|
SpectralArrow,
|
|
|
|
|
Spider,
|
|
|
|
|
Squid,
|
|
|
|
|
Stray,
|
2020-07-27 12:43:32 +02:00
|
|
|
Strider,
|
2022-02-13 01:10:10 +01:00
|
|
|
Egg,
|
|
|
|
|
EnderPearl,
|
|
|
|
|
ExperienceBottle,
|
|
|
|
|
Potion,
|
2020-08-17 23:08:50 +08:00
|
|
|
Trident,
|
2022-02-13 01:10:10 +01:00
|
|
|
TraderLlama,
|
2020-07-27 12:43:32 +02:00
|
|
|
TropicalFish,
|
|
|
|
|
Turtle,
|
2020-05-24 18:21:22 +02:00
|
|
|
Vex,
|
|
|
|
|
Villager,
|
|
|
|
|
Vindicator,
|
|
|
|
|
WanderingTrader,
|
|
|
|
|
Witch,
|
|
|
|
|
Wither,
|
|
|
|
|
WitherSkeleton,
|
|
|
|
|
WitherSkull,
|
|
|
|
|
Wolf,
|
2020-07-27 12:43:32 +02:00
|
|
|
Zoglin,
|
2020-05-24 18:21:22 +02:00
|
|
|
Zombie,
|
|
|
|
|
ZombieHorse,
|
2020-08-17 23:08:50 +08:00
|
|
|
ZombieVillager,
|
|
|
|
|
ZombifiedPiglin,
|
2022-02-13 01:10:10 +01:00
|
|
|
Player,
|
|
|
|
|
FishingBobber,
|
2020-03-26 15:01:42 +08:00
|
|
|
}
|
|
|
|
|
}
|