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