This commit is contained in:
DaanV2
2021-04-04 13:52:35 +02:00
parent f23e8aae6b
commit 75bd662053
952 changed files with 1050 additions and 1026 deletions

View File

@@ -0,0 +1,14 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.1.16.100.block.events.add_mob_effect",
"type": "object",
"description": "Apply mob effect to target.",
"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" }
}
}

View File

@@ -0,0 +1,13 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.1.16.100.block.events.damage",
"type": "object",
"description": "Deals damage to the target.",
"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" }
}
}

View File

@@ -0,0 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.1.16.100.block.events.decrement_stack",
"type": "object",
"description": "Decrement item stack.",
"title": "Decrement Stack",
"additionalProperties": false,
"properties": {}
}

View File

@@ -0,0 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.1.16.100.block.events.die",
"type": "object",
"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" } }
}

View File

@@ -0,0 +1,13 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.1.16.100.block.events.play_effect",
"type": "object",
"description": "Spawns a particle effect relative to target position.",
"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" }
}
}

View File

@@ -0,0 +1,12 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.1.16.100.block.events.playsound",
"type": "object",
"description": "Play a sound relative to target position.",
"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" }
}
}

View File

@@ -0,0 +1,12 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.1.16.100.block.events.remove_mob_effect",
"type": "object",
"description": "Removes mob effect from target.",
"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" }
}
}

View File

@@ -0,0 +1,17 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.1.16.100.block.events.run_command",
"type": "object",
"description": "Triggers a slash command or a list of slash commands.",
"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." } }]
},
"target": { "type": "string", "default": "self", "description": "The target context to execute against.", "title": "Target" }
}
}

View File

@@ -0,0 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.1.16.100.block.events.set_block",
"type": "object",
"description": "Sets this block to another block type.",
"title": "Set Block",
"additionalProperties": false,
"properties": { "block_type": { "type": "string", "default": "", "description": "The type of block to set.", "title": "Block Type" } }
}

View File

@@ -0,0 +1,22 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.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",
"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",
"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" }
}
}

View File

@@ -0,0 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.1.16.100.block.events.set_block_property",
"type": "object",
"description": "Sets a block property on this block",
"title": "Set Block Property",
"additionalProperties": false,
"properties": { "property": { "type": "string", "description": "Block property to set on the block.", "title": "Property" } }
}

View File

@@ -0,0 +1,10 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.1.16.100.block.events.spawn_loot",
"type": "object",
"description": "Spawn loot from block.",
"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" } }
}

View File

@@ -0,0 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.1.16.100.block.events.swing",
"type": "object",
"description": "Event causes the actor to swing.",
"title": "Swing",
"additionalProperties": false,
"properties": {}
}

View File

@@ -0,0 +1,33 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.1.16.100.block.events.teleport",
"type": "object",
"description": "Teleport target randomly around destination point.",
"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" },
"destination": {
"default": [0.0, 0.0, 0.0],
"description": "Origin destination of the teleport.",
"title": "Destination",
"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." }
]
},
"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",
"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" }
}
}

View File

@@ -0,0 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.1.16.100.block.events.transform_item",
"type": "object",
"description": "Transforms item into another item.",
"title": "Transform Item 1.16.100",
"additionalProperties": false,
"properties": { "transform": { "type": "string", "description": "Name of the item it should transform into", "title": "Transform" } }
}