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,36 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.loot_tables.enchant_book_for_trading",
"additionalProperties": false,
"description": "The function enchant_book_for_trading",
"title": "Enchant book for trading",
"required": ["function", "base_cost", "base_random_cost", "per_level_random_cost", "per_level_cost"],
"properties": {
"function": {
"type": "string",
"const": "enchant_book_for_trading",
"title": "Function",
"description": "TODO description"
},
"base_cost": {
"type": "integer",
"title": "Base cost",
"description": "TODO description"
},
"base_random_cost": {
"type": "integer",
"title": "Base cost",
"description": "TODO description"
},
"per_level_random_cost": {
"type": "integer",
"title": "Base cost",
"description": "TODO description"
},
"per_level_cost": {
"type": "integer",
"title": "Base cost",
"description": "TODO description"
}
}
}

View File

@@ -0,0 +1,20 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.loot_tables.enchant_random_gear",
"additionalProperties": false,
"description": "The function enchant_random_gear",
"title": "Enchant random gear",
"properties": {
"function": {
"type": "string",
"const": "enchant_random_gear",
"title": "Function",
"description": "TODO description"
},
"chance": {
"type": "number",
"description": "Takes a chance modifier to manipulate the algorithm. Note that a chance modifier of 1.0 doesn't mean a 100% chance that gear will become enchanted.",
"title": "Chance"
}
}
}

View File

@@ -0,0 +1,20 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.loot_tables.enchant_randomly",
"additionalProperties": false,
"description": "The function enchant_randomly",
"title": "Enchant randomly",
"properties": {
"function": {
"type": "string",
"const": "enchant_randomly",
"title": "Function",
"description": "TODO description"
},
"treasure": {
"type": "boolean",
"description": "Supports the optional treasure boolean (true/false) to allow treasure enchantments to be toggled on and off.",
"title": "Treasure"
}
}
}

View File

@@ -0,0 +1,44 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.loot_tables.enchant_with_levels",
"additionalProperties": false,
"description": "The function enchant_with_levels",
"title": "Enchant with levels",
"properties": {
"function": {
"type": "string",
"const": "enchant_with_levels",
"description": "TODO description",
"title": "TODO title"
},
"levels": {
"title": "Levels",
"oneOf": [
{
"type": "integer"
},
{
"type": "object",
"additionalProperties": false,
"required": ["min", "max"],
"properties": {
"min": {
"type": "integer",
"title": "Minimum"
},
"max": {
"type": "integer",
"title": "Maximum"
}
}
}
],
"description": "TODO description"
},
"treasure": {
"type": "boolean",
"title": "Treasure",
"description": "TODO description"
}
}
}

View File

@@ -0,0 +1,34 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.loot_tables.exploration_map",
"additionalProperties": false,
"description": "The function exploration_map",
"title": "Exploration map",
"properties": {
"function": {
"type": "string",
"const": "exploration_map",
"description": "TODO description",
"title": "TODO title"
},
"destination": {
"type": "string",
"description": "The destination value defines what type of treasure map they receive.",
"enum": [
"endcity",
"fortress",
"mineshaft",
"monument",
"ruins",
"stronghold",
"temple",
"village",
"mansion",
"shipwreck",
"buriedtreasure",
"pillageroutpost"
],
"title": "TODO title"
}
}
}

View File

@@ -0,0 +1,21 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.loot_tables.fill_container",
"additionalProperties": false,
"description": "The function fill_container",
"title": "Fill container",
"properties": {
"function": {
"type": "string",
"const": "fill_container",
"title": "Function",
"description": "TODO description"
},
"loot_table": {
"type": "string",
"title": "Loot table",
"pattern": "^loot_tables/.*\\.json$",
"description": "TODO description"
}
}
}

View File

@@ -0,0 +1,23 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.loot_tables.furnace_smelt",
"additionalProperties": false,
"description": "The function furnace_smelt",
"title": "Furnace smelt",
"properties": {
"function": {
"type": "string",
"const": "furnace_smelt",
"description": "TODO description",
"title": "TODO title"
},
"conditions": {
"title": "Conditions",
"description": "TODO",
"type": "array",
"items": {
"$ref": "../conditions.json"
}
}
}
}

View File

