Added 1.16.200 block components

This commit is contained in:
DaanV2
2021-01-05 10:41:43 +01:00
parent 86d2fe098c
commit 26b51c8a26
47 changed files with 265 additions and 52 deletions

View File

@@ -44,6 +44,19 @@
"default": false,
"description": "Whether or not to register this block to the creative inventory menu.",
"title": "Register to creative menu"
},
"properties": {
"title": "properties",
"description": "UNDOCUMENATED",
"propertyNames": {
"pattern": "%([a-zA-Z0-9_]+:[a-zA-Z0-9_\\-]+)&"
},
"additionalProperties": {
"oneOf": [
{ "type": "array", "oneOf": [{ "type": "boolean" }, { "type": "number" }, { "type": "integer" }, { "type": "string" }] },
{ "type": "object" }
]
}
}
}
},
@@ -52,6 +65,14 @@
"title": "Component",
"description": "",
"properties": {
"minecraft:on_fall_on": { "$ref": "./components/minecraft.on_fall_on.json" },
"minecraft:on_interact": { "$ref": "./components/minecraft.on_interact.json" },
"minecraft:on_placed": { "$ref": "./components/minecraft.on_placed.json" },
"minecraft:on_player_destroyed": { "$ref": "./components/minecraft.on_player_destroyed.json" },
"minecraft:on_player_placing": { "$ref": "./components/minecraft.on_player_placing.json" },
"minecraft:on_step_off": { "$ref": "./components/minecraft.on_step_off.json" },
"minecraft:on_step_on": { "$ref": "./components/minecraft.on_step_on.json" },
"minecraft:block_light_absorption": { "$ref": "./components/minecraft.block_light_absorption.json" },
"minecraft:block_light_emission": { "$ref": "./components/minecraft.block_light_emission.json" },
"minecraft:breakonpush": { "$ref": "./components/minecraft.breakonpush.json" },
@@ -78,10 +99,7 @@
}
},
"events": {
"type": "object",
"additionalProperties": {
}
"$ref": "./events.json"
}
}
}

View File

@@ -1,9 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.block_light_absorption",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.block_light_absorption",
"additionalProperties": false,
"type": "integer",
"title": "Block light absorption 1.10.0",
"title": "Block light absorption 1.16.200",
"description": "The amount of light this block will absorb.",
"default": 0
}

View File

@@ -1,9 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.block_light_emission",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.block_light_emission",
"additionalProperties": false,
"type": "number",
"title": "Block light emission 1.10.0",
"title": "Block light emission 1.16.200",
"description": "The amount of light this block will emit in a range [0.0, 1.0].",
"minimum": 0,
"maximum": 1,

View File

@@ -1,8 +1,8 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.breakonpush",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.breakonpush",
"additionalProperties": false,
"type": "boolean",
"title": "Break on push 1.10.0",
"title": "Break on push 1.16.200",
"description": "When pushed by a piston the block breaks."
}

View File

@@ -1,9 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.breathability",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.breathability",
"additionalProperties": false,
"type": "string",
"title": "Breathability 1.10.0",
"title": "Breathability 1.16.200",
"description": "Property describing the breathability of this block and whether it is treated as a solid or as air.",
"enum": ["solid", "air"],
"default": "solid"

View File

@@ -1,8 +1,8 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.destroy_time",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.destroy_time",
"additionalProperties": false,
"type": "number",
"title": "Destroy time 1.10.0",
"title": "Destroy time 1.16.200",
"description": "Sets the destroy time property for the block. Greater numbers result in greater mining times."
}

View File

@@ -1,8 +1,8 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.display_name",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.display_name",
"additionalProperties": false,
"type": "string",
"title": "Display name 1.10.0",
"title": "Display name 1.16.200",
"description": "Specifies the display name id for the block."
}

View File

@@ -1,8 +1,8 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.entity_collision",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.entity_collision",
"additionalProperties": false,
"title": "Entity collision 1.10.0",
"title": "Entity collision 1.16.200",
"description": "Can only be set to false, it disables the collision of the block with entities.",
"oneOf": [
{ "type": "boolean", "const": false },

View File

@@ -1,9 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.explosion_resistance",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.explosion_resistance",
"additionalProperties": false,
"type": "number",
"title": "Explosion resistance 1.10.0",
"title": "Explosion resistance 1.16.200",
"description": "Sets the explosion resistance for this block.",
"default": 0.0
}

View File

@@ -1,9 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.flammable",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.flammable",
"additionalProperties": false,
"type": "object",
"title": "Flammable 1.10.0",
"title": "Flammable 1.16.200",
"description": "Describes the flammable properties for this block.",
"additionalItems": false,
"properties": {

View File

@@ -1,9 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.friction",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.friction",
"additionalProperties": false,
"type": "number",
"title": "Friction 1.10.0",
"title": "Friction 1.16.200",
"description": "Property describing the friction for this block. Friction effects an entities movements when it walks on the block.",
"default": 0.1
}

