From ce3770c2b4caf10e1d0b5a988802e6d5de0bcbd5 Mon Sep 17 00:00:00 2001 From: Xterionix <72647213+Xterionix@users.noreply.github.com> Date: Wed, 3 Jul 2024 22:42:23 +0500 Subject: [PATCH] - Add vanilla entity enum for runtime ids (#298) --- .../entities/format/minecraft.entity.json | 3 +- source/general/vanilla/entity.json | 128 ++++++++++++++++++ 2 files changed, 129 insertions(+), 2 deletions(-) create mode 100644 source/general/vanilla/entity.json diff --git a/source/behavior/entities/format/minecraft.entity.json b/source/behavior/entities/format/minecraft.entity.json index b1bd884e..6df64a1d 100644 --- a/source/behavior/entities/format/minecraft.entity.json +++ b/source/behavior/entities/format/minecraft.entity.json @@ -156,7 +156,7 @@ "type": "string", "title": "Runtime Identifier", "description": "Sets the name for the Vanilla Minecraft identifier this entity will use to build itself from.", - "examples": ["minecraft:"] + "$ref": "../../../general/vanilla/entity.json" }, "scripts": { "type": "object", @@ -178,7 +178,6 @@ "type": "object", "title": "Conditional Animation", "description": "A conditional statement to run the animation under a specified condition.", - "$comment": "UNDOCUMENTED", "additionalProperties": { "type": "string", "title": "Animation" } } ] diff --git a/source/general/vanilla/entity.json b/source/general/vanilla/entity.json new file mode 100644 index 00000000..6b69375e --- /dev/null +++ b/source/general/vanilla/entity.json @@ -0,0 +1,128 @@ +{ + "$id": "blockception.minecraft.general.vanilla.entity", + "type": "string", + "title": "Entity", + "description": "A vanilla entity", + "enum": [ + "minecraft:agent", + "minecraft:allay", + "minecraft:area_effect_cloud", + "minecraft:armadillo", + "minecraft:armor_stand", + "minecraft:arrow", + "minecraft:axolotl", + "minecraft:bat", + "minecraft:bee", + "minecraft:blaze", + "minecraft:boat", + "minecraft:bogged", + "minecraft:breeze", + "minecraft:breeze_wind_charge_projectile", + "minecraft:camel", + "minecraft:cat", + "minecraft:cave_spider", + "minecraft:chest_boat", + "minecraft:chest_minecart", + "minecraft:chicken", + "minecraft:cod", + "minecraft:command_block_minecart", + "minecraft:cow", + "minecraft:creeper", + "minecraft:dolphin", + "minecraft:donkey", + "minecraft:dragon_fireball", + "minecraft:drowned", + "minecraft:egg", + "minecraft:elder_guardian", + "minecraft:ender_crystal", + "minecraft:ender_dragon", + "minecraft:ender_pearl", + "minecraft:enderman", + "minecraft:endermite", + "minecraft:evocation_illager", + "minecraft:eye_of_ender_signal", + "minecraft:fireball", + "minecraft:fireworks_rocket", + "minecraft:fishing_hook", + "minecraft:fox", + "minecraft:frog", + "minecraft:ghast", + "minecraft:glow_squid", + "minecraft:goat", + "minecraft:guardian", + "minecraft:hoglin", + "minecraft:hopper_minecart", + "minecraft:horse", + "minecraft:husk", + "minecraft:iron_golem", + "minecraft:lightning_bolt", + "minecraft:lingering_potion", + "minecraft:llama", + "minecraft:llama_spit", + "minecraft:magma_cube", + "minecraft:minecart", + "minecraft:mooshroom", + "minecraft:mule", + "minecraft:npc", + "minecraft:ocelot", + "minecraft:ominous_item_spawner", + "minecraft:panda", + "minecraft:parrot", + "minecraft:phantom", + "minecraft:pig", + "minecraft:piglin", + "minecraft:piglin_brute", + "minecraft:pillager", + "minecraft:player", + "minecraft:polar_bear", + "minecraft:pufferfish", + "minecraft:rabbit", + "minecraft:ravager", + "minecraft:salmon", + "minecraft:sheep", + "minecraft:shulker", + "minecraft:shulker_bullet", + "minecraft:silverfish", + "minecraft:skeleton", + "minecraft:skeleton_horse", + "minecraft:slime", + "minecraft:small_fireball", + "minecraft:sniffer", + "minecraft:snow_golem", + "minecraft:snowball", + "minecraft:spider", + "minecraft:splash_potion", + "minecraft:squid", + "minecraft:stray", + "minecraft:strider", + "minecraft:tadpole", + "minecraft:thrown_trident", + "minecraft:tnt", + "minecraft:tnt_minecart", + "minecraft:trader_llama", + "minecraft:tripod_camera", + "minecraft:tropicalfish", + "minecraft:turtle", + "minecraft:vex", + "minecraft:villager", + "minecraft:villager_v2", + "minecraft:vindicator", + "minecraft:wandering_trader", + "minecraft:warden", + "minecraft:wind_charge_projectile", + "minecraft:witch", + "minecraft:wither", + "minecraft:wither_skeleton", + "minecraft:wither_skull", + "minecraft:wither_skull_dangerous", + "minecraft:wolf", + "minecraft:xp_bottle", + "minecraft:xp_orb", + "minecraft:zoglin", + "minecraft:zombie", + "minecraft:zombie_horse", + "minecraft:zombie_pigman", + "minecraft:zombie_villager", + "minecraft:zombie_villager_v2" + ] +} \ No newline at end of file