@@ -0,0 +1,29 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.loot_tables.looting_enchant",
"additionalProperties": false,
"description": "The function looting_enchant",
"title": "Looting enchant",
"properties": {
"function": {
"type": "string",
"const": "looting_enchant",
"description": "TODO description",
"title": "TODO title"
},
"count": {
"type": "object",
"properties": {
"min": {
"type": "integer"
},
"max": {
"type": "integer"
}
},
"description": "TODO description",
"title": "TODO title",
"additionalProperties": false
}
}
}

View File

@@ -0,0 +1,29 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.loot_tables.random_aux_value",
"additionalProperties": false,
"description": "The function random_aux_value",
"title": "Random aux value",
"properties": {
"function": {
"type": "string",
"const": "random_aux_value",
"description": "TODO description",
"title": "TODO title"
},
"values": {
"type": "object",
"properties": {
"min": {
"type": "integer"
},
"max": {
"type": "integer"
}
},
"description": "TODO description",
"title": "TODO title",
"additionalProperties": false
}
}
}

View File

@@ -0,0 +1,36 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.loot_tables.random_block_state",
"additionalProperties": false,
"description": "The function random_block_state",
"title": "Random block state",
"properties": {
"function": {
"type": "string",
"const": "random_block_state",
"description": "TODO description",
"title": "TODO title"
},
"block_state": {
"type": "string",
"description": "TODO description",
"title": "TODO title"
},
"values": {
"type": "object",
"properties": {
"min": {
"title": "Min",
"type": "integer"
},
"max": {
"title": "Max",
"type": "integer"
}
},
"description": "TODO description",
"title": "TODO title",
"additionalProperties": false
}
}
}

View File

@@ -0,0 +1,15 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.loot_tables.random_dye",
"additionalProperties": false,
"description": "The function random_dye",
"title": "Trader material type",
"properties": {
"function": {
"type": "string",
"const": "random_dye",
"description": "TODO description",
"title": "TODO title"
}
}
}

View File

@@ -0,0 +1,20 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.loot_tables.set_actor_id",
"additionalProperties": false,
"description": "The function set_actor_id",
"title": "Set actor id",
"properties": {
"function": {
"type": "string",
"const": "set_actor_id",
"description": "TODO description",
"title": "TODO title"
},
"id": {
"type": "string",
"description": "TODO description",
"title": "TODO title"
}
}
}

View File

@@ -0,0 +1,20 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.loot_tables.set_banner_details",
"additionalProperties": false,
"description": "The function set_banner_details",
"title": "Set banner details",
"properties": {
"function": {
"type": "string",
"const": "set_banner_details",
"description": "TODO description",
"title": "TODO title"
},
"type": {
"type": "integer",
"description": "TODO description",
"title": "TODO title"
}
}
}

View File

@@ -0,0 +1,35 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.loot_tables.set_book_contents",
"additionalProperties": false,
"description": "The function set_book_contents",
"title": "Set book contents",
"required": ["function", "author", "title", "pages"],
"properties": {
"function": {
"type": "string",
"const": "set_book_contents",
"description": "TODO description",
"title": "TODO title"
},
"author": {
"type": "string",
"description": "TODO description",
"title": "TODO title"
},
"title": {
"type": "string",
"description": "TODO description",
"title": "TODO title"
},
"pages": {
"type": "array",
"items": {
"type": "string",
"examples": ["Some text", "{\"rawtext\":[ {\"translate\":\"some.text\"}]}"]
},
"description": "TODO description",
"title": "TODO title"
}
}
}

View File

@@ -0,0 +1,37 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.loot_tables.set_count",
"additionalProperties": false,
"description": "The function set_count",
"title": "Set count",
"properties": {
"function": {
"type": "string",
"const": "set_count",
"title": "Function",
"description": "TODO description"
},
"count": {
"title": "Count",
"oneOf": [
{
"type": "integer"
},
{
"type": "object",
"properties": {
"min": {
"type": "integer",
"title": "Minimum"
},
"max": {
"type": "integer",
"title": "Maximum"
}
}
}
],
"description": "TODO description"
}
}
}

View File

