Moved to source folder
This commit is contained in:
34
source/behaviour/blocks/1.16.100/events/add_mob_effect.json
Normal file
34
source/behaviour/blocks/1.16.100/events/add_mob_effect.json
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
28
source/behaviour/blocks/1.16.100/events/damage.json
Normal file
28
source/behaviour/blocks/1.16.100/events/damage.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.decrement_stack",
|
||||
"type": "object",
|
||||
"description": "Decrement item stack.",
|
||||
"title": "Decrement stack",
|
||||
"additionalProperties": false,
|
||||
"properties": {}
|
||||
}
|
||||
16
source/behaviour/blocks/1.16.100/events/die.json
Normal file
16
source/behaviour/blocks/1.16.100/events/die.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
28
source/behaviour/blocks/1.16.100/events/play_effect.json
Normal file
28
source/behaviour/blocks/1.16.100/events/play_effect.json
Normal file
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$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",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
22
source/behaviour/blocks/1.16.100/events/play_sound.json
Normal file
22
source/behaviour/blocks/1.16.100/events/play_sound.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
32
source/behaviour/blocks/1.16.100/events/run_command.json
Normal file
32
source/behaviour/blocks/1.16.100/events/run_command.json
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$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",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
16
source/behaviour/blocks/1.16.100/events/set_block.json
Normal file
16
source/behaviour/blocks/1.16.100/events/set_block.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$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",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$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",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"property": {
|
||||
"type": "string",
|
||||
"description": "Block property to set on the block.",
|
||||
"title": "Property"
|
||||
}
|
||||
}
|
||||
}
|
||||
16
source/behaviour/blocks/1.16.100/events/spawn_loot.json
Normal file
16
source/behaviour/blocks/1.16.100/events/spawn_loot.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
9
source/behaviour/blocks/1.16.100/events/swing.json
Normal file
9
source/behaviour/blocks/1.16.100/events/swing.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.block.events.swing",
|
||||
"type": "object",
|
||||
"description": "Event causes the actor to swing.",
|
||||
"title": "Swing",
|
||||
"additionalProperties": false,
|
||||
"properties": {}
|
||||
}
|
||||
48
source/behaviour/blocks/1.16.100/events/teleport.json
Normal file
48
source/behaviour/blocks/1.16.100/events/teleport.json
Normal file
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
15
source/behaviour/blocks/1.16.100/events/transform_item.json
Normal file
15
source/behaviour/blocks/1.16.100/events/transform_item.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$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",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"transform": {
|
||||
"type": "string",
|
||||
"description": "Name of the item it should transform into",
|
||||
"title": "Transform"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user