Initial Commit
This commit is contained in:
56
behaviour/blocks/1.10.0/blocks.json
Normal file
56
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": "Minecraft 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
19
behaviour/blocks/1.10.0/components.json
Normal file
19
behaviour/blocks/1.10.0/components.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"$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:destroy_time": { "$ref": "components/minecraft.destroy_time.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:loot": { "$ref": "components/minecraft.loot.json" },
|
||||
"minecraft:map_color": { "$ref": "components/minecraft.map_color.json" }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks.1.10.0.minecraft.block_light_absorption",
|
||||
"additionalProperties": false,
|
||||
"type": "number",
|
||||
"title": "Block light absorption 1.10.0",
|
||||
"description": "The amount of light this block will absorb."
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"$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
|
||||
}
|
||||
@@ -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.explosion_resistance",
|
||||
"additionalProperties": false,
|
||||
"type": "number",
|
||||
"title": "Explosion resistance 1.10.0",
|
||||
"description": "Sets the explosion resistance for this block."
|
||||
}
|
||||
23
behaviour/blocks/1.10.0/components/minecraft.flammable.json
Normal file
23
behaviour/blocks/1.10.0/components/minecraft.flammable.json
Normal file
@@ -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,8 @@
|
||||
{
|
||||
"$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."
|
||||
}
|
||||
9
behaviour/blocks/1.10.0/components/minecraft.loot.json
Normal file
9
behaviour/blocks/1.10.0/components/minecraft.loot.json
Normal file
@@ -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"
|
||||
}
|
||||
56
behaviour/blocks/1.12.0/blocks.json
Normal file
56
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": "Minecraft 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
behaviour/blocks/1.16.0/blocks.json
Normal file
56
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": "Minecraft 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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
22
behaviour/blocks/blocks.json
Normal file
22
behaviour/blocks/blocks.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.blocks",
|
||||
"allOf": [
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.10" } } },
|
||||
"then": { "$ref": "1.10.0/blocks.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.10.0" } } },
|
||||
"then": { "$ref": "1.10.0/blocks.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.12.0" } } },
|
||||
"then": { "$ref": "1.12.0/blocks.json" }
|
||||
},
|
||||
{
|
||||
"if": { "properties": { "format_version": { "type": "string", "const": "1.16.0" } } },
|
||||
"then": { "$ref": "1.16.0/blocks.json" }
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user