Initial Commit

This commit is contained in:
DaanV2
2020-11-01 17:22:42 +01:00
parent b4075f27df
commit 7a62f06f23
775 changed files with 39420 additions and 0 deletions

View 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"
}
}
}
}
}

View 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" }
}
}

View File

@@ -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."
}

View File

@@ -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
}

View File

@@ -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."
}

View File

@@ -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."
}

View 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"
}
}
}

View File

@@ -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."
}

View 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$"
}

View File

@@ -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"
}

View 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"
}
}
}
}
}

View 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"
}
}
}
}
}

View 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" }
}
]
}