View File

@@ -1,9 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.geometry",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.geometry",
"additionalProperties": false,
"type": "string",
"title": "Geometry 1.10.0",
"title": "Geometry 1.16.200",
"description": "The geometry definition name to use.",
"pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$"
}

View File

@@ -1,8 +1,8 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.immovable",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.immovable",
"additionalProperties": false,
"type": "boolean",
"title": "Immovable 1.10.0",
"title": "Immovable 1.16.200",
"description": "An Immovable block cannot be pushed by pistons"
}

View File

@@ -1,9 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.loot",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.loot",
"additionalProperties": false,
"type": "string",
"title": "Loot 1.10.0",
"title": "Loot 1.16.200",
"description": "The path of the loot table that this component will use when the block is destroyed.",
"pattern": "loot_tables/.*\\.json$"
}

View File

@@ -1,9 +1,9 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.map_color",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.map_color",
"additionalProperties": false,
"type": "string",
"title": "Map color 1.10.0",
"title": "Map color 1.16.200",
"description": "A color represented as a hex value. This will be the color rendered to a map.",
"format": "color-hex"
}

View File

@@ -1,8 +1,8 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.material_instances",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.material_instances",
"type": "object",
"title": "Material instances 1.10.0",
"title": "Material instances 1.16.200",
"description": "Maps face or material_instance names in a geometry file to an actual material instance. Material instance can either be a full material instance or a name to another already defined instance",
"definitions": {
"material_instance": {

View File

@@ -0,0 +1,33 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.on_fall_on",
"type": "object",
"title": "On fall on",
"description": "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": "min fall distance"
},
"target": {
"type": "string",
"default": "self",
"description": "The target of event executed on the block.",
"title": "target"
}
}
}

View File

@@ -0,0 +1,27 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.on_interact",
"type": "object",
"title": "On fall on",
"description": "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"
}
}
}

View File

@@ -0,0 +1,27 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.on_placed",
"type": "object",
"title": "On placed 1.16.200",
"description": "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"
}
}
}

View File

@@ -0,0 +1,27 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.on_player_destroyed",
"type": "object",
"title": "On player destroyed 1.16.200",
"description": "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"
}
}
}

View File

@@ -0,0 +1,27 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.on_player_placing",
"type": "object",
"title": "On player placing 1.16.200",
"description": "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"
}
}
}

View File

@@ -0,0 +1,27 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.on_step_off",
"type": "object",
"title": "On step off 1.16.200",
"description": "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"
}
}
}

View File

@@ -0,0 +1,27 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.on_step_on",
"type": "object",
"title": "On step on 1.16.200",
"description": "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"
}
}
}

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.onlypistonpush",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.onlypistonpush",
"type": "boolean",
"title": "Only piston push 1.10.0",
"title": "Only piston push 1.16.200",
"description": "Blocks with those components won't stick to stickyPistons"
}

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.pick_collision",
"title": "Pick collision 1.10.0",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.pick_collision",
"title": "Pick collision 1.16.200",
"description": "Can only be set to false, it disables the collision of the block with entities",
"oneOf": [
{ "type": "boolean", "const": false },

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.placement_filter",
"title": "Placement filter 1.10.0",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.placement_filter",
"title": "Placement filter 1.16.200",
"description": "Sets rules for under what conditions the block can be placed/survive",
"type": "object",
"properties": {

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.preventsjumping",
"title": "Prevents jumping 1.10.0",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.preventsjumping",
"title": "Prevents jumping 1.16.200",
"description": "This component makes it so actors can't jump when walking on this block",
"type": "boolean"
}

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.random_ticking",
"title": "Random ticking 1.10.0",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.random_ticking",
"title": "Random ticking 1.16.200",
"description": "Describes the component that will trigger an even at a regular interval between two values",
"type": "object",
"additionalProperties": false,

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.rotation",
"title": "Rotation 1.10.0",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.rotation",
"title": "Rotation 1.16.200",
"description": "This is the block's rotation around the center of the cube in degrees. The rotation order is x-y-z.",
"type": "array",
"additionalProperties": false,

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.ticking",
"title": "Ticking 1.10.0",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.ticking",
"title": "Ticking 1.16.200",
"description": "Describes the component that will trigger an even at a regular interval between two values",
"type": "object",
"additionalProperties": false,

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.unit_cube",
"title": "Unit cube 1.10.0",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.unit_cube",
"title": "Unit cube 1.16.200",
"description": "Specifies that a unit cube is to be used with tessellation.",
"type": "string"
}

View File

@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.unwalkable",
"title": "Unwalkable 1.10.0",
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.unwalkable",
"title": "Unwalkable 1.16.200",
"description": "this component sets a block as unwalkable. Most mobs will not try to jump over it if the value is set to true",
"type": "boolean"
}