Moved to source folder
This commit is contained in:
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.animation_controller.1.10.0",
|
||||
"type": "object",
|
||||
"title": "The minecraft behaviourpack animation controller 1.10.0",
|
||||
"description": "TODO description",
|
||||
"definitions": {
|
||||
"animationspec": {
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "Animation Specification",
|
||||
"description": "A single string that specifies which animation there are",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"title": "Animation Specification",
|
||||
"description": "A object specification on how to transition",
|
||||
"maxProperties": 1,
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"$ref": "../../../molang/1.8.0/string.json"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"particle_effect_spec": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"required": ["effect"],
|
||||
"properties": {
|
||||
"bind_to_actor": {
|
||||
"type": "boolean",
|
||||
"title": "Bind to actor",
|
||||
"description": "Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor)."
|
||||
},
|
||||
"effect": {
|
||||
"type": "string",
|
||||
"title": "Effect",
|
||||
"description": "The name of a particle effect that should be played"
|
||||
},
|
||||
"locator": {
|
||||
"type": "string",
|
||||
"title": "Locator",
|
||||
"description": "The name of a locator on the actor where the effect should be located"
|
||||
},
|
||||
"pre_effect_script": {
|
||||
"type": "string",
|
||||
"title": "Pre effect script",
|
||||
"description": "A molang script that will be run when the particle emitter is initialized"
|
||||
}
|
||||
}
|
||||
},
|
||||
"commands": {
|
||||
"type": "string",
|
||||
"description": "The event or commands to execute",
|
||||
"examples": ["@s example:event"],
|
||||
"oneOf": [
|
||||
{ "pattern": "^@s .+$", "title": "Event" },
|
||||
{ "pattern": "^/.+$", "title": "Command" },
|
||||
{ "pattern": "^.+;$", "title": "Molang" }
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": ["format_version", "animation_controllers"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 1.10.0 format version",
|
||||
"type": "string",
|
||||
"pattern": "^1.10.0$",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
},
|
||||
"animation_controllers": {
|
||||
"type": "object",
|
||||
"title": "The animation controllers schema",
|
||||
"description": "The animation controllers schema for 1.10.0",
|
||||
"propertyNames": {
|
||||
"pattern": "^controller\\.animation\\.[a-z\\.]+"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "A animation controller",
|
||||
"description": "A single animation controller 1.10.0",
|
||||
"required": ["states"],
|
||||
"minProperties": 1,
|
||||
"properties": {
|
||||
"states": {
|
||||
"title": "The states definition",
|
||||
"description": "The states of this animation controller",
|
||||
"propertyNames": {
|
||||
"pattern": "[a-z\\.]+"
|
||||
},
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"title": "Animation state",
|
||||
"description": "Animation state",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"animations": {
|
||||
"title": "Animations definition",
|
||||
"description": "The animations definition for 1.10.0",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/animationspec",
|
||||
"description": "TODO description: animations",
|
||||
"title": "Animations"
|
||||
}
|
||||
},
|
||||
"on_entry": {
|
||||
"type": "array",
|
||||
"description": "Events, commands or transitions to preform on entry of this state",
|
||||
"title": "On entry",
|
||||
"items": {
|
||||
"$ref": "#/definitions/commands"
|
||||
}
|
||||
},
|
||||
"on_exit": {
|
||||
"type": "array",
|
||||
"description": "Events, commands or transitions to preform on exit of this state",
|
||||
"title": "On exit",
|
||||
"items": {
|
||||
"$ref": "#/definitions/commands"
|
||||
}
|
||||
},
|
||||
"transitions": {
|
||||
"title": "Transition",
|
||||
"description": "The transition definition for 1.10.0",
|
||||
"minProperties": 1,
|
||||
"type": "array",
|
||||
"items": {
|
||||
"title": "Transitions",
|
||||
"description": "A object specification on how to transition",
|
||||
"type": "object",
|
||||
"maxProperties": 1,
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"$ref": "../../../molang/1.8.0/string.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"initial_state": {
|
||||
"type": "string",
|
||||
"description": "TODO description: initial state",
|
||||
"title": "Initial State"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,148 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.animation_controller.1.8.0",
|
||||
"type": "object",
|
||||
"title": "The minecraft behaviourpack animation controller 1.8.0",
|
||||
"description": "TODO description",
|
||||
"definitions": {
|
||||
"animationspec": {
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "Animation Specification",
|
||||
"description": "A single string that specifies which animation there are",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"title": "Animation Specification",
|
||||
"description": "A object specification on how to transition",
|
||||
"maxProperties": 1,
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"$ref": "../../../molang/1.8.0/string.json"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"particle_effect_spec": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"required": ["effect"],
|
||||
"properties": {
|
||||
"bind_to_actor": {
|
||||
"type": "boolean",
|
||||
"title": "Bind to actor",
|
||||
"description": "Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor)."
|
||||
},
|
||||
"effect": {
|
||||
"type": "string",
|
||||
"title": "Effect",
|
||||
"description": "The name of a particle effect that should be played"
|
||||
},
|
||||
"locator": {
|
||||
"type": "string",
|
||||
"title": "Locator",
|
||||
"description": "The name of a locator on the actor where the effect should be located"
|
||||
},
|
||||
"pre_effect_script": {
|
||||
"type": "string",
|
||||
"title": "Pre effect script",
|
||||
"description": "A molang script that will be run when the particle emitter is initialized"
|
||||
}
|
||||
}
|
||||
},
|
||||
"commands": {
|
||||
"type": "string",
|
||||
"description": "The event or commands to execute",
|
||||
"oneOf": [
|
||||
{ "pattern": "^@s .+$", "title": "Event" },
|
||||
{ "pattern": "^/.+$", "title": "Command" },
|
||||
{ "pattern": "^.+;$", "title": "Molang" }
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": ["format_version", "animation_controllers"],
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 1.8.0 format version",
|
||||
"type": "string",
|
||||
"pattern": "^1.8.0$",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
},
|
||||
"animation_controllers": {
|
||||
"type": "object",
|
||||
"title": "The animation controllers schema",
|
||||
"description": "The animation controllers schema for 1.8.0",
|
||||
"propertyNames": {
|
||||
"pattern": "^controller\\.animation\\.[a-z\\.]+"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "A animation controller",
|
||||
"description": "A single animation controller 1.8.0",
|
||||
"required": ["states"],
|
||||
"minProperties": 1,
|
||||
"properties": {
|
||||
"states": {
|
||||
"title": "The states definition",
|
||||
"description": "The states of this animation controller",
|
||||
"propertyNames": {
|
||||
"pattern": "[a-z\\.]+"
|
||||
},
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"additionalProperties": false,
|
||||
"title": "Animation state",
|
||||
"description": "Animation state",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"animations": {
|
||||
"title": "Animations definition",
|
||||
"description": "The animations definition for 1.8.0",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/animationspec",
|
||||
"description": "TODO description: animations",
|
||||
"title": "Animations"
|
||||
}
|
||||
},
|
||||
"on_entry": {
|
||||
"type": "array",
|
||||
"description": "Events, commands or transitions to preform",
|
||||
"items": {
|
||||
"$ref": "#/definitions/commands"
|
||||
}
|
||||
},
|
||||
"on_exit": {
|
||||
"type": "array",
|
||||
"description": "Events, commands or transitions to preform",
|
||||
"items": {
|
||||
"$ref": "#/definitions/commands"
|
||||
}
|
||||
},
|
||||
"transitions": {
|
||||
"title": "Transition definition",
|
||||
"description": "The transition definition for 1.8.0",
|
||||
"minProperties": 1,
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/animationspec",
|
||||
"description": "TODO description: transitions",
|
||||
"title": "Transitions"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"initial_state": {
|
||||
"type": "string",
|
||||
"description": "TODO description: initial state",
|
||||
"title": "Initial State"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.animation_controller",
|
||||
"examples": [
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animation_controllers": {
|
||||
"controller.animation.example": {
|
||||
"initial_state": "default",
|
||||
"states": {
|
||||
"default": {
|
||||
"transitions": [{ "state_1": "query.is_baby" }]
|
||||
},
|
||||
"state_1": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"allOf": [
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
|
||||
"then": { "$ref": "./1.8.0/animation_controller.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
|
||||
"then": { "$ref": "./1.10.0/animation_controller.json" }
|
||||
}
|
||||
]
|
||||
}
|
||||
115
source/behaviour/animations/1.10.0/animations.json
Normal file
115
source/behaviour/animations/1.10.0/animations.json
Normal file
@@ -0,0 +1,115 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.10.0.animations",
|
||||
"type": "object",
|
||||
"title": "The minecraft behaviourpack animation 1.10.0",
|
||||
"description": "TODO description",
|
||||
"required": ["format_version", "animations"],
|
||||
"definitions": {
|
||||
"animationspec": {
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "Animation Specification",
|
||||
"description": "A single string that specifies which animation there are",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"title": "Animation Specification",
|
||||
"description": "A object specification on how to transition",
|
||||
"maxProperties": 1,
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"$ref": "../../../molang/1.8.0/string.json"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"particle_effect_spec": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"required": ["effect"],
|
||||
"properties": {
|
||||
"bind_to_actor": {
|
||||
"type": "boolean",
|
||||
"description": "Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor)."
|
||||
},
|
||||
"effect": {
|
||||
"type": "string",
|
||||
"description": "The name of a particle effect that should be played"
|
||||
},
|
||||
"locator": {
|
||||
"type": "string",
|
||||
"description": "The name of a locator on the actor where the effect should be located"
|
||||
},
|
||||
"pre_effect_script": {
|
||||
"type": "string",
|
||||
"description": "A molang script that will be run when the particle emitter is initialized"
|
||||
}
|
||||
}
|
||||
},
|
||||
"commands": {
|
||||
"type": "string",
|
||||
"description": "The event or commands to execute",
|
||||
"pattern": "^(@s .+|/.+)$"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 1.10.0 format version",
|
||||
"type": "string",
|
||||
"pattern": "^1.10.0$",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
},
|
||||
"animations": {
|
||||
"title": "Animations schema",
|
||||
"description": "The animation 1.10.0 specification",
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^animation\\.[a-z\\.]+"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"description": "TODO description: additionalItems",
|
||||
"title": "Animation specification",
|
||||
"properties": {
|
||||
"animation_length": {
|
||||
"type": "number",
|
||||
"description": "TODO description: animation length",
|
||||
"title": "Animation Length"
|
||||
},
|
||||
"loop": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: loop",
|
||||
"title": "Loop"
|
||||
},
|
||||
"timeline": {
|
||||
"title": "Timeline",
|
||||
"description": "The time line",
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^(\\d+.\\d+|\\d+)$"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"$ref": "#/definitions/commands"
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"title": "Collection timelime items",
|
||||
"items": {
|
||||
"$ref": "#/definitions/commands"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
114
source/behaviour/animations/1.8.0/animations.json
Normal file
114
source/behaviour/animations/1.8.0/animations.json
Normal file
@@ -0,0 +1,114 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.8.0.animations",
|
||||
"type": "object",
|
||||
"title": "The minecraft behaviourpack animation 1.8.0",
|
||||
"description": "TODO description",
|
||||
"required": ["format_version", "animations"],
|
||||
"definitions": {
|
||||
"animationspec": {
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "Animation Specification",
|
||||
"description": "A single string that specifies which animation there are",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"title": "Animation Specification",
|
||||
"description": "A object specification on how to transition",
|
||||
"maxProperties": 1,
|
||||
"minProperties": 1,
|
||||
"additionalProperties": {
|
||||
"$ref": "../../../molang/1.8.0/string.json"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"particle_effect_spec": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"required": ["effect"],
|
||||
"properties": {
|
||||
"bind_to_actor": {
|
||||
"type": "boolean",
|
||||
"description": "Set to false to have the effect spawned in the world without being bound to an actor (by default an effect is bound to the actor)."
|
||||
},
|
||||
"effect": {
|
||||
"type": "string",
|
||||
"description": "The name of a particle effect that should be played"
|
||||
},
|
||||
"locator": {
|
||||
"type": "string",
|
||||
"description": "The name of a locator on the actor where the effect should be located"
|
||||
},
|
||||
"pre_effect_script": {
|
||||
"type": "string",
|
||||
"description": "A molang script that will be run when the particle emitter is initialized"
|
||||
}
|
||||
}
|
||||
},
|
||||
"commands": {
|
||||
"type": "string",
|
||||
"description": "The event or commands to execute",
|
||||
"pattern": "^(@s .+|/.+)$"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 1.8.0 format version",
|
||||
"type": "string",
|
||||
"pattern": "^1.8.0$",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
},
|
||||
"animations": {
|
||||
"title": "Animations schema",
|
||||
"description": "The animation 1.8.0 specification",
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^animation\\.[a-z\\.]+"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"description": "TODO description: additionalItems",
|
||||
"title": "Animation specification",
|
||||
"properties": {
|
||||
"animation_length": {
|
||||
"type": "number",
|
||||
"description": "TODO description: animation length",
|
||||
"title": "Animation Length"
|
||||
},
|
||||
"loop": {
|
||||
"type": "boolean",
|
||||
"description": "TODO description: loop",
|
||||
"title": "Loop"
|
||||
},
|
||||
"timeline": {
|
||||
"title": "Timeline",
|
||||
"description": "The time line",
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^(\\d+.\\d+|\\d+)$"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/commands"
|
||||
},
|
||||
{
|
||||
"type": "array",
|
||||
"title": "Collection timelime items",
|
||||
"items": {
|
||||
"$ref": "#/definitions/commands"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"additionalProperties": false
|
||||
}
|
||||
22
source/behaviour/animations/animations.json
Normal file
22
source/behaviour/animations/animations.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.animations",
|
||||
"examples": [
|
||||
{
|
||||
"format_version": "1.10.0",
|
||||
"animations": {
|
||||
"animation.example": {}
|
||||
}
|
||||
}
|
||||
],
|
||||
"allOf": [
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.8.0" } } },
|
||||
"then": { "$ref": "./1.8.0/animations.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
|
||||
"then": { "$ref": "./1.10.0/animations.json" }
|
||||
}
|
||||
]
|
||||
}
|
||||
56
source/behaviour/blocks/1.10.0/blocks.json
Normal file
56
source/behaviour/blocks/1.10.0/blocks.json
Normal file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.10.0.blocks",
|
||||
"description": "Minecraft blocks 1.10.0",
|
||||
"required": ["format_version", "minecraft:block"],
|
||||
"title": "Block",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 1.10.0 format version",
|
||||
"type": "string",
|
||||
"const": "1.10.0",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
},
|
||||
"minecraft:block": {
|
||||
"title": "Block definitions",
|
||||
"description": "A custom block definition",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["description", "components"],
|
||||
"properties": {
|
||||
"description": {
|
||||
"title": "Block description",
|
||||
"description": "The description for this block",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["identifier"],
|
||||
"properties": {
|
||||
"identifier": {
|
||||
"type": "string",
|
||||
"description": "The identifier for this block. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla block.",
|
||||
"title": "Identifier",
|
||||
"$ref": "../../../general/block/identifier.json"
|
||||
},
|
||||
"is_experimental": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If this block is experimental, it will only be registered if the world is marked as experimantal.",
|
||||
"title": "Is experimental"
|
||||
},
|
||||
"register_to_creative_menu": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Whether or not to register this block to the creative inventory menu.",
|
||||
"title": "Register to creative menu"
|
||||
}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"$ref": "./components.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
35
source/behaviour/blocks/1.10.0/components.json
Normal file
35
source/behaviour/blocks/1.10.0/components.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.10.0.blocks.components",
|
||||
"title": "Components",
|
||||
"description": "The components of that define this block",
|
||||
"required": [],
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"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" },
|
||||
"minecraft:breathability": { "$ref": "./components/minecraft.breathability.json" },
|
||||
"minecraft:destroy_time": { "$ref": "./components/minecraft.destroy_time.json" },
|
||||
"minecraft:display_name": { "$ref": "./components/minecraft.display_name.json" },
|
||||
"minecraft:entity_collision": { "$ref": "./components/minecraft.entity_collision.json" },
|
||||
"minecraft:explosion_resistance": { "$ref": "./components/minecraft.explosion_resistance.json" },
|
||||
"minecraft:flammable": { "$ref": "./components/minecraft.flammable.json" },
|
||||
"minecraft:friction": { "$ref": "./components/minecraft.friction.json" },
|
||||
"minecraft:geometry": { "$ref": "./components/minecraft.geometry.json" },
|
||||
"minecraft:immovable": { "$ref": "./components/minecraft.immovable.json" },
|
||||
"minecraft:loot": { "$ref": "./components/minecraft.loot.json" },
|
||||
"minecraft:map_color": { "$ref": "./components/minecraft.map_color.json" },
|
||||
"minecraft:material_instances": { "$ref": "./components/minecraft.material_instances.json" },
|
||||
"minecraft:onlypistonpush": { "$ref": "./components/minecraft.onlypistonpush.json" },
|
||||
"minecraft:pick_collision": { "$ref": "./components/minecraft.pick_collision.json" },
|
||||
"minecraft:placement_filter": { "$ref": "./components/minecraft.placement_filter.json" },
|
||||
"minecraft:preventsjumping": { "$ref": "./components/minecraft.preventsjumping.json" },
|
||||
"minecraft:random_ticking": { "$ref": "./components/minecraft.random_ticking.json" },
|
||||
"minecraft:rotation": { "$ref": "./components/minecraft.rotation.json" },
|
||||
"minecraft:ticking": { "$ref": "./components/minecraft.ticking.json" },
|
||||
"minecraft:unit_cube": { "$ref": "./components/minecraft.unit_cube.json" },
|
||||
"minecraft:unwalkable": { "$ref": "./components/minecraft.unwalkable.json" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.block_light_absorption",
|
||||
"additionalProperties": false,
|
||||
"type": "integer",
|
||||
"title": "Block light absorption 1.10.0",
|
||||
"description": "The amount of light this block will absorb.",
|
||||
"default": 0
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.block_light_emission",
|
||||
"additionalProperties": false,
|
||||
"type": "number",
|
||||
"title": "Block light emission 1.10.0",
|
||||
"description": "The amount of light this block will emit in a range [0.0, 1.0].",
|
||||
"minimum": 0,
|
||||
"maximum": 1,
|
||||
"default": 0.0
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.breakonpush",
|
||||
"additionalProperties": false,
|
||||
"type": "boolean",
|
||||
"title": "Break on push 1.10.0",
|
||||
"description": "When pushed by a piston the block breaks."
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.breathability",
|
||||
"additionalProperties": false,
|
||||
"type": "string",
|
||||
"title": "Breathability 1.10.0",
|
||||
"description": "Property describing the breathability of this block and whether it is treated as a solid or as air.",
|
||||
"enum": ["solid", "air"],
|
||||
"default": "solid"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.destroy_time",
|
||||
"additionalProperties": false,
|
||||
"type": "number",
|
||||
"title": "Destroy time 1.10.0",
|
||||
"description": "Sets the destroy time property for the block. Greater numbers result in greater mining times."
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.display_name",
|
||||
"additionalProperties": false,
|
||||
"type": "string",
|
||||
"title": "Display name 1.10.0",
|
||||
"description": "Specifies the display name id for the block."
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.entity_collision",
|
||||
"additionalProperties": false,
|
||||
"title": "Entity collision 1.10.0",
|
||||
"description": "Can only be set to false, it disables the collision of the block with entities.",
|
||||
"oneOf": [
|
||||
{ "type": "boolean", "const": false },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"origin": {
|
||||
"type": "array",
|
||||
"title": "Origin",
|
||||
"description": "Minimal position Bounds of the collision box",
|
||||
"default": [-8.0, 0.0, -8.0],
|
||||
"items": [
|
||||
{ "type": "number", "title": "X", "description": "The x offset" },
|
||||
{ "type": "number", "title": "Y", "description": "The y offset" },
|
||||
{ "type": "number", "title": "Z", "description": "The z offset" }
|
||||
]
|
||||
},
|
||||
"size": {
|
||||
"type": "array",
|
||||
"title": "Size",
|
||||
"description": "Size of each side of the box of the component",
|
||||
"default": [16.0, 16.0, 16.0],
|
||||
"items": [
|
||||
{ "type": "number", "title": "X", "description": "The x size" },
|
||||
{ "type": "number", "title": "Y", "description": "The y size" },
|
||||
{ "type": "number", "title": "Z", "description": "The z size" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.explosion_resistance",
|
||||
"additionalProperties": false,
|
||||
"type": "number",
|
||||
"title": "Explosion resistance 1.10.0",
|
||||
"description": "Sets the explosion resistance for this block.",
|
||||
"default": 0.0
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.flammable",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Flammable 1.10.0",
|
||||
"description": "Describes the flammable properties for this block.",
|
||||
"additionalItems": false,
|
||||
"properties": {
|
||||
"burn_odds": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "How likely the block will be destroyed by flames when on fire.",
|
||||
"title": "Burn odds"
|
||||
},
|
||||
"flame_odds": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "How likely the block will catch flame when next to a fire.",
|
||||
"title": "Flame odds"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.friction",
|
||||
"additionalProperties": false,
|
||||
"type": "number",
|
||||
"title": "Friction 1.10.0",
|
||||
"description": "Property describing the friction for this block. Friction effects an entities movements when it walks on the block.",
|
||||
"default": 0.1
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.geometry",
|
||||
"additionalProperties": false,
|
||||
"type": "string",
|
||||
"title": "Geometry 1.10.0",
|
||||
"description": "The geometry definition name to use.",
|
||||
"pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.immovable",
|
||||
"additionalProperties": false,
|
||||
"type": "boolean",
|
||||
"title": "Immovable 1.10.0",
|
||||
"description": "An Immovable block cannot be pushed by pistons"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.loot",
|
||||
"additionalProperties": false,
|
||||
"type": "string",
|
||||
"title": "Loot 1.10.0",
|
||||
"description": "The path of the loot table that this component will use when the block is destroyed.",
|
||||
"pattern": "loot_tables/.*\\.json$"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.map_color",
|
||||
"additionalProperties": false,
|
||||
"type": "string",
|
||||
"title": "Map color 1.10.0",
|
||||
"description": "A color represented as a hex value. This will be the color rendered to a map.",
|
||||
"format": "color-hex"
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.material_instances",
|
||||
"type": "object",
|
||||
"title": "Material instances 1.10.0",
|
||||
"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": {
|
||||
"title": "Material instance",
|
||||
"description": "A single material instance",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"ambient_occlusion": {
|
||||
"title": "Ambient occlusion",
|
||||
"type": "boolean",
|
||||
"description": "UNDOCUMENTATED"
|
||||
},
|
||||
"face_dimming": {
|
||||
"title": "Face dimming",
|
||||
"type": "boolean",
|
||||
"description": "UNDOCUMENTATED"
|
||||
},
|
||||
"render_method": {
|
||||
"type": "string",
|
||||
"title": "Render method",
|
||||
"description": "TODO description",
|
||||
"enum": ["blend", "opaque", "alpha_test"]
|
||||
},
|
||||
"texture": {
|
||||
"type": "string",
|
||||
"title": "Texture",
|
||||
"description": "TODO description"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"*": {
|
||||
"$ref": "#/definitions/material_instance"
|
||||
}
|
||||
},
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/material_instance"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.onlypistonpush",
|
||||
"type": "boolean",
|
||||
"title": "Only piston push 1.10.0",
|
||||
"description": "Blocks with those components won't stick to stickyPistons"
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"$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",
|
||||
"description": "Can only be set to false, it disables the collision of the block with entities",
|
||||
"oneOf": [
|
||||
{ "type": "boolean", "const": false },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"origin": {
|
||||
"type": "array",
|
||||
"title": "Origin",
|
||||
"description": "Minimal position Bounds of the collision box",
|
||||
"default": [-8.0, 0.0, -8.0],
|
||||
"items": [
|
||||
{ "type": "number", "title": "X", "description": "The x offset" },
|
||||
{ "type": "number", "title": "Y", "description": "The y offset" },
|
||||
{ "type": "number", "title": "Z", "description": "The z offset" }
|
||||
]
|
||||
},
|
||||
"size": {
|
||||
"type": "array",
|
||||
"title": "Size",
|
||||
"description": "Size of each side of the box of the component",
|
||||
"default": [16.0, 16.0, 16.0],
|
||||
"items": [
|
||||
{ "type": "number", "title": "X", "description": "The x size" },
|
||||
{ "type": "number", "title": "Y", "description": "The y size" },
|
||||
{ "type": "number", "title": "Z", "description": "The z size" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"$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",
|
||||
"description": "Sets rules for under what conditions the block can be placed/survive",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"conditions": {
|
||||
"title": "Conditions",
|
||||
"description": "List of conditions where the block can be placed/survive",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"title": "Condition",
|
||||
"description": "TODO",
|
||||
"properties": {
|
||||
"allowed_faces": {
|
||||
"title": "Allowed faces",
|
||||
"description": "List of any of the following strings: up, down, north, south, east, west, side, all",
|
||||
"type": "array",
|
||||
"items": { "type": "string", "enum": ["up", "down", "north", "south", "east", "west", "side", "all"] }
|
||||
},
|
||||
"block_filter": {
|
||||
"title": "Block filter",
|
||||
"description": "List of blocks (can use tags to specify them) that this block can be placed against in the allowed_faces direction",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"title": "Block identifier",
|
||||
"description": "TODO"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +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",
|
||||
"description": "This component makes it so actors can't jump when walking on this block",
|
||||
"type": "boolean"
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"$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",
|
||||
"description": "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",
|
||||
"description": "The condition of event to be executed on the block. Molang"
|
||||
},
|
||||
"event": {
|
||||
"title": "Event",
|
||||
"type": "string",
|
||||
"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"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.rotation",
|
||||
"title": "Rotation 1.10.0",
|
||||
"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,
|
||||
"items": [
|
||||
{ "type": "number", "title": "X" },
|
||||
{ "type": "number", "title": "Y" },
|
||||
{ "type": "number", "title": "Z" }
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.ticking",
|
||||
"title": "Ticking 1.10.0",
|
||||
"description": "Describes the component that will trigger an even at a regular interval between two values",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"looping": {
|
||||
"type": "boolean",
|
||||
"title": "Looping",
|
||||
"description": "Does the event loop"
|
||||
},
|
||||
"range": {
|
||||
"title": "Range",
|
||||
"description": "The Range between which the component will trigger his event.",
|
||||
"type": "array",
|
||||
"items": [{ "type": "integer" }, { "type": "integer" }]
|
||||
},
|
||||
"on_tick": {
|
||||
"type": "object",
|
||||
"title": "On Tick",
|
||||
"description": "Describes the component that will trigger an even at a regular interval between two values",
|
||||
"condition": {
|
||||
"title": "Condition",
|
||||
"type": "string",
|
||||
"description": "The condition of event to be executed on the block. Molang"
|
||||
},
|
||||
"event": {
|
||||
"title": "Event",
|
||||
"type": "string",
|
||||
"description": "The type of event executed on the block."
|
||||
},
|
||||
"target": {
|
||||
"title": "Target",
|
||||
"description": "The target of event executed on the block.",
|
||||
"type": "string",
|
||||
"enum": ["block", "damager", "other", "parent", "player", "self", "target"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +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",
|
||||
"description": "Specifies that a unit cube is to be used with tessellation.",
|
||||
"type": "string"
|
||||
}
|
||||
@@ -0,0 +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",
|
||||
"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"
|
||||
}
|
||||
56
source/behaviour/blocks/1.12.0/blocks.json
Normal file
56
source/behaviour/blocks/1.12.0/blocks.json
Normal file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.12.0.blocks",
|
||||
"description": "Minecraft blocks 1.12.0",
|
||||
"required": ["format_version", "minecraft:block"],
|
||||
"title": "Block",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 1.12.0 format version",
|
||||
"type": "string",
|
||||
"const": "1.12.0",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
},
|
||||
"minecraft:block": {
|
||||
"title": "Block definitions",
|
||||
"description": "A custom block definition",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["description", "components"],
|
||||
"properties": {
|
||||
"description": {
|
||||
"title": "Block description",
|
||||
"description": "The description for this block",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["identifier"],
|
||||
"properties": {
|
||||
"identifier": {
|
||||
"type": "string",
|
||||
"description": "The identifier for this block. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla block.",
|
||||
"title": "Identifier",
|
||||
"$ref": "../../../general/block/identifier.json"
|
||||
},
|
||||
"is_experimental": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If this block is experimental, it will only be registered if the world is marked as experimantal.",
|
||||
"title": "Is experimental"
|
||||
},
|
||||
"register_to_creative_menu": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Whether or not to register this block to the creative inventory menu.",
|
||||
"title": "Register to creative menu"
|
||||
}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"$ref": "../1.10.0/components.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
56
source/behaviour/blocks/1.16.0/blocks.json
Normal file
56
source/behaviour/blocks/1.16.0/blocks.json
Normal file
@@ -0,0 +1,56 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.0.blocks",
|
||||
"description": "Minecraft blocks 1.16.0",
|
||||
"required": ["format_version", "minecraft:block"],
|
||||
"title": "Block",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 1.16.0 format version",
|
||||
"type": "string",
|
||||
"const": "1.16.0",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
},
|
||||
"minecraft:block": {
|
||||
"title": "Block definitions",
|
||||
"description": "A custom block definition",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["description", "components"],
|
||||
"properties": {
|
||||
"description": {
|
||||
"title": "Block description",
|
||||
"description": "The description for this block",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["identifier"],
|
||||
"properties": {
|
||||
"identifier": {
|
||||
"type": "string",
|
||||
"description": "The identifier for this block. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla block.",
|
||||
"title": "Identifier",
|
||||
"$ref": "../../../general/block/identifier.json"
|
||||
},
|
||||
"is_experimental": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If this block is experimental, it will only be registered if the world is marked as experimantal.",
|
||||
"title": "Is experimental"
|
||||
},
|
||||
"register_to_creative_menu": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Whether or not to register this block to the creative inventory menu.",
|
||||
"title": "Register to creative menu"
|
||||
}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"$ref": "../1.10.0/components.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
107
source/behaviour/blocks/1.16.100/blocks.json
Normal file
107
source/behaviour/blocks/1.16.100/blocks.json
Normal file
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.blocks",
|
||||
"description": "Minecraft blocks 1.16.100",
|
||||
"required": ["format_version", "minecraft:block"],
|
||||
"title": "Block",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 1.16.100 format version",
|
||||
"type": "string",
|
||||
"const": "1.16.100",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
},
|
||||
"minecraft:block": {
|
||||
"title": "Block definitions",
|
||||
"description": "A custom block definition",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["description", "components"],
|
||||
"properties": {
|
||||
"description": {
|
||||
"title": "Block description",
|
||||
"description": "The description for this block",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["identifier"],
|
||||
"properties": {
|
||||
"identifier": {
|
||||
"type": "string",
|
||||
"description": "The identifier for this block. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla block.",
|
||||
"title": "Identifier",
|
||||
"$ref": "../../../general/block/identifier.json"
|
||||
},
|
||||
"is_experimental": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If this block is experimental, it will only be registered if the world is marked as experimantal.",
|
||||
"title": "Is experimental"
|
||||
},
|
||||
"register_to_creative_menu": {
|
||||
"type": "boolean",
|
||||
"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" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"type": "object",
|
||||
"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" },
|
||||
"minecraft:breathability": { "$ref": "./components/minecraft.breathability.json" },
|
||||
"minecraft:destroy_time": { "$ref": "./components/minecraft.destroy_time.json" },
|
||||
"minecraft:display_name": { "$ref": "./components/minecraft.display_name.json" },
|
||||
"minecraft:entity_collision": { "$ref": "./components/minecraft.entity_collision.json" },
|
||||
"minecraft:explosion_resistance": { "$ref": "./components/minecraft.explosion_resistance.json" },
|
||||
"minecraft:flammable": { "$ref": "./components/minecraft.flammable.json" },
|
||||
"minecraft:friction": { "$ref": "./components/minecraft.friction.json" },
|
||||
"minecraft:geometry": { "$ref": "./components/minecraft.geometry.json" },
|
||||
"minecraft:immovable": { "$ref": "./components/minecraft.immovable.json" },
|
||||
"minecraft:map_color": { "$ref": "./components/minecraft.map_color.json" },
|
||||
"minecraft:material_instances": { "$ref": "./components/minecraft.material_instances.json" },
|
||||
"minecraft:onlypistonpush": { "$ref": "./components/minecraft.onlypistonpush.json" },
|
||||
"minecraft:pick_collision": { "$ref": "./components/minecraft.pick_collision.json" },
|
||||
"minecraft:placement_filter": { "$ref": "./components/minecraft.placement_filter.json" },
|
||||
"minecraft:preventsjumping": { "$ref": "./components/minecraft.preventsjumping.json" },
|
||||
"minecraft:random_ticking": { "$ref": "./components/minecraft.random_ticking.json" },
|
||||
"minecraft:rotation": { "$ref": "./components/minecraft.rotation.json" },
|
||||
"minecraft:ticking": { "$ref": "./components/minecraft.ticking.json" },
|
||||
"minecraft:unit_cube": { "$ref": "./components/minecraft.unit_cube.json" },
|
||||
"minecraft:unwalkable": { "$ref": "./components/minecraft.unwalkable.json" }
|
||||
}
|
||||
},
|
||||
"events": {
|
||||
"$ref": "./events.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.block_light_absorption",
|
||||
"additionalProperties": false,
|
||||
"type": "integer",
|
||||
"title": "Block light absorption 1.16.100",
|
||||
"description": "The amount of light this block will absorb.",
|
||||
"default": 0
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.block_light_emission",
|
||||
"additionalProperties": false,
|
||||
"type": "number",
|
||||
"title": "Block light emission 1.16.100",
|
||||
"description": "The amount of light this block will emit in a range [0.0, 1.0].",
|
||||
"minimum": 0,
|
||||
"maximum": 1,
|
||||
"default": 0.0
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.breakonpush",
|
||||
"additionalProperties": false,
|
||||
"type": "boolean",
|
||||
"title": "Break on push 1.16.100",
|
||||
"description": "When pushed by a piston the block breaks."
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.breathability",
|
||||
"additionalProperties": false,
|
||||
"type": "string",
|
||||
"title": "Breathability 1.16.100",
|
||||
"description": "Property describing the breathability of this block and whether it is treated as a solid or as air.",
|
||||
"enum": ["solid", "air"],
|
||||
"default": "solid"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.destroy_time",
|
||||
"additionalProperties": false,
|
||||
"type": "number",
|
||||
"title": "Destroy time 1.16.100",
|
||||
"description": "Sets the destroy time property for the block. Greater numbers result in greater mining times."
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.display_name",
|
||||
"additionalProperties": false,
|
||||
"type": "string",
|
||||
"title": "Display name 1.16.100",
|
||||
"description": "Specifies the display name id for the block."
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.entity_collision",
|
||||
"additionalProperties": false,
|
||||
"title": "Entity collision 1.16.100",
|
||||
"description": "Can only be set to false, it disables the collision of the block with entities.",
|
||||
"oneOf": [
|
||||
{ "type": "boolean", "const": false },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"origin": {
|
||||
"type": "array",
|
||||
"title": "Origin",
|
||||
"description": "Minimal position Bounds of the collision box",
|
||||
"default": [-8.0, 0.0, -8.0],
|
||||
"items": [
|
||||
{ "type": "number", "title": "X", "description": "The x offset" },
|
||||
{ "type": "number", "title": "Y", "description": "The y offset" },
|
||||
{ "type": "number", "title": "Z", "description": "The z offset" }
|
||||
]
|
||||
},
|
||||
"size": {
|
||||
"type": "array",
|
||||
"title": "Size",
|
||||
"description": "Size of each side of the box of the component",
|
||||
"default": [16.0, 16.0, 16.0],
|
||||
"items": [
|
||||
{ "type": "number", "title": "X", "description": "The x size" },
|
||||
{ "type": "number", "title": "Y", "description": "The y size" },
|
||||
{ "type": "number", "title": "Z", "description": "The z size" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.explosion_resistance",
|
||||
"additionalProperties": false,
|
||||
"type": "number",
|
||||
"title": "Explosion resistance 1.16.100",
|
||||
"description": "Sets the explosion resistance for this block.",
|
||||
"default": 0.0
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.flammable",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Flammable 1.16.100",
|
||||
"description": "Describes the flammable properties for this block.",
|
||||
"additionalItems": false,
|
||||
"properties": {
|
||||
"burn_odds": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "How likely the block will be destroyed by flames when on fire.",
|
||||
"title": "Burn odds"
|
||||
},
|
||||
"flame_odds": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "How likely the block will catch flame when next to a fire.",
|
||||
"title": "Flame odds"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.friction",
|
||||
"additionalProperties": false,
|
||||
"type": "number",
|
||||
"title": "Friction 1.16.100",
|
||||
"description": "Property describing the friction for this block. Friction effects an entities movements when it walks on the block.",
|
||||
"default": 0.1
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.geometry",
|
||||
"additionalProperties": false,
|
||||
"type": "string",
|
||||
"title": "Geometry 1.16.100",
|
||||
"description": "The geometry definition name to use.",
|
||||
"pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.immovable",
|
||||
"additionalProperties": false,
|
||||
"type": "boolean",
|
||||
"title": "Immovable 1.16.100",
|
||||
"description": "An Immovable block cannot be pushed by pistons"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.loot",
|
||||
"additionalProperties": false,
|
||||
"type": "string",
|
||||
"title": "Loot 1.16.100",
|
||||
"description": "The path of the loot table that this component will use when the block is destroyed.",
|
||||
"pattern": "loot_tables/.*\\.json$"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.map_color",
|
||||
"additionalProperties": false,
|
||||
"type": "string",
|
||||
"title": "Map color 1.16.100",
|
||||
"description": "A color represented as a hex value. This will be the color rendered to a map.",
|
||||
"format": "color-hex"
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.material_instances",
|
||||
"type": "object",
|
||||
"title": "Material instances 1.16.100",
|
||||
"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": {
|
||||
"title": "Material instance",
|
||||
"description": "A single material instance",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"ambient_occlusion": {
|
||||
"title": "Ambient occlusion",
|
||||
"type": "boolean",
|
||||
"description": "UNDOCUMENTATED"
|
||||
},
|
||||
"face_dimming": {
|
||||
"title": "Face dimming",
|
||||
"type": "boolean",
|
||||
"description": "UNDOCUMENTATED"
|
||||
},
|
||||
"render_method": {
|
||||
"type": "string",
|
||||
"title": "Render method",
|
||||
"description": "TODO description",
|
||||
"enum": ["blend", "opaque", "alpha_test"]
|
||||
},
|
||||
"texture": {
|
||||
"type": "string",
|
||||
"title": "Texture",
|
||||
"description": "TODO description"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"*": {
|
||||
"$ref": "#/definitions/material_instance"
|
||||
}
|
||||
},
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/material_instance"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.on_placed",
|
||||
"type": "object",
|
||||
"title": "On placed 1.16.100",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.on_player_destroyed",
|
||||
"type": "object",
|
||||
"title": "On player destroyed 1.16.100",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.on_player_placing",
|
||||
"type": "object",
|
||||
"title": "On player placing 1.16.100",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.on_step_off",
|
||||
"type": "object",
|
||||
"title": "On step off 1.16.100",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.on_step_on",
|
||||
"type": "object",
|
||||
"title": "On step on 1.16.100",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.onlypistonpush",
|
||||
"type": "boolean",
|
||||
"title": "Only piston push 1.16.100",
|
||||
"description": "Blocks with those components won't stick to stickyPistons"
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.pick_collision",
|
||||
"title": "Pick collision 1.16.100",
|
||||
"description": "Can only be set to false, it disables the collision of the block with entities",
|
||||
"oneOf": [
|
||||
{ "type": "boolean", "const": false },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"origin": {
|
||||
"type": "array",
|
||||
"title": "Origin",
|
||||
"description": "Minimal position Bounds of the collision box",
|
||||
"default": [-8.0, 0.0, -8.0],
|
||||
"items": [
|
||||
{ "type": "number", "title": "X", "description": "The x offset" },
|
||||
{ "type": "number", "title": "Y", "description": "The y offset" },
|
||||
{ "type": "number", "title": "Z", "description": "The z offset" }
|
||||
]
|
||||
},
|
||||
"size": {
|
||||
"type": "array",
|
||||
"title": "Size",
|
||||
"description": "Size of each side of the box of the component",
|
||||
"default": [16.0, 16.0, 16.0],
|
||||
"items": [
|
||||
{ "type": "number", "title": "X", "description": "The x size" },
|
||||
{ "type": "number", "title": "Y", "description": "The y size" },
|
||||
{ "type": "number", "title": "Z", "description": "The z size" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.placement_filter",
|
||||
"title": "Placement filter 1.16.100",
|
||||
"description": "Sets rules for under what conditions the block can be placed/survive",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"conditions": {
|
||||
"title": "Conditions",
|
||||
"description": "List of conditions where the block can be placed/survive",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"title": "Condition",
|
||||
"description": "TODO",
|
||||
"properties": {
|
||||
"allowed_faces": {
|
||||
"title": "Allowed faces",
|
||||
"description": "List of any of the following strings: up, down, north, south, east, west, side, all",
|
||||
"type": "array",
|
||||
"items": { "type": "string", "enum": ["up", "down", "north", "south", "east", "west", "side", "all"] }
|
||||
},
|
||||
"block_filter": {
|
||||
"title": "Block filter",
|
||||
"description": "List of blocks (can use tags to specify them) that this block can be placed against in the allowed_faces direction",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string",
|
||||
"title": "Block identifier",
|
||||
"description": "TODO"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.preventsjumping",
|
||||
"title": "Prevents jumping 1.16.100",
|
||||
"description": "This component makes it so actors can't jump when walking on this block",
|
||||
"type": "boolean"
|
||||
}
|
||||
@@ -0,0 +1,53 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.random_ticking",
|
||||
"title": "Random ticking 1.16.100",
|
||||
"description": "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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.rotation",
|
||||
"title": "Rotation 1.16.100",
|
||||
"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,
|
||||
"items": [
|
||||
{ "type": "number", "title": "X" },
|
||||
{ "type": "number", "title": "Y" },
|
||||
{ "type": "number", "title": "Z" }
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.ticking",
|
||||
"title": "Ticking 1.16.100",
|
||||
"description": "Describes the component that will trigger an even at a regular interval between two values",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"looping": {
|
||||
"type": "boolean",
|
||||
"title": "Looping",
|
||||
"description": "Does the event loop"
|
||||
},
|
||||
"range": {
|
||||
"title": "Range",
|
||||
"description": "The Range between which the component will trigger his event.",
|
||||
"type": "array",
|
||||
"items": [{ "type": "integer" }, { "type": "integer" }]
|
||||
},
|
||||
"on_tick": {
|
||||
"type": "object",
|
||||
"title": "On Tick",
|
||||
"description": "Describes the component that will trigger an even at a regular interval between two values",
|
||||
"condition": {
|
||||
"title": "Condition",
|
||||
"type": "string",
|
||||
"description": "The condition of event to be executed on the block. Molang"
|
||||
},
|
||||
"event": {
|
||||
"title": "Event",
|
||||
"type": "string",
|
||||
"description": "The type of event executed on the block."
|
||||
},
|
||||
"target": {
|
||||
"title": "Target",
|
||||
"description": "The target of event executed on the block.",
|
||||
"type": "string",
|
||||
"enum": ["block", "damager", "other", "parent", "player", "self", "target"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.unit_cube",
|
||||
"title": "Unit cube 1.16.100",
|
||||
"description": "Specifies that a unit cube is to be used with tessellation.",
|
||||
"type": "string"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.100.minecraft.unwalkable",
|
||||
"title": "Unwalkable 1.16.100",
|
||||
"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"
|
||||
}
|
||||
100
source/behaviour/blocks/1.16.100/events.json
Normal file
100
source/behaviour/blocks/1.16.100/events.json
Normal file
@@ -0,0 +1,100 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.100.block.events",
|
||||
"title": "Events",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"minecraft:on_interact": { "$ref": "#/definitions/event_base" },
|
||||
"minecraft:on_step_on": { "$ref": "#/definitions/event_base" },
|
||||
"minecraft:on_step_off": { "$ref": "#/definitions/event_base" },
|
||||
"minecraft:on_fall_on": { "$ref": "#/definitions/event_base" },
|
||||
"minecraft:on_placed": { "$ref": "#/definitions/event_base" },
|
||||
"minecraft:on_player_placing": { "$ref": "#/definitions/event_base" },
|
||||
"minecraft:on_player_destroyed": { "$ref": "#/definitions/event_base" },
|
||||
"minecraft:ticking": { "$ref": "#/definitions/event_base" },
|
||||
"minecraft:random_ticking": { "$ref": "#/definitions/event_base" }
|
||||
},
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/event_base"
|
||||
},
|
||||
"definitions": {
|
||||
"event_base": {
|
||||
"title": "Event",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"$ref": "#/definitions/event_functions",
|
||||
"properties": {
|
||||
"sequence": {
|
||||
"title": "Sequence",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"title": "Sequence",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/event_functions"
|
||||
}
|
||||
},
|
||||
"randomize": {
|
||||
"title": "Randomize",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"title": "Randomize",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"type": "object",
|
||||
"$ref": "#/definitions/event_functions",
|
||||
"required": ["weight"],
|
||||
"properties": {
|
||||
"weight": {
|
||||
"title": "Weight",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"type": "integer",
|
||||
"minimum": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"add_mob_effect": { "$ref": "./events/add_mob_effect.json" },
|
||||
"damage": { "$ref": "./events/damage.json" },
|
||||
"decrement_stack": { "$ref": "./events/decrement_stack.json" },
|
||||
"die": { "$ref": "./events/die.json" },
|
||||
"play_effect": { "$ref": "./events/play_effect.json" },
|
||||
"play_sound": { "$ref": "./events/play_sound.json" },
|
||||
"remove_mob_effect": { "$ref": "./events/remove_mob_effect.json" },
|
||||
"run_command": { "$ref": "./events/run_command.json" },
|
||||
"set_block": { "$ref": "./events/set_block.json" },
|
||||
"set_block_at_pos": { "$ref": "./events/set_block_at_pos.json" },
|
||||
"set_block_property": { "$ref": "./events/set_block_property.json" },
|
||||
"spawn_loot": { "$ref": "./events/spawn_loot.json" },
|
||||
"swing": { "$ref": "./events/swing.json" },
|
||||
"teleport": { "$ref": "./events/teleport.json" },
|
||||
"transform_item": { "$ref": "./events/transform_item.json" }
|
||||
}
|
||||
},
|
||||
"event_functions": {
|
||||
"title": "Event",
|
||||
"description": "UNDOCUMENTATED",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"add_mob_effect": { "$ref": "./events/add_mob_effect.json" },
|
||||
"damage": { "$ref": "./events/damage.json" },
|
||||
"decrement_stack": { "$ref": "./events/decrement_stack.json" },
|
||||
"die": { "$ref": "./events/die.json" },
|
||||
"play_effect": { "$ref": "./events/play_effect.json" },
|
||||
"play_sound": { "$ref": "./events/play_sound.json" },
|
||||
"remove_mob_effect": { "$ref": "./events/remove_mob_effect.json" },
|
||||
"run_command": { "$ref": "./events/run_command.json" },
|
||||
"set_block": { "$ref": "./events/set_block.json" },
|
||||
"set_block_at_pos": { "$ref": "./events/set_block_at_pos.json" },
|
||||
"set_block_property": { "$ref": "./events/set_block_property.json" },
|
||||
"spawn_loot": { "$ref": "./events/spawn_loot.json" },
|
||||
"swing": { "$ref": "./events/swing.json" },
|
||||
"teleport": { "$ref": "./events/teleport.json" },
|
||||
"transform_item": { "$ref": "./events/transform_item.json" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
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"
|
||||
}
|
||||
}
|
||||
}
|
||||
107
source/behaviour/blocks/1.16.200/blocks.json
Normal file
107
source/behaviour/blocks/1.16.200/blocks.json
Normal file
@@ -0,0 +1,107 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.1.16.200.blocks",
|
||||
"description": "Minecraft blocks 1.16.200",
|
||||
"required": ["format_version", "minecraft:block"],
|
||||
"title": "Block",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"format_version": {
|
||||
"title": "The 1.16.200 format version",
|
||||
"type": "string",
|
||||
"const": "1.16.200",
|
||||
"description": "A version that tells minecraft what type of data format can be expected when reading this file."
|
||||
},
|
||||
"minecraft:block": {
|
||||
"title": "Block definitions",
|
||||
"description": "A custom block definition",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["description", "components"],
|
||||
"properties": {
|
||||
"description": {
|
||||
"title": "Block description",
|
||||
"description": "The description for this block",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["identifier"],
|
||||
"properties": {
|
||||
"identifier": {
|
||||
"type": "string",
|
||||
"description": "The identifier for this block. The name must include a namespace and must not use the Minecraft namespace unless overriding a Vanilla block.",
|
||||
"title": "Identifier",
|
||||
"$ref": "../../../general/block/identifier.json"
|
||||
},
|
||||
"is_experimental": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If this block is experimental, it will only be registered if the world is marked as experimantal.",
|
||||
"title": "Is experimental"
|
||||
},
|
||||
"register_to_creative_menu": {
|
||||
"type": "boolean",
|
||||
"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" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"components": {
|
||||
"type": "object",
|
||||
"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" },
|
||||
"minecraft:breathability": { "$ref": "./components/minecraft.breathability.json" },
|
||||
"minecraft:destroy_time": { "$ref": "./components/minecraft.destroy_time.json" },
|
||||
"minecraft:display_name": { "$ref": "./components/minecraft.display_name.json" },
|
||||
"minecraft:entity_collision": { "$ref": "./components/minecraft.entity_collision.json" },
|
||||
"minecraft:explosion_resistance": { "$ref": "./components/minecraft.explosion_resistance.json" },
|
||||
"minecraft:flammable": { "$ref": "./components/minecraft.flammable.json" },
|
||||
"minecraft:friction": { "$ref": "./components/minecraft.friction.json" },
|
||||
"minecraft:geometry": { "$ref": "./components/minecraft.geometry.json" },
|
||||
"minecraft:immovable": { "$ref": "./components/minecraft.immovable.json" },
|
||||
"minecraft:map_color": { "$ref": "./components/minecraft.map_color.json" },
|
||||
"minecraft:material_instances": { "$ref": "./components/minecraft.material_instances.json" },
|
||||
"minecraft:onlypistonpush": { "$ref": "./components/minecraft.onlypistonpush.json" },
|
||||
"minecraft:pick_collision": { "$ref": "./components/minecraft.pick_collision.json" },
|
||||
"minecraft:placement_filter": { "$ref": "./components/minecraft.placement_filter.json" },
|
||||
"minecraft:preventsjumping": { "$ref": "./components/minecraft.preventsjumping.json" },
|
||||
"minecraft:random_ticking": { "$ref": "./components/minecraft.random_ticking.json" },
|
||||
"minecraft:rotation": { "$ref": "./components/minecraft.rotation.json" },
|
||||
"minecraft:ticking": { "$ref": "./components/minecraft.ticking.json" },
|
||||
"minecraft:unit_cube": { "$ref": "./components/minecraft.unit_cube.json" },
|
||||
"minecraft:unwalkable": { "$ref": "./components/minecraft.unwalkable.json" }
|
||||
}
|
||||
},
|
||||
"events": {
|
||||
"$ref": "./events.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.block_light_absorption",
|
||||
"additionalProperties": false,
|
||||
"type": "integer",
|
||||
"title": "Block light absorption 1.16.200",
|
||||
"description": "The amount of light this block will absorb.",
|
||||
"default": 0
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.block_light_emission",
|
||||
"additionalProperties": false,
|
||||
"type": "number",
|
||||
"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,
|
||||
"default": 0.0
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.breakonpush",
|
||||
"additionalProperties": false,
|
||||
"type": "boolean",
|
||||
"title": "Break on push 1.16.200",
|
||||
"description": "When pushed by a piston the block breaks."
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.breathability",
|
||||
"additionalProperties": false,
|
||||
"type": "string",
|
||||
"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"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.destroy_time",
|
||||
"additionalProperties": false,
|
||||
"type": "number",
|
||||
"title": "Destroy time 1.16.200",
|
||||
"description": "Sets the destroy time property for the block. Greater numbers result in greater mining times."
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.display_name",
|
||||
"additionalProperties": false,
|
||||
"type": "string",
|
||||
"title": "Display name 1.16.200",
|
||||
"description": "Specifies the display name id for the block."
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.entity_collision",
|
||||
"additionalProperties": false,
|
||||
"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 },
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"origin": {
|
||||
"type": "array",
|
||||
"title": "Origin",
|
||||
"description": "Minimal position Bounds of the collision box",
|
||||
"default": [-8.0, 0.0, -8.0],
|
||||
"items": [
|
||||
{ "type": "number", "title": "X", "description": "The x offset" },
|
||||
{ "type": "number", "title": "Y", "description": "The y offset" },
|
||||
{ "type": "number", "title": "Z", "description": "The z offset" }
|
||||
]
|
||||
},
|
||||
"size": {
|
||||
"type": "array",
|
||||
"title": "Size",
|
||||
"description": "Size of each side of the box of the component",
|
||||
"default": [16.0, 16.0, 16.0],
|
||||
"items": [
|
||||
{ "type": "number", "title": "X", "description": "The x size" },
|
||||
{ "type": "number", "title": "Y", "description": "The y size" },
|
||||
{ "type": "number", "title": "Z", "description": "The z size" }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.explosion_resistance",
|
||||
"additionalProperties": false,
|
||||
"type": "number",
|
||||
"title": "Explosion resistance 1.16.200",
|
||||
"description": "Sets the explosion resistance for this block.",
|
||||
"default": 0.0
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.flammable",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "Flammable 1.16.200",
|
||||
"description": "Describes the flammable properties for this block.",
|
||||
"additionalItems": false,
|
||||
"properties": {
|
||||
"burn_odds": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "How likely the block will be destroyed by flames when on fire.",
|
||||
"title": "Burn odds"
|
||||
},
|
||||
"flame_odds": {
|
||||
"type": "integer",
|
||||
"default": 0,
|
||||
"description": "How likely the block will catch flame when next to a fire.",
|
||||
"title": "Flame odds"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.friction",
|
||||
"additionalProperties": false,
|
||||
"type": "number",
|
||||
"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
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.geometry",
|
||||
"additionalProperties": false,
|
||||
"type": "string",
|
||||
"title": "Geometry 1.16.200",
|
||||
"description": "The geometry definition name to use.",
|
||||
"pattern": "^geometry\\.[a-zA-Z0-9_\\-\\.]+$"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.immovable",
|
||||
"additionalProperties": false,
|
||||
"type": "boolean",
|
||||
"title": "Immovable 1.16.200",
|
||||
"description": "An Immovable block cannot be pushed by pistons"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.loot",
|
||||
"additionalProperties": false,
|
||||
"type": "string",
|
||||
"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$"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.map_color",
|
||||
"additionalProperties": false,
|
||||
"type": "string",
|
||||
"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"
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.16.200.minecraft.material_instances",
|
||||
"type": "object",
|
||||
"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": {
|
||||
"title": "Material instance",
|
||||
"description": "A single material instance",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"ambient_occlusion": {
|
||||
"title": "Ambient occlusion",
|
||||
"type": "boolean",
|
||||
"description": "UNDOCUMENTATED"
|
||||
},
|
||||
"face_dimming": {
|
||||
"title": "Face dimming",
|
||||
"type": "boolean",
|
||||
"description": "UNDOCUMENTATED"
|
||||
},
|
||||
"render_method": {
|
||||
"type": "string",
|
||||
"title": "Render method",
|
||||
"description": "TODO description",
|
||||
"enum": ["blend", "opaque", "alpha_test"]
|
||||
},
|
||||
"texture": {
|
||||
"type": "string",
|
||||
"title": "Texture",
|
||||
"description": "TODO description"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"*": {
|
||||
"$ref": "#/definitions/material_instance"
|
||||
}
|
||||
},
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/material_instance"
|
||||
}
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user