Some more misc fixes (#295)
* - Add mob effects enum * - Add biome and biome tags to enum * - Fix feature rules only showing with 1.13.0 format version * - Replace 1.20.41 -> 1.20.80 - Make certain format versions restricted to 1.10.0 * - Remove example stick (having this here was annoying) * - Fix * - Remove empty sounds example * - Misc fixes for entity components
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
{
|
||||
"label": "New entity",
|
||||
"body": {
|
||||
"format_version": "${1:1.20.41}",
|
||||
"format_version": "${1:1.20.80}",
|
||||
"minecraft:entity": {
|
||||
"description": {
|
||||
"identifier": "$2:${3:${TM_FILENAME/[\\.].*//}}",
|
||||
@@ -20,7 +20,7 @@
|
||||
],
|
||||
"examples": [
|
||||
{
|
||||
"format_version": "1.20.41",
|
||||
"format_version": "1.20.80",
|
||||
"minecraft:entity": {
|
||||
"description": { "identifier": "namespace:entity", "is_spawnable": true, "is_summonable": true },
|
||||
"component_groups": {},
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"type": "object",
|
||||
"title": "Has Biome Tag",
|
||||
"description": "Tests whether the biome the subject is in has the specified tag.",
|
||||
"required": ["value"],
|
||||
"required": [ "value" ],
|
||||
"properties": {
|
||||
"test": {
|
||||
"type": "string",
|
||||
@@ -17,15 +17,16 @@
|
||||
"$ref": "./types/subject.json"
|
||||
},
|
||||
"value": {
|
||||
"description": "(Required) The tag to look for.",
|
||||
"type": "string",
|
||||
"title": "Value"
|
||||
"description": "The tag to look for.",
|
||||
"title": "Value",
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "../../../../general/vanilla/biome_tag.json"
|
||||
},
|
||||
{
|
||||
"$ref": "../../../../general/vanilla/biome.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"test": "has_biome_tag",
|
||||
"value": "monster"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
"$ref": "./types/subject.json"
|
||||
},
|
||||
"value": {
|
||||
"type": "string",
|
||||
"$ref": "../../../../general/vanilla/effect.json",
|
||||
"description": "The specified mob effect.",
|
||||
"title": "Value"
|
||||
}
|
||||
|
||||
@@ -17,35 +17,9 @@
|
||||
"$ref": "./types/subject.json"
|
||||
},
|
||||
"value": {
|
||||
"description": "The Biome type to test.",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"beach",
|
||||
"desert",
|
||||
"extreme_hills",
|
||||
"flat",
|
||||
"forest",
|
||||
"ice",
|
||||
"jungle",
|
||||
"mesa",
|
||||
"mushroom_island",
|
||||
"ocean",
|
||||
"plain",
|
||||
"river",
|
||||
"savanna",
|
||||
"stone_beach",
|
||||
"swamp",
|
||||
"taiga",
|
||||
"the_end",
|
||||
"the_nether"
|
||||
],
|
||||
"description": "The biome type to test.",
|
||||
"$ref": "../../../../general/vanilla/biome.json",
|
||||
"title": "Value"
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"test": "is_biome",
|
||||
"value": "beach"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
"properties": {
|
||||
"priority": { "$ref": "types/priority.json" },
|
||||
"celebration_sound": {
|
||||
"default": "",
|
||||
"description": "The sound event to trigger during the celebration.",
|
||||
"title": "Celebration Sound",
|
||||
"$ref": "../../../../general/sound_event.json"
|
||||
|
||||
@@ -33,8 +33,7 @@
|
||||
"loot_table": {
|
||||
"title": "Loot Table",
|
||||
"type": "string",
|
||||
"description": "The loot table that contains the possible loot the entity can drop with this goal.",
|
||||
"examples": ["loot_tables/"]
|
||||
"description": "The loot table that contains the possible loot the entity can drop with this goal."
|
||||
},
|
||||
"max_head_look_at_height": {
|
||||
"title": "Max Head Look At Height",
|
||||
|
||||
@@ -16,13 +16,11 @@
|
||||
"eat_mob_sound": {
|
||||
"title": "Eat Mob Sound",
|
||||
"$ref": "../../../../general/sound_event.json",
|
||||
"default": "",
|
||||
"description": "Sets the sound that should play when eating a mob."
|
||||
},
|
||||
"loot_table": {
|
||||
"title": "Loot Table",
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The loot table for loot to be dropped when eating a mob."
|
||||
},
|
||||
"pull_in_force": {
|
||||
|
||||
@@ -31,13 +31,13 @@
|
||||
"title": "Lay Egg Sound",
|
||||
"$ref": "../../../../general/sound_event.json",
|
||||
"default": "lay_egg",
|
||||
"description": "[EXPERIMENTAL] Sound event name for laying egg. Defaulted to lay_egg which is used for Turtles."
|
||||
"description": "Sound event name for laying egg. Defaulted to lay_egg which is used for Turtles."
|
||||
},
|
||||
"lay_seconds": {
|
||||
"title": "Lay Seconds",
|
||||
"type": "number",
|
||||
"default": 10.0,
|
||||
"description": "[EXPERIMENTAL] Duration of the laying egg process in seconds."
|
||||
"description": "Duration of the laying egg process in seconds."
|
||||
},
|
||||
"on_lay": {
|
||||
"title": "On Lay",
|
||||
@@ -61,20 +61,20 @@
|
||||
"type": "array",
|
||||
"default": ["minecraft:sand"],
|
||||
"items": { "title": "Block ID", "$ref": "../../../../general/item/descriptor.json" },
|
||||
"description": "[EXPERIMENTAL] Blocks that the mob can lay its eggs on top of."
|
||||
"description": "Blocks that the mob can lay its eggs on top of."
|
||||
},
|
||||
"target_materials_above_block": {
|
||||
"title": "Target Materials Above Block",
|
||||
"type": "array",
|
||||
"default": ["Air"],
|
||||
"enum": ["Air", "Any", "Lava", "Water"],
|
||||
"description": "[EXPERIMENTAL] Types of materials that can exist above the target block. Valid types are Air, Water, and Lava."
|
||||
"description": "Types of materials that can exist above the target block. Valid types are Air, Water, and Lava."
|
||||
},
|
||||
"use_default_animation": {
|
||||
"title": "Use Default Animation",
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "[EXPERIMENTAL] Specifies if the default lay-egg animation should be played when the egg is placed or not."
|
||||
"description": "Specifies if the default lay-egg animation should be played when the egg is placed or not."
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
|
||||
@@ -45,8 +45,7 @@
|
||||
"item_table": {
|
||||
"title": "Item Table",
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "File path relative to the resource pack root for items to spawn list (loot table format)."
|
||||
"description": "File path relative to the behavior pack root for items to spawn list (loot table format)."
|
||||
},
|
||||
"on_digging_start": {
|
||||
"title": "On Digging Start",
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Sonic Boom",
|
||||
"description": "[EXPERIMENTAL BEHAVIOR] Plays the provided sounds and activates the `SONIC BOOM` actor flag during the specified duration",
|
||||
"description": "Plays the provided sounds and activates the `SONIC BOOM` actor flag during the specified duration",
|
||||
"properties": {
|
||||
"priority": { "$ref": "./types/priority.json" },
|
||||
"speed_multiplier": { "$ref": "types/speed_multiplier.json" },
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
"type": "number",
|
||||
"default": 45,
|
||||
"description": "The Maximum time in seconds that the trader will be interested with showing it's trade items.",
|
||||
"title": "Interest_time"
|
||||
"title": "Interest Time"
|
||||
},
|
||||
"remove_item_time": {
|
||||
"type": "number",
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
"title": "Condition"
|
||||
},
|
||||
"event_name": {
|
||||
"$ref": "../../../../general/sound_event.json",
|
||||
"type": "string",
|
||||
"description": "Level sound event to be played as the ambient sound.",
|
||||
"title": "Event Name"
|
||||
}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
"description": "The type of damage that is applied to entities that enter the damage range."
|
||||
},
|
||||
"damage_cooldown": {
|
||||
"title": "damage cooldown",
|
||||
"title": "Damage Cooldown",
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "Attack cooldown (in seconds) for how often this entity can attack a target."
|
||||
@@ -35,7 +35,7 @@
|
||||
"title": "Entity Filter"
|
||||
},
|
||||
"play_attack_sound": {
|
||||
"title": "play attack sound",
|
||||
"title": "Play Attack Sound",
|
||||
"type": "boolean",
|
||||
"default": 4.94066e-324,
|
||||
"description": "If the entity should play their attack sound when attacking a target."
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
},
|
||||
"effect_name": {
|
||||
"type": "string",
|
||||
"$ref": "../../../../general/vanilla/effect.json",
|
||||
"description": "Identifier of the status ailment to apply to an entity attacked by this entity's melee attack.",
|
||||
"examples": ["wither", "hunger"],
|
||||
"title": "Effect Name"
|
||||
},
|
||||
"effect_duration": {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.behavior.break_blocks",
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.break_blocks",
|
||||
"type": "object",
|
||||
"title": "Break Blocks",
|
||||
"additionalProperties": false,
|
||||
|
||||
@@ -92,7 +92,6 @@
|
||||
},
|
||||
"table": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "File path relative to the resource pack root for this entity's trades.",
|
||||
"title": "Table"
|
||||
},
|
||||
|
||||
@@ -11,23 +11,21 @@
|
||||
"properties": {
|
||||
"name": {
|
||||
"title": "Name",
|
||||
"description": "UNDOCUMENTED.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"description": "Effect name.",
|
||||
"$ref": "../../../../general/vanilla/effect.json",
|
||||
"type": "string"
|
||||
},
|
||||
"duration": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"minimum": 0,
|
||||
"description": "The duration of the effect.",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
"description": "The duration of the effect."
|
||||
},
|
||||
"amplifier": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"minimum": 0,
|
||||
"description": "The amplifier of the effect.",
|
||||
"$comment": "UNDOCUMENTED"
|
||||
"description": "The amplifier of the effect."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -65,7 +65,6 @@
|
||||
"interact_text": {
|
||||
"title": "Interact Text",
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Text to show when the player is able to interact in this way with this entity when playing with Touch-screen controls."
|
||||
},
|
||||
"on_interact": {
|
||||
@@ -98,13 +97,11 @@
|
||||
"play_sounds": {
|
||||
"title": "Play Sounds",
|
||||
"$ref": "../../../../general/sound_event.json",
|
||||
"default": "",
|
||||
"description": "List of sounds to play when the interaction occurs."
|
||||
},
|
||||
"spawn_entities": {
|
||||
"title": "Spawn Entities",
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "List of entities to spawn when the interaction occurs."
|
||||
},
|
||||
"spawn_items": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.item_controllable",
|
||||
"description": "Efines what items can be used to control this entity while ridden.",
|
||||
"description": "Defines what items can be used to control this entity while ridden.",
|
||||
"type": "object",
|
||||
"title": "Item Controllable",
|
||||
"additionalProperties": false,
|
||||
|
||||
@@ -30,16 +30,8 @@
|
||||
},
|
||||
"mob_effect": {
|
||||
"title": "Mob Effect",
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"$ref": "../../../../general/vanilla/effect.json",
|
||||
"description": "The mob effect that is applied to entities that enter this entities effect range."
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"effect_range": 0.2,
|
||||
"effect_time": 10,
|
||||
"mob_effect": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -12,13 +12,8 @@
|
||||
"uniqueItems": true,
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string"
|
||||
"$ref": "../../../../general/vanilla/effect.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{
|
||||
"mob_effects": [ "oozing" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -13,7 +13,6 @@
|
||||
"properties": {
|
||||
"name_filter": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "List of special names that will cause the events defined in `on_named` to fire.",
|
||||
"title": "Name Filter"
|
||||
},
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
},
|
||||
"filter": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Entity Definitions defined here can't be hurt by the projectile.",
|
||||
"title": "Filter"
|
||||
},
|
||||
@@ -129,7 +128,7 @@
|
||||
},
|
||||
"offset": {
|
||||
"type": "array",
|
||||
"default": [0, 0.0, 0],
|
||||
"default": [ 0, 0.0, 0 ],
|
||||
"description": "The offset from the entity's anchor where the projectile will spawn.",
|
||||
"title": "Offset",
|
||||
"$ref": "../../../../general/vectors/number3.json"
|
||||
@@ -221,7 +220,7 @@
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"shape": {
|
||||
"enum": ["sphere", "cube"],
|
||||
"enum": [ "sphere", "cube" ],
|
||||
"default": "sphere",
|
||||
"description": "The shape of the area that is frozen.",
|
||||
"title": "Shape"
|
||||
@@ -429,8 +428,7 @@
|
||||
},
|
||||
"effect": {
|
||||
"title": "Effect",
|
||||
"type": "string",
|
||||
"default": "not set",
|
||||
"$ref": "../../../../general/vanilla/effect.json",
|
||||
"description": "The identifier of the mob entity to affect."
|
||||
},
|
||||
"visible": {
|
||||
@@ -490,7 +488,7 @@
|
||||
"type": "object",
|
||||
"description": "Removes the projectile.",
|
||||
"additionalProperties": true,
|
||||
"properties": {}
|
||||
"properties": { }
|
||||
},
|
||||
"spawn_aoe_cloud": {
|
||||
"title": "Spawn AOE Cloud",
|
||||
@@ -696,7 +694,6 @@
|
||||
}
|
||||
},
|
||||
"examples": [
|
||||
{},
|
||||
{
|
||||
"anchor": 0,
|
||||
"angle_offset": 0,
|
||||
@@ -714,9 +711,9 @@
|
||||
"lightning": false,
|
||||
"liquid_inertia": 0.6,
|
||||
"multiple_targets": true,
|
||||
"offset": [],
|
||||
"offset": [ ],
|
||||
"on_fire_time": 5,
|
||||
"on_hit": {},
|
||||
"on_hit": { },
|
||||
"particle": "iconcrack",
|
||||
"potion_effect": -1,
|
||||
"power": 1.3,
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.shooter",
|
||||
"description": "Defines the entity's ranged attack behavior.",
|
||||
"$comment": "As of 1.19.60 & out of exp 1.20.10",
|
||||
"type": "object",
|
||||
"title": "Shooter",
|
||||
"additionalProperties": false,
|
||||
@@ -15,7 +14,6 @@
|
||||
"def": {
|
||||
"title": "Def",
|
||||
"type": "string",
|
||||
"examples": ["minecraft:arrow", "minecraft:small_fireball", "minecraft:thrown_trident"],
|
||||
"description": "Actor definition to use as projectile for the ranged attack. The actor definition must have the projectile component to be able to be shot as a projectile"
|
||||
},
|
||||
"magic": {
|
||||
|
||||
@@ -46,7 +46,6 @@
|
||||
},
|
||||
"spawn_entity": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "Identifier of the entity to spawn, leave empty to spawn the item defined above instead.",
|
||||
"title": "Spawn Entity"
|
||||
},
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
"description": "List of effects to add to this entity after adding this component.",
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{ "type": "string" },
|
||||
{ "$ref": "../../../../general/vanilla/effect.json" },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
@@ -41,7 +41,7 @@
|
||||
"description": "Boolean value. When set to true, applying this effect displays an animated graphic on-screen similar to the totem of undying effect. Obviously, this only works for players. Defaults to false."
|
||||
},
|
||||
"effect": {
|
||||
"type": "string",
|
||||
"$ref": "../../../../general/vanilla/effect.json",
|
||||
"title": "Effect",
|
||||
"description": "The string identifier of the status effect to add. These are the same as used in the /effect command."
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user