@@ -0,0 +1,35 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.loot_tables.set_damage",
"additionalProperties": false,
"description": "The function set_damage",
"title": "Set damage",
"properties": {
"function": {
"type": "string",
"const": "set_damage",
"description": "TODO description",
"title": "TODO title"
},
"damage": {
"oneOf": [
{
"type": "integer"
},
{
"type": "object",
"properties": {
"min": {
"type": "integer"
},
"max": {
"type": "integer"
}
}
}
],
"description": "TODO description",
"title": "TODO title"
}
}
}

View File

@@ -0,0 +1,37 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.loot_tables.set_data",
"additionalProperties": false,
"description": "The function set_data",
"title": "Set data",
"properties": {
"function": {
"type": "string",
"const": "set_data",
"description": "TODO description",
"title": "TODO title"
},
"data": {
"title": "Data",
"oneOf": [
{
"type": "integer"
},
{
"type": "object",
"properties": {
"min": {
"type": "integer",
"title": "Minimum"
},
"max": {
"type": "integer",
"title": "Maximum"
}
}
}
],
"description": "TODO description"
}
}
}

View File

@@ -0,0 +1,15 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.loot_tables.set_data_from_color_index",
"additionalProperties": false,
"description": "The function set_data_from_color_index",
"title": "Set data from color index",
"properties": {
"function": {
"type": "string",
"const": "set_data_from_color_index",
"description": "TODO description",
"title": "TODO title"
}
}
}

View File

@@ -0,0 +1,23 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.loot_tables.set_lore",
"additionalProperties": false,
"description": "The function set_lore",
"title": "Set lore",
"properties": {
"function": {
"type": "string",
"const": "set_lore",
"description": "TODO description",
"title": "TODO title"
},
"lore": {
"type": "array",
"items": {
"type": "string"
},
"description": "TODO description",
"title": "TODO title"
}
}
}

View File

@@ -0,0 +1,20 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.loot_tables.set_name",
"additionalProperties": false,
"description": "The function set_name",
"title": "Set name",
"properties": {
"function": {
"type": "string",
"const": "set_name",
"description": "TODO description",
"title": "TODO title"
},
"name": {
"type": "string",
"description": "TODO description",
"title": "TODO title"
}
}
}

View File

@@ -0,0 +1,102 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.loot_tables.specific_enchants",
"additionalProperties": false,
"description": "The function specific_enchants",
"title": "Specific enchants",
"definitions": {
"IDEnchant": {
"type": "string",
"title": "ID enchantment",
"enum": [
"aqua_affinity",
"bane_of_arthropods",
"blast_protection",
"channeling",
"curse_of_binding",
"curse_of_vanishing",
"depth_strider",
"efficiency",
"feather_falling",
"fire_aspect",
"fire_protection",
"flame",
"fortune",
"frost_walker",
"impaling",
"infinity",
"knockback",
"looting",
"loyalty",
"luck_of_the_sea",
"lure",
"mending",
"multishot",
"piercing",
"projectile_protection",
"protection",
"punch",
"quick_charge",
"respiration",
"riptide",
"sharpness",
"silk_touch",
"smite",
"soul_speed",
"thorns",
"unbreaking"
]
},
"Enchant": {
"type": "object",
"title": "Enchantment",
"additionalProperties": false,
"properties": {
"id": {
"$ref": "#/definitions/IDEnchant"
},
"level": {
"title": "Level",
"oneOf": [
{ "type": "integer", "title": "level" },
{
"type": "array",
"items": [
{ "type": "integer", "title": "min" },
{ "type": "integer", "title": "max" }
]
}
]
}
}
}
},
"properties": {
"function": {
"type": "string",
"const": "specific_enchants",
"description": "Specific enchants",
"title": "Specific enchants"
},
"enchants": {
"title": "Enchants",
"description": "A enchanting specification",
"oneOf": [
{
"type": "string",
"$ref": "#/definitions/IDEnchant"
},
{
"type": "object",
"$ref": "#/definitions/Enchant"
},
{
"type": "array",
"items": {
"$ref": "#/definitions/Enchant"
}
}
]
}
}
}

View File

@@ -0,0 +1,15 @@
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.loot_tables.trader_material_type",
"additionalProperties": false,
"description": "The function trader_material_type",
"title": "Trader material type",
"properties": {
"function": {
"type": "string",
"const": "trader_material_type",
"description": "TODO description",
"title": "TODO title"
}
}
}