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:
@@ -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