Updated
This commit is contained in:
@@ -3,32 +3,12 @@
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.add_mob_effect",
|
||||
"type": "object",
|
||||
"description": "Apply mob effect to target.",
|
||||
"title": "Add mob effect",
|
||||
"title": "Add Mob Effect",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"amplifier": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The amplifier for the mob effect.",
|
||||
"title": "Amplifier"
|
||||
},
|
||||
"duration": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The duration of the mob effect.",
|
||||
"title": "Duration"
|
||||
},
|
||||
"effect": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The mob effect to apply.",
|
||||
"title": "Effect"
|
||||
},
|
||||
"target": {
|
||||
"type": "object",
|
||||
"default": "self",
|
||||
"description": "The target context to execute against.",
|
||||
"title": "Target"
|
||||
}
|
||||
"amplifier": { "type": "integer", "default": 0, "description": "The amplifier for the mob effect.", "title": "Amplifier" },
|
||||
"duration": { "type": "number", "default": 0, "description": "The duration of the mob effect.", "title": "Duration" },
|
||||
"effect": { "type": "string", "default": "", "description": "The mob effect to apply.", "title": "Effect" },
|
||||
"target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,23 +6,8 @@
|
||||
"title": "Damage",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"amount": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "The amount of damage to deal.",
|
||||
"title": "Amount"
|
||||
},
|
||||
"target": {
|
||||
"type": "object",
|
||||
"default": "self",
|
||||
"description": "The target context to execute against.",
|
||||
"title": "Target"
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The type of damage to deal.",
|
||||
"title": "Type"
|
||||
}
|
||||
"amount": { "type": "integer", "default": 0, "description": "The amount of damage to deal.", "title": "Amount" },
|
||||
"target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" },
|
||||
"type": { "type": "string", "default": "", "description": "The type of damage to deal.", "title": "Type" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.decrement_stack",
|
||||
"type": "object",
|
||||
"description": "Decrement item stack.",
|
||||
"title": "Decrement stack",
|
||||
"title": "Decrement Stack",
|
||||
"additionalProperties": false,
|
||||
"properties": {}
|
||||
}
|
||||
|
||||
@@ -5,12 +5,5 @@
|
||||
"description": "Kill target. If target is self and this is run from a block then destroy the block.",
|
||||
"title": "Die",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"target": {
|
||||
"type": "object",
|
||||
"default": "self",
|
||||
"description": "The target context to execute against.",
|
||||
"title": "Target"
|
||||
}
|
||||
}
|
||||
"properties": { "target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" } }
|
||||
}
|
||||
|
||||
@@ -3,26 +3,11 @@
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.play_effect",
|
||||
"type": "object",
|
||||
"description": "Spawns a particle effect relative to target position.",
|
||||
"title": "Play effect",
|
||||
"title": "Play Effect",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"data": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "Particle data value.",
|
||||
"title": "Data"
|
||||
},
|
||||
"effect": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The name of the particle effect to create.",
|
||||
"title": "Effect"
|
||||
},
|
||||
"target": {
|
||||
"type": "object",
|
||||
"default": "self",
|
||||
"description": "The target context to execute against.",
|
||||
"title": "Target"
|
||||
}
|
||||
"data": { "type": "integer", "default": 0, "description": "Particle data value.", "title": "Data" },
|
||||
"effect": { "type": "string", "default": "", "description": "The name of the particle effect to create.", "title": "Effect" },
|
||||
"target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,17 +6,7 @@
|
||||
"title": "Playsound",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"sound": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The name of the sound to play.",
|
||||
"title": "Sound"
|
||||
},
|
||||
"target": {
|
||||
"type": "object",
|
||||
"default": "self",
|
||||
"description": "The target context to execute against.",
|
||||
"title": "Target"
|
||||
}
|
||||
"sound": { "type": "string", "default": "", "description": "The name of the sound to play.", "title": "Sound" },
|
||||
"target": { "type": "object", "default": "self", "description": "The target context to execute against.", "title": "Target" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,20 +3,10 @@
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.remove_mob_effect",
|
||||
"type": "object",
|
||||
"description": "Removes mob effect from target.",
|
||||
"title": "Remove mob effect",
|
||||
"title": "Remove Mob Effect",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"effect": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The mob effect to remove. Use 'all' to remove all mob effects from target.",
|
||||
"title": "Effect"
|
||||
},
|
||||
"target": {
|
||||
"type": "string",
|
||||
"default": "self",
|
||||
"description": "The target context to execute against.",
|
||||
"title": "Target"
|
||||
}
|
||||
"effect": { "type": "string", "default": "", "description": "The mob effect to remove. Use 'all' to remove all mob effects from target.", "title": "Effect" },
|
||||
"target": { "type": "string", "default": "self", "description": "The target context to execute against.", "title": "Target" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,30 +3,15 @@
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.run_command",
|
||||
"type": "object",
|
||||
"description": "Triggers a slash command or a list of slash commands.",
|
||||
"title": "Run command",
|
||||
"title": "Run Command",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"command": {
|
||||
"default": "",
|
||||
"description": "Slash command to run.",
|
||||
"title": "Command",
|
||||
"oneof": [
|
||||
{ "type": "string" },
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"title": "Command",
|
||||
"description": "Slash command to run."
|
||||
}
|
||||
}
|
||||
]
|
||||
"oneof": [{ "type": "string" }, { "type": "array", "items": { "type": "string", "title": "Command", "description": "Slash command to run." } }]
|
||||
},
|
||||
"target": {
|
||||
"type": "string",
|
||||
"default": "self",
|
||||
"description": "The target context to execute against.",
|
||||
"title": "Target"
|
||||
}
|
||||
"target": { "type": "string", "default": "self", "description": "The target context to execute against.", "title": "Target" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,14 +3,7 @@
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.set_block",
|
||||
"type": "object",
|
||||
"description": "Sets this block to another block type.",
|
||||
"title": "Set block",
|
||||
"title": "Set Block",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"block_type": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The type of block to set.",
|
||||
"title": "Block type"
|
||||
}
|
||||
}
|
||||
"properties": { "block_type": { "type": "string", "default": "", "description": "The type of block to set.", "title": "Block Type" } }
|
||||
}
|
||||
|
||||
@@ -3,25 +3,20 @@
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.set_block_at_pos",
|
||||
"type": "object",
|
||||
"description": "Sets a block relative to this block to another block type.",
|
||||
"title": "Set block at pos",
|
||||
"title": "Set Block At Pos",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"block_offset": {
|
||||
"type": "array",
|
||||
"default": [0.0, 0.0, 0.0],
|
||||
"description": "The offset from the block's center.",
|
||||
"title": "Block offset",
|
||||
"title": "Block Offset",
|
||||
"items": [
|
||||
{ "type": "number", "title": "X", "description": "The x offset from the block's center." },
|
||||
{ "type": "number", "title": "Y", "description": "The y offset from the block's center." },
|
||||
{ "type": "number", "title": "Z", "description": "The z offset from the block's center." }
|
||||
]
|
||||
},
|
||||
"block_type": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The type of block to set.",
|
||||
"title": "Block type"
|
||||
}
|
||||
"block_type": { "type": "string", "default": "", "description": "The type of block to set.", "title": "Block Type" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,13 +3,7 @@
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.set_block_property",
|
||||
"type": "object",
|
||||
"description": "Sets a block property on this block",
|
||||
"title": "Set block property",
|
||||
"title": "Set Block Property",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"property": {
|
||||
"type": "string",
|
||||
"description": "Block property to set on the block.",
|
||||
"title": "Property"
|
||||
}
|
||||
}
|
||||
"properties": { "property": { "type": "string", "description": "Block property to set on the block.", "title": "Property" } }
|
||||
}
|
||||
|
||||
@@ -3,14 +3,8 @@
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.spawn_loot",
|
||||
"type": "object",
|
||||
"description": "Spawn loot from block.",
|
||||
"title": "Spawn loot",
|
||||
"title": "Spawn Loot",
|
||||
"required": ["table"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"table": {
|
||||
"type": "string",
|
||||
"description": "File path, relative to the Behavior Pack's path, to the loot table file.",
|
||||
"title": "Table"
|
||||
}
|
||||
}
|
||||
"properties": { "table": { "type": "string", "description": "File path, relative to the Behavior Pack's path, to the loot table file.", "title": "Table" } }
|
||||
}
|
||||
|
||||
@@ -6,12 +6,7 @@
|
||||
"title": "Teleport",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"avoid_water": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Determines if the teleport avoids putting the target in water.",
|
||||
"title": "Avoid water"
|
||||
},
|
||||
"avoid_water": { "type": "boolean", "default": true, "description": "Determines if the teleport avoids putting the target in water.", "title": "Avoid Water" },
|
||||
"destination": {
|
||||
"default": [0.0, 0.0, 0.0],
|
||||
"description": "Origin destination of the teleport.",
|
||||
@@ -22,27 +17,17 @@
|
||||
{ "type": "number", "title": "Z", "description": "The z offset from the block's center." }
|
||||
]
|
||||
},
|
||||
"land_on_block": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"description": "Determines if the teleport places the target on a block.",
|
||||
"title": "Land on block"
|
||||
},
|
||||
"land_on_block": { "type": "boolean", "default": true, "description": "Determines if the teleport places the target on a block.", "title": "Land On Block" },
|
||||
"max_range": {
|
||||
"default": [8.0, 8.0, 8.0],
|
||||
"description": "Max range the target can teleport relative to the origin destination.",
|
||||
"title": "Max range",
|
||||
"title": "Max Range",
|
||||
"items": [
|
||||
{ "type": "number", "title": "X", "description": "The x offset from the block's center." },
|
||||
{ "type": "number", "title": "Y", "description": "The y offset from the block's center." },
|
||||
{ "type": "number", "title": "Z", "description": "The z offset from the block's center." }
|
||||
]
|
||||
},
|
||||
"target": {
|
||||
"type": "string",
|
||||
"default": "self",
|
||||
"description": "The target context to execute against.",
|
||||
"title": "Target"
|
||||
}
|
||||
"target": { "type": "string", "default": "self", "description": "The target context to execute against.", "title": "Target" }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,13 +3,7 @@
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.transform_item",
|
||||
"type": "object",
|
||||
"description": "Transforms item into another item.",
|
||||
"title": "Transform item 1.16.100",
|
||||
"title": "Transform Item 1.16.100",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"transform": {
|
||||
"type": "string",
|
||||
"description": "Name of the item it should transform into",
|
||||
"title": "Transform"
|
||||
}
|
||||
}
|
||||
"properties": { "transform": { "type": "string", "description": "Name of the item it should transform into", "title": "Transform" } }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user