1285 lines
25 KiB
Go
1285 lines
25 KiB
Go
// Code generated by gen_entity.go DO NOT EDIT.
|
|
// Package entity stores information about entities in Minecraft.
|
|
package entity
|
|
|
|
// ID describes the numeric ID of an entity.
|
|
type ID uint32
|
|
|
|
// Entity describes information about a type of entity.
|
|
type Entity struct {
|
|
ID ID
|
|
InternalID uint32
|
|
DisplayName string
|
|
Name string
|
|
Width float64
|
|
Height float64
|
|
Type string
|
|
}
|
|
|
|
var (
|
|
Allay = Entity{
|
|
ID: 0,
|
|
InternalID: 0,
|
|
DisplayName: "Allay",
|
|
Name: "allay",
|
|
Width: 0.35,
|
|
Height: 0.6,
|
|
Type: "mob",
|
|
}
|
|
AreaEffectCloud = Entity{
|
|
ID: 1,
|
|
InternalID: 1,
|
|
DisplayName: "Area Effect Cloud",
|
|
Name: "area_effect_cloud",
|
|
Width: 6,
|
|
Height: 0.5,
|
|
Type: "other",
|
|
}
|
|
ArmorStand = Entity{
|
|
ID: 2,
|
|
InternalID: 2,
|
|
DisplayName: "Armor Stand",
|
|
Name: "armor_stand",
|
|
Width: 0.5,
|
|
Height: 1.975,
|
|
Type: "living",
|
|
}
|
|
Arrow = Entity{
|
|
ID: 3,
|
|
InternalID: 3,
|
|
DisplayName: "Arrow",
|
|
Name: "arrow",
|
|
Width: 0.5,
|
|
Height: 0.5,
|
|
Type: "projectile",
|
|
}
|
|
Axolotl = Entity{
|
|
ID: 4,
|
|
InternalID: 4,
|
|
DisplayName: "Axolotl",
|
|
Name: "axolotl",
|
|
Width: 0.75,
|
|
Height: 0.42,
|
|
Type: "animal",
|
|
}
|
|
Bat = Entity{
|
|
ID: 5,
|
|
InternalID: 5,
|
|
DisplayName: "Bat",
|
|
Name: "bat",
|
|
Width: 0.5,
|
|
Height: 0.9,
|
|
Type: "ambient",
|
|
}
|
|
Bee = Entity{
|
|
ID: 6,
|
|
InternalID: 6,
|
|
DisplayName: "Bee",
|
|
Name: "bee",
|
|
Width: 0.7,
|
|
Height: 0.6,
|
|
Type: "animal",
|
|
}
|
|
Blaze = Entity{
|
|
ID: 7,
|
|
InternalID: 7,
|
|
DisplayName: "Blaze",
|
|
Name: "blaze",
|
|
Width: 0.6,
|
|
Height: 1.8,
|
|
Type: "hostile",
|
|
}
|
|
BlockDisplay = Entity{
|
|
ID: 8,
|
|
InternalID: 8,
|
|
DisplayName: "Block Display",
|
|
Name: "block_display",
|
|
Width: 0,
|
|
Height: 0,
|
|
Type: "other",
|
|
}
|
|
Boat = Entity{
|
|
ID: 9,
|
|
InternalID: 9,
|
|
DisplayName: "Boat",
|
|
Name: "boat",
|
|
Width: 1.375,
|
|
Height: 0.5625,
|
|
Type: "other",
|
|
}
|
|
Breeze = Entity{
|
|
ID: 10,
|
|
InternalID: 10,
|
|
DisplayName: "Breeze",
|
|
Name: "breeze",
|
|
Width: 0.6,
|
|
Height: 1.7,
|
|
Type: "hostile",
|
|
}
|
|
Camel = Entity{
|
|
ID: 11,
|
|
InternalID: 11,
|
|
DisplayName: "Camel",
|
|
Name: "camel",
|
|
Width: 1.7,
|
|
Height: 2.375,
|
|
Type: "animal",
|
|
}
|
|
Cat = Entity{
|
|
ID: 12,
|
|
InternalID: 12,
|
|
DisplayName: "Cat",
|
|
Name: "cat",
|
|
Width: 0.6,
|
|
Height: 0.7,
|
|
Type: "animal",
|
|
}
|
|
CaveSpider = Entity{
|
|
ID: 13,
|
|
InternalID: 13,
|
|
DisplayName: "Cave Spider",
|
|
Name: "cave_spider",
|
|
Width: 0.7,
|
|
Height: 0.5,
|
|
Type: "hostile",
|
|
}
|
|
ChestBoat = Entity{
|
|
ID: 14,
|
|
InternalID: 14,
|
|
DisplayName: "Boat with Chest",
|
|
Name: "chest_boat",
|
|
Width: 1.375,
|
|
Height: 0.5625,
|
|
Type: "other",
|
|
}
|
|
ChestMinecart = Entity{
|
|
ID: 15,
|
|
InternalID: 15,
|
|
DisplayName: "Minecart with Chest",
|
|
Name: "chest_minecart",
|
|
Width: 0.98,
|
|
Height: 0.7,
|
|
Type: "other",
|
|
}
|
|
Chicken = Entity{
|
|
ID: 16,
|
|
InternalID: 16,
|
|
DisplayName: "Chicken",
|
|
Name: "chicken",
|
|
Width: 0.4,
|
|
Height: 0.7,
|
|
Type: "animal",
|
|
}
|
|
Cod = Entity{
|
|
ID: 17,
|
|
InternalID: 17,
|
|
DisplayName: "Cod",
|
|
Name: "cod",
|
|
Width: 0.5,
|
|
Height: 0.3,
|
|
Type: "water_creature",
|
|
}
|
|
CommandBlockMinecart = Entity{
|
|
ID: 18,
|
|
InternalID: 18,
|
|
DisplayName: "Minecart with Command Block",
|
|
Name: "command_block_minecart",
|
|
Width: 0.98,
|
|
Height: 0.7,
|
|
Type: "other",
|
|
}
|
|
Cow = Entity{
|
|
ID: 19,
|
|
InternalID: 19,
|
|
DisplayName: "Cow",
|
|
Name: "cow",
|
|
Width: 0.9,
|
|
Height: 1.4,
|
|
Type: "animal",
|
|
}
|
|
Creeper = Entity{
|
|
ID: 20,
|
|
InternalID: 20,
|
|
DisplayName: "Creeper",
|
|
Name: "creeper",
|
|
Width: 0.6,
|
|
Height: 1.7,
|
|
Type: "hostile",
|
|
}
|
|
Dolphin = Entity{
|
|
ID: 21,
|
|
InternalID: 21,
|
|
DisplayName: "Dolphin",
|
|
Name: "dolphin",
|
|
Width: 0.9,
|
|
Height: 0.6,
|
|
Type: "water_creature",
|
|
}
|
|
Donkey = Entity{
|
|
ID: 22,
|
|
InternalID: 22,
|
|
DisplayName: "Donkey",
|
|
Name: "donkey",
|
|
Width: 1.3964844,
|
|
Height: 1.5,
|
|
Type: "animal",
|
|
}
|
|
DragonFireball = Entity{
|
|
ID: 23,
|
|
InternalID: 23,
|
|
DisplayName: "Dragon Fireball",
|
|
Name: "dragon_fireball",
|
|
Width: 1,
|
|
Height: 1,
|
|
Type: "projectile",
|
|
}
|
|
Drowned = Entity{
|
|
ID: 24,
|
|
InternalID: 24,
|
|
DisplayName: "Drowned",
|
|
Name: "drowned",
|
|
Width: 0.6,
|
|
Height: 1.95,
|
|
Type: "hostile",
|
|
}
|
|
Egg = Entity{
|
|
ID: 25,
|
|
InternalID: 25,
|
|
DisplayName: "Thrown Egg",
|
|
Name: "egg",
|
|
Width: 0.25,
|
|
Height: 0.25,
|
|
Type: "projectile",
|
|
}
|
|
ElderGuardian = Entity{
|
|
ID: 26,
|
|
InternalID: 26,
|
|
DisplayName: "Elder Guardian",
|
|
Name: "elder_guardian",
|
|
Width: 1.9975,
|
|
Height: 1.9975,
|
|
Type: "hostile",
|
|
}
|
|
EndCrystal = Entity{
|
|
ID: 27,
|
|
InternalID: 27,
|
|
DisplayName: "End Crystal",
|
|
Name: "end_crystal",
|
|
Width: 2,
|
|
Height: 2,
|
|
Type: "other",
|
|
}
|
|
EnderDragon = Entity{
|
|
ID: 28,
|
|
InternalID: 28,
|
|
DisplayName: "Ender Dragon",
|
|
Name: "ender_dragon",
|
|
Width: 16,
|
|
Height: 8,
|
|
Type: "mob",
|
|
}
|
|
EnderPearl = Entity{
|
|
ID: 29,
|
|
InternalID: 29,
|
|
DisplayName: "Thrown Ender Pearl",
|
|
Name: "ender_pearl",
|
|
Width: 0.25,
|
|
Height: 0.25,
|
|
Type: "projectile",
|
|
}
|
|
Enderman = Entity{
|
|
ID: 30,
|
|
InternalID: 30,
|
|
DisplayName: "Enderman",
|
|
Name: "enderman",
|
|
Width: 0.6,
|
|
Height: 2.9,
|
|
Type: "hostile",
|
|
}
|
|
Endermite = Entity{
|
|
ID: 31,
|
|
InternalID: 31,
|
|
DisplayName: "Endermite",
|
|
Name: "endermite",
|
|
Width: 0.4,
|
|
Height: 0.3,
|
|
Type: "hostile",
|
|
}
|
|
Evoker = Entity{
|
|
ID: 32,
|
|
InternalID: 32,
|
|
DisplayName: "Evoker",
|
|
Name: "evoker",
|
|
Width: 0.6,
|
|
Height: 1.95,
|
|
Type: "hostile",
|
|
}
|
|
EvokerFangs = Entity{
|
|
ID: 33,
|
|
InternalID: 33,
|
|
DisplayName: "Evoker Fangs",
|
|
Name: "evoker_fangs",
|
|
Width: 0.5,
|
|
Height: 0.8,
|
|
Type: "other",
|
|
}
|
|
ExperienceBottle = Entity{
|
|
ID: 34,
|
|
InternalID: 34,
|
|
DisplayName: "Thrown Bottle o' Enchanting",
|
|
Name: "experience_bottle",
|
|
Width: 0.25,
|
|
Height: 0.25,
|
|
Type: "projectile",
|
|
}
|
|
ExperienceOrb = Entity{
|
|
ID: 35,
|
|
InternalID: 35,
|
|
DisplayName: "Experience Orb",
|
|
Name: "experience_orb",
|
|
Width: 0.5,
|
|
Height: 0.5,
|
|
Type: "other",
|
|
}
|
|
EyeOfEnder = Entity{
|
|
ID: 36,
|
|
InternalID: 36,
|
|
DisplayName: "Eye of Ender",
|
|
Name: "eye_of_ender",
|
|
Width: 0.25,
|
|
Height: 0.25,
|
|
Type: "other",
|
|
}
|
|
FallingBlock = Entity{
|
|
ID: 37,
|
|
InternalID: 37,
|
|
DisplayName: "Falling Block",
|
|
Name: "falling_block",
|
|
Width: 0.98,
|
|
Height: 0.98,
|
|
Type: "other",
|
|
}
|
|
FireworkRocket = Entity{
|
|
ID: 38,
|
|
InternalID: 38,
|
|
DisplayName: "Firework Rocket",
|
|
Name: "firework_rocket",
|
|
Width: 0.25,
|
|
Height: 0.25,
|
|
Type: "projectile",
|
|
}
|
|
Fox = Entity{
|
|
ID: 39,
|
|
InternalID: 39,
|
|
DisplayName: "Fox",
|
|
Name: "fox",
|
|
Width: 0.6,
|
|
Height: 0.7,
|
|
Type: "animal",
|
|
}
|
|
Frog = Entity{
|
|
ID: 40,
|
|
InternalID: 40,
|
|
DisplayName: "Frog",
|
|
Name: "frog",
|
|
Width: 0.5,
|
|
Height: 0.5,
|
|
Type: "animal",
|
|
}
|
|
FurnaceMinecart = Entity{
|
|
ID: 41,
|
|
InternalID: 41,
|
|
DisplayName: "Minecart with Furnace",
|
|
Name: "furnace_minecart",
|
|
Width: 0.98,
|
|
Height: 0.7,
|
|
Type: "other",
|
|
}
|
|
Ghast = Entity{
|
|
ID: 42,
|
|
InternalID: 42,
|
|
DisplayName: "Ghast",
|
|
Name: "ghast",
|
|
Width: 4,
|
|
Height: 4,
|
|
Type: "mob",
|
|
}
|
|
Giant = Entity{
|
|
ID: 43,
|
|
InternalID: 43,
|
|
DisplayName: "Giant",
|
|
Name: "giant",
|
|
Width: 3.6,
|
|
Height: 12,
|
|
Type: "hostile",
|
|
}
|
|
GlowItemFrame = Entity{
|
|
ID: 44,
|
|
InternalID: 44,
|
|
DisplayName: "Glow Item Frame",
|
|
Name: "glow_item_frame",
|
|
Width: 0.5,
|
|
Height: 0.5,
|
|
Type: "other",
|
|
}
|
|
GlowSquid = Entity{
|
|
ID: 45,
|
|
InternalID: 45,
|
|
DisplayName: "Glow Squid",
|
|
Name: "glow_squid",
|
|
Width: 0.8,
|
|
Height: 0.8,
|
|
Type: "water_creature",
|
|
}
|
|
Goat = Entity{
|
|
ID: 46,
|
|
InternalID: 46,
|
|
DisplayName: "Goat",
|
|
Name: "goat",
|
|
Width: 0.9,
|
|
Height: 1.3,
|
|
Type: "animal",
|
|
}
|
|
Guardian = Entity{
|
|
ID: 47,
|
|
InternalID: 47,
|
|
DisplayName: "Guardian",
|
|
Name: "guardian",
|
|
Width: 0.85,
|
|
Height: 0.85,
|
|
Type: "hostile",
|
|
}
|
|
Hoglin = Entity{
|
|
ID: 48,
|
|
InternalID: 48,
|
|
DisplayName: "Hoglin",
|
|
Name: "hoglin",
|
|
Width: 1.3964844,
|
|
Height: 1.4,
|
|
Type: "animal",
|
|
}
|
|
HopperMinecart = Entity{
|
|
ID: 49,
|
|
InternalID: 49,
|
|
DisplayName: "Minecart with Hopper",
|
|
Name: "hopper_minecart",
|
|
Width: 0.98,
|
|
Height: 0.7,
|
|
Type: "other",
|
|
}
|
|
Horse = Entity{
|
|
ID: 50,
|
|
InternalID: 50,
|
|
DisplayName: "Horse",
|
|
Name: "horse",
|
|
Width: 1.3964844,
|
|
Height: 1.6,
|
|
Type: "animal",
|
|
}
|
|
Husk = Entity{
|
|
ID: 51,
|
|
InternalID: 51,
|
|
DisplayName: "Husk",
|
|
Name: "husk",
|
|
Width: 0.6,
|
|
Height: 1.95,
|
|
Type: "hostile",
|
|
}
|
|
Illusioner = Entity{
|
|
ID: 52,
|
|
InternalID: 52,
|
|
DisplayName: "Illusioner",
|
|
Name: "illusioner",
|
|
Width: 0.6,
|
|
Height: 1.95,
|
|
Type: "hostile",
|
|
}
|
|
Interaction = Entity{
|
|
ID: 53,
|
|
InternalID: 53,
|
|
DisplayName: "Interaction",
|
|
Name: "interaction",
|
|
Width: 0,
|
|
Height: 0,
|
|
Type: "other",
|
|
}
|
|
IronGolem = Entity{
|
|
ID: 54,
|
|
InternalID: 54,
|
|
DisplayName: "Iron Golem",
|
|
Name: "iron_golem",
|
|
Width: 1.4,
|
|
Height: 2.7,
|
|
Type: "mob",
|
|
}
|
|
Item = Entity{
|
|
ID: 55,
|
|
InternalID: 55,
|
|
DisplayName: "Item",
|
|
Name: "item",
|
|
Width: 0.25,
|
|
Height: 0.25,
|
|
Type: "other",
|
|
}
|
|
ItemDisplay = Entity{
|
|
ID: 56,
|
|
InternalID: 56,
|
|
DisplayName: "Item Display",
|
|
Name: "item_display",
|
|
Width: 0,
|
|
Height: 0,
|
|
Type: "other",
|
|
}
|
|
ItemFrame = Entity{
|
|
ID: 57,
|
|
InternalID: 57,
|
|
DisplayName: "Item Frame",
|
|
Name: "item_frame",
|
|
Width: 0.5,
|
|
Height: 0.5,
|
|
Type: "other",
|
|
}
|
|
Fireball = Entity{
|
|
ID: 58,
|
|
InternalID: 58,
|
|
DisplayName: "Fireball",
|
|
Name: "fireball",
|
|
Width: 1,
|
|
Height: 1,
|
|
Type: "projectile",
|
|
}
|
|
LeashKnot = Entity{
|
|
ID: 59,
|
|
InternalID: 59,
|
|
DisplayName: "Leash Knot",
|
|
Name: "leash_knot",
|
|
Width: 0.375,
|
|
Height: 0.5,
|
|
Type: "other",
|
|
}
|
|
LightningBolt = Entity{
|
|
ID: 60,
|
|
InternalID: 60,
|
|
DisplayName: "Lightning Bolt",
|
|
Name: "lightning_bolt",
|
|
Width: 0,
|
|
Height: 0,
|
|
Type: "other",
|
|
}
|
|
Llama = Entity{
|
|
ID: 61,
|
|
InternalID: 61,
|
|
DisplayName: "Llama",
|
|
Name: "llama",
|
|
Width: 0.9,
|
|
Height: 1.87,
|
|
Type: "animal",
|
|
}
|
|
LlamaSpit = Entity{
|
|
ID: 62,
|
|
InternalID: 62,
|
|
DisplayName: "Llama Spit",
|
|
Name: "llama_spit",
|
|
Width: 0.25,
|
|
Height: 0.25,
|
|
Type: "projectile",
|
|
}
|
|
MagmaCube = Entity{
|
|
ID: 63,
|
|
InternalID: 63,
|
|
DisplayName: "Magma Cube",
|
|
Name: "magma_cube",
|
|
Width: 2.04,
|
|
Height: 2.04,
|
|
Type: "mob",
|
|
}
|
|
Marker = Entity{
|
|
ID: 64,
|
|
InternalID: 64,
|
|
DisplayName: "Marker",
|
|
Name: "marker",
|
|
Width: 0,
|
|
Height: 0,
|
|
Type: "other",
|
|
}
|
|
Minecart = Entity{
|
|
ID: 65,
|
|
InternalID: 65,
|
|
DisplayName: "Minecart",
|
|
Name: "minecart",
|
|
Width: 0.98,
|
|
Height: 0.7,
|
|
Type: "other",
|
|
}
|
|
Mooshroom = Entity{
|
|
ID: 66,
|
|
InternalID: 66,
|
|
DisplayName: "Mooshroom",
|
|
Name: "mooshroom",
|
|
Width: 0.9,
|
|
Height: 1.4,
|
|
Type: "animal",
|
|
}
|
|
Mule = Entity{
|
|
ID: 67,
|
|
InternalID: 67,
|
|
DisplayName: "Mule",
|
|
Name: "mule",
|
|
Width: 1.3964844,
|
|
Height: 1.6,
|
|
Type: "animal",
|
|
}
|
|
Ocelot = Entity{
|
|
ID: 68,
|
|
InternalID: 68,
|
|
DisplayName: "Ocelot",
|
|
Name: "ocelot",
|
|
Width: 0.6,
|
|
Height: 0.7,
|
|
Type: "animal",
|
|
}
|
|
Painting = Entity{
|
|
ID: 69,
|
|
InternalID: 69,
|
|
DisplayName: "Painting",
|
|
Name: "painting",
|
|
Width: 0.5,
|
|
Height: 0.5,
|
|
Type: "other",
|
|
}
|
|
Panda = Entity{
|
|
ID: 70,
|
|
InternalID: 70,
|
|
DisplayName: "Panda",
|
|
Name: "panda",
|
|
Width: 1.3,
|
|
Height: 1.25,
|
|
Type: "animal",
|
|
}
|
|
Parrot = Entity{
|
|
ID: 71,
|
|
InternalID: 71,
|
|
DisplayName: "Parrot",
|
|
Name: "parrot",
|
|
Width: 0.5,
|
|
Height: 0.9,
|
|
Type: "animal",
|
|
}
|
|
Phantom = Entity{
|
|
ID: 72,
|
|
InternalID: 72,
|
|
DisplayName: "Phantom",
|
|
Name: "phantom",
|
|
Width: 0.9,
|
|
Height: 0.5,
|
|
Type: "mob",
|
|
}
|
|
Pig = Entity{
|
|
ID: 73,
|
|
InternalID: 73,
|
|
DisplayName: "Pig",
|
|
Name: "pig",
|
|
Width: 0.9,
|
|
Height: 0.9,
|
|
Type: "animal",
|
|
}
|
|
Piglin = Entity{
|
|
ID: 74,
|
|
InternalID: 74,
|
|
DisplayName: "Piglin",
|
|
Name: "piglin",
|
|
Width: 0.6,
|
|
Height: 1.95,
|
|
Type: "hostile",
|
|
}
|
|
PiglinBrute = Entity{
|
|
ID: 75,
|
|
InternalID: 75,
|
|
DisplayName: "Piglin Brute",
|
|
Name: "piglin_brute",
|
|
Width: 0.6,
|
|
Height: 1.95,
|
|
Type: "hostile",
|
|
}
|
|
Pillager = Entity{
|
|
ID: 76,
|
|
InternalID: 76,
|
|
DisplayName: "Pillager",
|
|
Name: "pillager",
|
|
Width: 0.6,
|
|
Height: 1.95,
|
|
Type: "hostile",
|
|
}
|
|
PolarBear = Entity{
|
|
ID: 77,
|
|
InternalID: 77,
|
|
DisplayName: "Polar Bear",
|
|
Name: "polar_bear",
|
|
Width: 1.4,
|
|
Height: 1.4,
|
|
Type: "animal",
|
|
}
|
|
Potion = Entity{
|
|
ID: 78,
|
|
InternalID: 78,
|
|
DisplayName: "Potion",
|
|
Name: "potion",
|
|
Width: 0.25,
|
|
Height: 0.25,
|
|
Type: "projectile",
|
|
}
|
|
Pufferfish = Entity{
|
|
ID: 79,
|
|
InternalID: 79,
|
|
DisplayName: "Pufferfish",
|
|
Name: "pufferfish",
|
|
Width: 0.7,
|
|
Height: 0.7,
|
|
Type: "water_creature",
|
|
}
|
|
Rabbit = Entity{
|
|
ID: 80,
|
|
InternalID: 80,
|
|
DisplayName: "Rabbit",
|
|
Name: "rabbit",
|
|
Width: 0.4,
|
|
Height: 0.5,
|
|
Type: "animal",
|
|
}
|
|
Ravager = Entity{
|
|
ID: 81,
|
|
InternalID: 81,
|
|
DisplayName: "Ravager",
|
|
Name: "ravager",
|
|
Width: 1.95,
|
|
Height: 2.2,
|
|
Type: "hostile",
|
|
}
|
|
Salmon = Entity{
|
|
ID: 82,
|
|
InternalID: 82,
|
|
DisplayName: "Salmon",
|
|
Name: "salmon",
|
|
Width: 0.7,
|
|
Height: 0.4,
|
|
Type: "water_creature",
|
|
}
|
|
Sheep = Entity{
|
|
ID: 83,
|
|
InternalID: 83,
|
|
DisplayName: "Sheep",
|
|
Name: "sheep",
|
|
Width: 0.9,
|
|
Height: 1.3,
|
|
Type: "animal",
|
|
}
|
|
Shulker = Entity{
|
|
ID: 84,
|
|
InternalID: 84,
|
|
DisplayName: "Shulker",
|
|
Name: "shulker",
|
|
Width: 1,
|
|
Height: 1,
|
|
Type: "mob",
|
|
}
|
|
ShulkerBullet = Entity{
|
|
ID: 85,
|
|
InternalID: 85,
|
|
DisplayName: "Shulker Bullet",
|
|
Name: "shulker_bullet",
|
|
Width: 0.3125,
|
|
Height: 0.3125,
|
|
Type: "projectile",
|
|
}
|
|
Silverfish = Entity{
|
|
ID: 86,
|
|
InternalID: 86,
|
|
DisplayName: "Silverfish",
|
|
Name: "silverfish",
|
|
Width: 0.4,
|
|
Height: 0.3,
|
|
Type: "hostile",
|
|
}
|
|
Skeleton = Entity{
|
|
ID: 87,
|
|
InternalID: 87,
|
|
DisplayName: "Skeleton",
|
|
Name: "skeleton",
|
|
Width: 0.6,
|
|
Height: 1.99,
|
|
Type: "hostile",
|
|
}
|
|
SkeletonHorse = Entity{
|
|
ID: 88,
|
|
InternalID: 88,
|
|
DisplayName: "Skeleton Horse",
|
|
Name: "skeleton_horse",
|
|
Width: 1.3964844,
|
|
Height: 1.6,
|
|
Type: "animal",
|
|
}
|
|
Slime = Entity{
|
|
ID: 89,
|
|
InternalID: 89,
|
|
DisplayName: "Slime",
|
|
Name: "slime",
|
|
Width: 2.04,
|
|
Height: 2.04,
|
|
Type: "mob",
|
|
}
|
|
SmallFireball = Entity{
|
|
ID: 90,
|
|
InternalID: 90,
|
|
DisplayName: "Small Fireball",
|
|
Name: "small_fireball",
|
|
Width: 0.3125,
|
|
Height: 0.3125,
|
|
Type: "projectile",
|
|
}
|
|
Sniffer = Entity{
|
|
ID: 91,
|
|
InternalID: 91,
|
|
DisplayName: "Sniffer",
|
|
Name: "sniffer",
|
|
Width: 1.9,
|
|
Height: 1.75,
|
|
Type: "animal",
|
|
}
|
|
SnowGolem = Entity{
|
|
ID: 92,
|
|
InternalID: 92,
|
|
DisplayName: "Snow Golem",
|
|
Name: "snow_golem",
|
|
Width: 0.7,
|
|
Height: 1.9,
|
|
Type: "mob",
|
|
}
|
|
Snowball = Entity{
|
|
ID: 93,
|
|
InternalID: 93,
|
|
DisplayName: "Snowball",
|
|
Name: "snowball",
|
|
Width: 0.25,
|
|
Height: 0.25,
|
|
Type: "projectile",
|
|
}
|
|
SpawnerMinecart = Entity{
|
|
ID: 94,
|
|
InternalID: 94,
|
|
DisplayName: "Minecart with Monster Spawner",
|
|
Name: "spawner_minecart",
|
|
Width: 0.98,
|
|
Height: 0.7,
|
|
Type: "other",
|
|
}
|
|
SpectralArrow = Entity{
|
|
ID: 95,
|
|
InternalID: 95,
|
|
DisplayName: "Spectral Arrow",
|
|
Name: "spectral_arrow",
|
|
Width: 0.5,
|
|
Height: 0.5,
|
|
Type: "projectile",
|
|
}
|
|
Spider = Entity{
|
|
ID: 96,
|
|
InternalID: 96,
|
|
DisplayName: "Spider",
|
|
Name: "spider",
|
|
Width: 1.4,
|
|
Height: 0.9,
|
|
Type: "hostile",
|
|
}
|
|
Squid = Entity{
|
|
ID: 97,
|
|
InternalID: 97,
|
|
DisplayName: "Squid",
|
|
Name: "squid",
|
|
Width: 0.8,
|
|
Height: 0.8,
|
|
Type: "water_creature",
|
|
}
|
|
Stray = Entity{
|
|
ID: 98,
|
|
InternalID: 98,
|
|
DisplayName: "Stray",
|
|
Name: "stray",
|
|
Width: 0.6,
|
|
Height: 1.99,
|
|
Type: "hostile",
|
|
}
|
|
Strider = Entity{
|
|
ID: 99,
|
|
InternalID: 99,
|
|
DisplayName: "Strider",
|
|
Name: "strider",
|
|
Width: 0.9,
|
|
Height: 1.7,
|
|
Type: "animal",
|
|
}
|
|
Tadpole = Entity{
|
|
ID: 100,
|
|
InternalID: 100,
|
|
DisplayName: "Tadpole",
|
|
Name: "tadpole",
|
|
Width: 0.4,
|
|
Height: 0.3,
|
|
Type: "water_creature",
|
|
}
|
|
TextDisplay = Entity{
|
|
ID: 101,
|
|
InternalID: 101,
|
|
DisplayName: "Text Display",
|
|
Name: "text_display",
|
|
Width: 0,
|
|
Height: 0,
|
|
Type: "other",
|
|
}
|
|
Tnt = Entity{
|
|
ID: 102,
|
|
InternalID: 102,
|
|
DisplayName: "Primed TNT",
|
|
Name: "tnt",
|
|
Width: 0.98,
|
|
Height: 0.98,
|
|
Type: "other",
|
|
}
|
|
TntMinecart = Entity{
|
|
ID: 103,
|
|
InternalID: 103,
|
|
DisplayName: "Minecart with TNT",
|
|
Name: "tnt_minecart",
|
|
Width: 0.98,
|
|
Height: 0.7,
|
|
Type: "other",
|
|
}
|
|
TraderLlama = Entity{
|
|
ID: 104,
|
|
InternalID: 104,
|
|
DisplayName: "Trader Llama",
|
|
Name: "trader_llama",
|
|
Width: 0.9,
|
|
Height: 1.87,
|
|
Type: "animal",
|
|
}
|
|
Trident = Entity{
|
|
ID: 105,
|
|
InternalID: 105,
|
|
DisplayName: "Trident",
|
|
Name: "trident",
|
|
Width: 0.5,
|
|
Height: 0.5,
|
|
Type: "projectile",
|
|
}
|
|
TropicalFish = Entity{
|
|
ID: 106,
|
|
InternalID: 106,
|
|
DisplayName: "Tropical Fish",
|
|
Name: "tropical_fish",
|
|
Width: 0.5,
|
|
Height: 0.4,
|
|
Type: "water_creature",
|
|
}
|
|
Turtle = Entity{
|
|
ID: 107,
|
|
InternalID: 107,
|
|
DisplayName: "Turtle",
|
|
Name: "turtle",
|
|
Width: 1.2,
|
|
Height: 0.4,
|
|
Type: "animal",
|
|
}
|
|
Vex = Entity{
|
|
ID: 108,
|
|
InternalID: 108,
|
|
DisplayName: "Vex",
|
|
Name: "vex",
|
|
Width: 0.4,
|
|
Height: 0.8,
|
|
Type: "hostile",
|
|
}
|
|
Villager = Entity{
|
|
ID: 109,
|
|
InternalID: 109,
|
|
DisplayName: "Villager",
|
|
Name: "villager",
|
|
Width: 0.6,
|
|
Height: 1.95,
|
|
Type: "passive",
|
|
}
|
|
Vindicator = Entity{
|
|
ID: 110,
|
|
InternalID: 110,
|
|
DisplayName: "Vindicator",
|
|
Name: "vindicator",
|
|
Width: 0.6,
|
|
Height: 1.95,
|
|
Type: "hostile",
|
|
}
|
|
WanderingTrader = Entity{
|
|
ID: 111,
|
|
InternalID: 111,
|
|
DisplayName: "Wandering Trader",
|
|
Name: "wandering_trader",
|
|
Width: 0.6,
|
|
Height: 1.95,
|
|
Type: "passive",
|
|
}
|
|
Warden = Entity{
|
|
ID: 112,
|
|
InternalID: 112,
|
|
DisplayName: "Warden",
|
|
Name: "warden",
|
|
Width: 0.9,
|
|
Height: 2.9,
|
|
Type: "hostile",
|
|
}
|
|
WindCharge = Entity{
|
|
ID: 113,
|
|
InternalID: 113,
|
|
DisplayName: "Wind Charge",
|
|
Name: "wind_charge",
|
|
Width: 0.3125,
|
|
Height: 0.3125,
|
|
Type: "projectile",
|
|
}
|
|
Witch = Entity{
|
|
ID: 114,
|
|
InternalID: 114,
|
|
DisplayName: "Witch",
|
|
Name: "witch",
|
|
Width: 0.6,
|
|
Height: 1.95,
|
|
Type: "hostile",
|
|
}
|
|
Wither = Entity{
|
|
ID: 115,
|
|
InternalID: 115,
|
|
DisplayName: "Wither",
|
|
Name: "wither",
|
|
Width: 0.9,
|
|
Height: 3.5,
|
|
Type: "hostile",
|
|
}
|
|
WitherSkeleton = Entity{
|
|
ID: 116,
|
|
InternalID: 116,
|
|
DisplayName: "Wither Skeleton",
|
|
Name: "wither_skeleton",
|
|
Width: 0.7,
|
|
Height: 2.4,
|
|
Type: "hostile",
|
|
}
|
|
WitherSkull = Entity{
|
|
ID: 117,
|
|
InternalID: 117,
|
|
DisplayName: "Wither Skull",
|
|
Name: "wither_skull",
|
|
Width: 0.3125,
|
|
Height: 0.3125,
|
|
Type: "projectile",
|
|
}
|
|
Wolf = Entity{
|
|
ID: 118,
|
|
InternalID: 118,
|
|
DisplayName: "Wolf",
|
|
Name: "wolf",
|
|
Width: 0.6,
|
|
Height: 0.85,
|
|
Type: "animal",
|
|
}
|
|
Zoglin = Entity{
|
|
ID: 119,
|
|
InternalID: 119,
|
|
DisplayName: "Zoglin",
|
|
Name: "zoglin",
|
|
Width: 1.3964844,
|
|
Height: 1.4,
|
|
Type: "hostile",
|
|
}
|
|
Zombie = Entity{
|
|
ID: 120,
|
|
InternalID: 120,
|
|
DisplayName: "Zombie",
|
|
Name: "zombie",
|
|
Width: 0.6,
|
|
Height: 1.95,
|
|
Type: "hostile",
|
|
}
|
|
ZombieHorse = Entity{
|
|
ID: 121,
|
|
InternalID: 121,
|
|
DisplayName: "Zombie Horse",
|
|
Name: "zombie_horse",
|
|
Width: 1.3964844,
|
|
Height: 1.6,
|
|
Type: "animal",
|
|
}
|
|
ZombieVillager = Entity{
|
|
ID: 122,
|
|
InternalID: 122,
|
|
DisplayName: "Zombie Villager",
|
|
Name: "zombie_villager",
|
|
Width: 0.6,
|
|
Height: 1.95,
|
|
Type: "hostile",
|
|
}
|
|
ZombifiedPiglin = Entity{
|
|
ID: 123,
|
|
InternalID: 123,
|
|
DisplayName: "Zombified Piglin",
|
|
Name: "zombified_piglin",
|
|
Width: 0.6,
|
|
Height: 1.95,
|
|
Type: "hostile",
|
|
}
|
|
Player = Entity{
|
|
ID: 124,
|
|
InternalID: 124,
|
|
DisplayName: "Player",
|
|
Name: "player",
|
|
Width: 0.6,
|
|
Height: 1.8,
|
|
Type: "player",
|
|
}
|
|
FishingBobber = Entity{
|
|
ID: 125,
|
|
InternalID: 125,
|
|
DisplayName: "Fishing Bobber",
|
|
Name: "fishing_bobber",
|
|
Width: 0.25,
|
|
Height: 0.25,
|
|
Type: "projectile",
|
|
}
|
|
)
|
|
|
|
// ByID is an index of minecraft entities by their ID.
|
|
var ByID = map[ID]*Entity{
|
|
0: &Allay,
|
|
1: &AreaEffectCloud,
|
|
2: &ArmorStand,
|
|
3: &Arrow,
|
|
4: &Axolotl,
|
|
5: &Bat,
|
|
6: &Bee,
|
|
7: &Blaze,
|
|
8: &BlockDisplay,
|
|
9: &Boat,
|
|
10: &Breeze,
|
|
11: &Camel,
|
|
12: &Cat,
|
|
13: &CaveSpider,
|
|
14: &ChestBoat,
|
|
15: &ChestMinecart,
|
|
16: &Chicken,
|
|
17: &Cod,
|
|
18: &CommandBlockMinecart,
|
|
19: &Cow,
|
|
20: &Creeper,
|
|
21: &Dolphin,
|
|
22: &Donkey,
|
|
23: &DragonFireball,
|
|
24: &Drowned,
|
|
25: &Egg,
|
|
26: &ElderGuardian,
|
|
27: &EndCrystal,
|
|
28: &EnderDragon,
|
|
29: &EnderPearl,
|
|
30: &Enderman,
|
|
31: &Endermite,
|
|
32: &Evoker,
|
|
33: &EvokerFangs,
|
|
34: &ExperienceBottle,
|
|
35: &ExperienceOrb,
|
|
36: &EyeOfEnder,
|
|
37: &FallingBlock,
|
|
38: &FireworkRocket,
|
|
39: &Fox,
|
|
40: &Frog,
|
|
41: &FurnaceMinecart,
|
|
42: &Ghast,
|
|
43: &Giant,
|
|
44: &GlowItemFrame,
|
|
45: &GlowSquid,
|
|
46: &Goat,
|
|
47: &Guardian,
|
|
48: &Hoglin,
|
|
49: &HopperMinecart,
|
|
50: &Horse,
|
|
51: &Husk,
|
|
52: &Illusioner,
|
|
53: &Interaction,
|
|
54: &IronGolem,
|
|
55: &Item,
|
|
56: &ItemDisplay,
|
|
57: &ItemFrame,
|
|
58: &Fireball,
|
|
59: &LeashKnot,
|
|
60: &LightningBolt,
|
|
61: &Llama,
|
|
62: &LlamaSpit,
|
|
63: &MagmaCube,
|
|
64: &Marker,
|
|
65: &Minecart,
|
|
66: &Mooshroom,
|
|
67: &Mule,
|
|
68: &Ocelot,
|
|
69: &Painting,
|
|
70: &Panda,
|
|
71: &Parrot,
|
|
72: &Phantom,
|
|
73: &Pig,
|
|
74: &Piglin,
|
|
75: &PiglinBrute,
|
|
76: &Pillager,
|
|
77: &PolarBear,
|
|
78: &Potion,
|
|
79: &Pufferfish,
|
|
80: &Rabbit,
|
|
81: &Ravager,
|
|
82: &Salmon,
|
|
83: &Sheep,
|
|
84: &Shulker,
|
|
85: &ShulkerBullet,
|
|
86: &Silverfish,
|
|
87: &Skeleton,
|
|
88: &SkeletonHorse,
|
|
89: &Slime,
|
|
90: &SmallFireball,
|
|
91: &Sniffer,
|
|
92: &SnowGolem,
|
|
93: &Snowball,
|
|
94: &SpawnerMinecart,
|
|
95: &SpectralArrow,
|
|
96: &Spider,
|
|
97: &Squid,
|
|
98: &Stray,
|
|
99: &Strider,
|
|
100: &Tadpole,
|
|
101: &TextDisplay,
|
|
102: &Tnt,
|
|
103: &TntMinecart,
|
|
104: &TraderLlama,
|
|
105: &Trident,
|
|
106: &TropicalFish,
|
|
107: &Turtle,
|
|
108: &Vex,
|
|
109: &Villager,
|
|
110: &Vindicator,
|
|
111: &WanderingTrader,
|
|
112: &Warden,
|
|
113: &WindCharge,
|
|
114: &Witch,
|
|
115: &Wither,
|
|
116: &WitherSkeleton,
|
|
117: &WitherSkull,
|
|
118: &Wolf,
|
|
119: &Zoglin,
|
|
120: &Zombie,
|
|
121: &ZombieHorse,
|
|
122: &ZombieVillager,
|
|
123: &ZombifiedPiglin,
|
|
124: &Player,
|
|
125: &FishingBobber,
|
|
}
|