Update from 1.21.0 to 1.21.30 (#307)
* - Remove deprecated biome components * - Remove block hcf * - Add item specific destroy speeds * - Add owner distance filter * - Update scatter feature distribution property * - Add new entity components - Remove behavior.peek * - Add new item components - Remove hcf item stuff * - Remove volumes * - Add set_potion loot table function * - Mark fields as required * - Add item display transforms * - Add redstone conductivity block component * - Add is_navigating filter * - Fix move around target ref * - Add pack namespaced loot tables functions
This commit is contained in:
@@ -10,13 +10,54 @@
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"required": [ ],
|
||||
"properties": {
|
||||
"seconds_to_destroy": {
|
||||
"title": "Seconds To Destroy",
|
||||
"description": "Sets the number of seconds it takes to destroy the block with base equipment. Greater numbers result in greater mining times.",
|
||||
"type": "number",
|
||||
"default": 0.0
|
||||
},
|
||||
"item_specific_speeds": {
|
||||
"type": "array",
|
||||
"title": "Item Specific Destroy Speeds",
|
||||
"description": "Optional array of objects to describe item-specific block destroy speeds.",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"title": "Item Specific Destroy Speed",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [ "item", "destroy_speed" ],
|
||||
"properties": {
|
||||
"item": {
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "Item Identifer",
|
||||
"description": "ItemDescriptor filtering for the item used while mining.",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"description": "ItemDescriptor filtering for the item used while mining.",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"tags": {
|
||||
"title": "Tags",
|
||||
"description": "Molang or tag",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"destroy_speed": {
|
||||
"title": "Destroy Speed",
|
||||
"type": "number",
|
||||
"description": "Sets the number of seconds it takes to destroy the block with base equipment. Greater numbers result in greater mining times.",
|
||||
"minimum": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.minecraft.redstone_conductivity",
|
||||
"title": "Redstone Conductivity",
|
||||
"description": "The basic redstone properties of a block; if the component is not provided the default values are used. Requires the Upcoming Creator Features experiment.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [ ],
|
||||
"properties": {
|
||||
"allows_wire_to_step_down": {
|
||||
"title": "Allows Wire To Step Down",
|
||||
"description": "Specifies if redstone wire can stair-step downward on the block.",
|
||||
"type": "boolean",
|
||||
"default": true
|
||||
},
|
||||
"redstone_conductor": {
|
||||
"title": "Redstone Conductor",
|
||||
"description": "Specifies if the block can be powered by redstone.",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.block.events",
|
||||
"title": "Events",
|
||||
"description": "UNDOCUMENTED.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"minecraft:on_fall_on": { "$ref": "#/definitions/event_base" },
|
||||
"minecraft:on_interact": { "$ref": "#/definitions/event_base" },
|
||||
"minecraft:on_placed": { "$ref": "#/definitions/event_base" },
|
||||
"minecraft:on_player_destroyed": { "$ref": "#/definitions/event_base" },
|
||||
"minecraft:on_player_placing": { "$ref": "#/definitions/event_base" },
|
||||
"minecraft:on_step_off": { "$ref": "#/definitions/event_base" },
|
||||
"minecraft:on_step_on": { "$ref": "#/definitions/event_base" }
|
||||
},
|
||||
"definitions": {
|
||||
"event_base": {
|
||||
"title": "Event",
|
||||
"description": "UNDOCUMENTED.",
|
||||
"$comment": "UNDOCUMENTED",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"condition": {
|
||||
"title": "Condition",
|
||||
"description": "The condition of event to be executed on the block.",
|
||||
"type": "string"
|
||||
},
|
||||
"event": {
|
||||
"title": "Event",
|
||||
"description": "The event executed on the block.",
|
||||
"type": "string"
|
||||
},
|
||||
"target": {
|
||||
"title": "Target",
|
||||
"description": "The target of event executed on the block.",
|
||||
"type": "string",
|
||||
"default": "self"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.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" }
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.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" }
|
||||
}
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.block.events.decrement_stack",
|
||||
"type": "object",
|
||||
"description": "Decrement item stack.",
|
||||
"title": "Decrement Stack",
|
||||
"additionalProperties": false,
|
||||
"properties": {}
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.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" } }
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.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" }
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.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" }
|
||||
}
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.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" }
|
||||
}
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.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" }
|
||||
}
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.block.events.set_block",
|
||||
"type": "object",
|
||||
"description": "Sets this block to another block type.",
|
||||
"title": "Set Block",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"block_type": {
|
||||
"$ref": "../../../../general/block/reference.json",
|
||||
"default": "",
|
||||
"description": "The type of block to set.",
|
||||
"title": "Block Type"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.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": {
|
||||
"$ref": "../../../../general/block/reference.json",
|
||||
"default": "",
|
||||
"description": "The type of block to set.",
|
||||
"title": "Block Type"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.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" } }
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.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" }
|
||||
}
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.block.events.swing",
|
||||
"type": "object",
|
||||
"description": "Event causes the actor to swing.",
|
||||
"title": "Swing",
|
||||
"additionalProperties": false,
|
||||
"properties": {}
|
||||
}
|
||||
@@ -1,42 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.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": "Maximum range the target can teleport relative to the origin destination.",
|
||||
"title": "Maximum 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" }
|
||||
}
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.block.events.transform_item",
|
||||
"type": "object",
|
||||
"description": "Transforms item into another item.",
|
||||
"title": "Transform Item",
|
||||
"additionalProperties": false,
|
||||
"properties": { "transform": { "type": "string", "description": "Name of the item it should transform into.", "title": "Transform" } }
|
||||
}
|
||||
@@ -5,7 +5,7 @@
|
||||
"description": "A custom block definition.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["description", "components"],
|
||||
"required": [ "description", "components" ],
|
||||
"definitions": {
|
||||
"components_ref": {
|
||||
"type": "object",
|
||||
@@ -29,22 +29,12 @@
|
||||
"minecraft:map_color": { "$ref": "./components/map_color.json" },
|
||||
"minecraft:material_instances": { "$ref": "./components/material_instances.json" },
|
||||
"minecraft:placement_filter": { "$ref": "./components/placement_filter.json" },
|
||||
"minecraft:redstone_conductivity": { "$ref": "./components/redstone_conductivity.json" },
|
||||
"minecraft:selection_box": { "$ref": "./components/selection_box.json" },
|
||||
"minecraft:transformation": { "$ref": "./components/transformation.json" },
|
||||
"minecraft:custom_components": { "$ref": "./components/custom_components.json" },
|
||||
"minecraft:tick": { "$ref": "./components/tick.json" },
|
||||
"minecraft:entity_fall_on": { "$ref": "./components/entity_fall_on.json" },
|
||||
|
||||
//Triggers
|
||||
"minecraft:on_fall_on": { "$ref": "./triggers/on_fall_on.json" },
|
||||
"minecraft:on_interact": { "$ref": "./triggers/on_interact.json" },
|
||||
"minecraft:on_placed": { "$ref": "./triggers/on_placed.json" },
|
||||
"minecraft:on_player_destroyed": { "$ref": "./triggers/on_player_destroyed.json" },
|
||||
"minecraft:on_player_placing": { "$ref": "./triggers/on_player_placing.json" },
|
||||
"minecraft:on_step_off": { "$ref": "./triggers/on_step_off.json" },
|
||||
"minecraft:on_step_on": { "$ref": "./triggers/on_step_on.json" },
|
||||
"minecraft:queued_ticking": { "$ref": "./triggers/queued_ticking.json" },
|
||||
"minecraft:random_ticking": { "$ref": "./triggers/random_ticking.json" }
|
||||
"minecraft:entity_fall_on": { "$ref": "./components/entity_fall_on.json" }
|
||||
},
|
||||
"patternProperties": {
|
||||
"tag:.+": {
|
||||
@@ -88,7 +78,7 @@
|
||||
"description": "The description for this block.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["identifier"],
|
||||
"required": [ "identifier" ],
|
||||
"properties": {
|
||||
"identifier": {
|
||||
"title": "Identifier",
|
||||
@@ -100,9 +90,9 @@
|
||||
"title": "Menu Category",
|
||||
"description": "Specifies the menu category and group for the block, which determine where this block is placed in the inventory and crafting table container screens. If this field is omitted, the block will not appear in the inventory or crafting table container screens.",
|
||||
"type": "object",
|
||||
"examples": [{ "category": "construction" }],
|
||||
"examples": [ { "category": "construction" } ],
|
||||
"additionalProperties": false,
|
||||
"required": ["category"],
|
||||
"required": [ "category" ],
|
||||
"properties": {
|
||||
"category": {
|
||||
"$ref": "../../../general/vanilla/creative_category.json"
|
||||
@@ -122,7 +112,6 @@
|
||||
"traits": { "$ref": "#/definitions/traits_ref" }
|
||||
}
|
||||
},
|
||||
"events": { "$ref": "./events.json" },
|
||||
"components": { "$ref": "#/definitions/components_ref" },
|
||||
"permutations": {
|
||||
"type": "array",
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.minecraft.on_fall_on",
|
||||
"type": "object",
|
||||
"title": "On Fall On",
|
||||
"description": "[Experimental] Describes event for this block.",
|
||||
"properties": {
|
||||
"condition": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The condition of event to be executed on the block.",
|
||||
"title": "Condition"
|
||||
},
|
||||
"event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" },
|
||||
"min_fall_distance": {
|
||||
"type": "number",
|
||||
"default": 0,
|
||||
"description": "The minimum distance in blocks that an actor needs to fall to trigger this event.",
|
||||
"title": "Minimum Fall Distance"
|
||||
},
|
||||
"target": {
|
||||
"type": "string",
|
||||
"default": "self",
|
||||
"description": "The target of event executed on the block.",
|
||||
"title": "Target"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.minecraft.on_interact",
|
||||
"type": "object",
|
||||
"title": "On Fall On",
|
||||
"description": "[Experimental] Describes event for this block.",
|
||||
"properties": {
|
||||
"condition": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The condition of event to be executed on the block.",
|
||||
"title": "Condition"
|
||||
},
|
||||
"event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" },
|
||||
"target": {
|
||||
"type": "string",
|
||||
"default": "self",
|
||||
"description": "The target of event executed on the block.",
|
||||
"title": "Target"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.minecraft.on_placed",
|
||||
"type": "object",
|
||||
"title": "On Placed",
|
||||
"description": "[Experimental] Describes event for this block.",
|
||||
"properties": {
|
||||
"condition": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The condition of event to be executed on the block.",
|
||||
"title": "Condition"
|
||||
},
|
||||
"event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" },
|
||||
"target": {
|
||||
"type": "string",
|
||||
"default": "self",
|
||||
"description": "The target of event executed on the block.",
|
||||
"title": "Target"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.minecraft.on_player_destroyed",
|
||||
"type": "object",
|
||||
"title": "On Player Destroyed",
|
||||
"description": "[Experimental] Describes event for this block.",
|
||||
"properties": {
|
||||
"condition": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The condition of event to be executed on the block.",
|
||||
"title": "Condition"
|
||||
},
|
||||
"event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" },
|
||||
"target": {
|
||||
"type": "string",
|
||||
"default": "self",
|
||||
"description": "The target of event executed on the block.",
|
||||
"title": "Target"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.minecraft.on_player_placing",
|
||||
"type": "object",
|
||||
"title": "On Player Placing",
|
||||
"description": "[Experimental] Describes event for this block.",
|
||||
"properties": {
|
||||
"condition": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The condition of event to be executed on the block.",
|
||||
"title": "Condition"
|
||||
},
|
||||
"event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" },
|
||||
"target": {
|
||||
"type": "string",
|
||||
"default": "self",
|
||||
"description": "The target of event executed on the block.",
|
||||
"title": "Target"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.minecraft.on_step_off",
|
||||
"type": "object",
|
||||
"title": "On Step Off",
|
||||
"description": "[Experimental] Describes event for this block.",
|
||||
"properties": {
|
||||
"condition": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The condition of event to be executed on the block.",
|
||||
"title": "Condition"
|
||||
},
|
||||
"event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" },
|
||||
"target": {
|
||||
"type": "string",
|
||||
"default": "self",
|
||||
"description": "The target of event executed on the block.",
|
||||
"title": "Target"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.minecraft.on_step_on",
|
||||
"type": "object",
|
||||
"title": "On Step On",
|
||||
"description": "[Experimental] Describes event for this block.",
|
||||
"properties": {
|
||||
"condition": {
|
||||
"type": "string",
|
||||
"default": "",
|
||||
"description": "The condition of event to be executed on the block.",
|
||||
"title": "Condition"
|
||||
},
|
||||
"event": { "type": "string", "default": "", "description": "The event executed on the block.", "title": "Event" },
|
||||
"target": {
|
||||
"type": "string",
|
||||
"default": "self",
|
||||
"description": "The target of event executed on the block.",
|
||||
"title": "Target"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.minecraft.queued_ticking",
|
||||
"title": "Queued Ticking",
|
||||
"description": "[Experimental] Describes the component that will trigger an even at a regular interval between two values.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"on_tick": {
|
||||
"title": "On Tick",
|
||||
"description": "Describes the component that will trigger an even at a regular interval between two values.",
|
||||
"type": "string",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"condition": {
|
||||
"title": "Condition",
|
||||
"type": "string",
|
||||
"default": "1",
|
||||
"description": "The condition of event to be executed on the block. Molang"
|
||||
},
|
||||
"event": {
|
||||
"title": "Event",
|
||||
"type": "string",
|
||||
"default": "set_block_property",
|
||||
"description": "The type of event executed on the block."
|
||||
},
|
||||
"range": { "title": "Range", "type": "array", "items": [{ "type": "integer" }, { "type": "integer" }] },
|
||||
"target": {
|
||||
"title": "Target",
|
||||
"description": "The target of event executed on the block.",
|
||||
"type": "string",
|
||||
"enum": ["block", "damager", "other", "parent", "player", "self", "target"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"looping": { "type": "boolean", "default": true, "description": "Does the event loop.", "title": "Looping" },
|
||||
"range": {
|
||||
"type": "array",
|
||||
"default": [10, 10],
|
||||
"description": "The Range between which the component will trigger his event.",
|
||||
"title": "Range"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.minecraft.random_ticking",
|
||||
"title": "Random Ticking",
|
||||
"description": "[Experimental] Triggers the specified event randomly based on the random tick speed gamerule. The random tick speed determines how often blocks are updated.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"on_tick": {
|
||||
"title": "On Tick",
|
||||
"description": "the event that will be triggered on random ticks."
|
||||
},
|
||||
"condition": {
|
||||
"title": "Condition",
|
||||
"type": "string",
|
||||
"default": "1",
|
||||
"description": "A condition using Molang queries that results to true/false. If true on the random tick, the event will be triggered. If false on the random tick, the event will not be triggered."
|
||||
},
|
||||
"event": {
|
||||
"title": "Event",
|
||||
"type": "string",
|
||||
"default": "set_block_property",
|
||||
"description": "The event that will be triggered."
|
||||
},
|
||||
"target": {
|
||||
"title": "Target",
|
||||
"type": "string",
|
||||
"default": "self",
|
||||
"description": "The target of the event executed by the block"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user