Update blocks and items to newest format (#215)
* Add emit_vibration * Add min and max bounds to collision_box * Remove experimental label from crafting_table * Fix flammable definition * Add geometry.cross * Add culling property to block_culling_rules * Add max length to loot * Remove part visibility * Remove experimental label from placement filter * Add min max bounds to selection box * Remove unit cube as deprecated * Remove armor component * Add protection to wearable * Remove render offsets * Remove on_dig * Remove dye powder * Remove knockback resistance * Update durability * Remove foil * Add glint * Update hand_equipped * Update food * Remove frame from :icon * Remove max damage * Remove on_use * Remove on_use_on * Update max stack size * Update repairable * Updated :shooter * Update stacked by data * Add use modifiers * Remove use_duration * Remove weapon * Add allow_off_hand * Add can_destroy_in_creative * Add damage * Fix max_stack_size * Add enchantable * Add hover text color * Add liquid clipped * Add record * Add should_despawn * Tags component * Add use_animation * Update item components * Update block components * Update source/behavior/entities/format/events.json --------- Co-authored-by: Daan Verstraten <daanverstraten@hotmail.com>
This commit is contained in:
@@ -26,9 +26,9 @@
|
||||
"description": "Size of each side of the collision box. Size is specified as [x, y, z]. origin + size must be in the range (-8, 0, -8) to (8, 16, 8), inclusive.",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{ "title": "X", "type": "number" },
|
||||
{ "title": "Y", "type": "number" },
|
||||
{ "title": "Z", "type": "number" }
|
||||
{ "title": "X", "type": "number", "minimum": -8.0, "maximum": 8 },
|
||||
{ "title": "Y", "type": "number","minimum": 0, "maximum": 16 },
|
||||
{ "title": "Z", "type": "number","minimum": -8.0, "maximum": 8 }
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.minecraft.crafting_table",
|
||||
"title": "Crafting Table",
|
||||
"description": "[Experimental] Makes your block into a custom crafting table which enables the crafting table UI and the ability to craft recipes.",
|
||||
"description": "Makes your block into a custom crafting table which enables the crafting table UI and the ability to craft recipes.",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"required": [],
|
||||
|
||||
@@ -12,11 +12,17 @@
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"seconds_to_destroy": {
|
||||
"title": "Seconds To Destroy",
|
||||
"description": "Sets the number of seconds it takes to destroy the block with base equipment. Greater numbers result in greater mining times.",
|
||||
"catch_chance_modifier": {
|
||||
"title": "Catch Chance Modifier",
|
||||
"description": "A modifier affecting the chance that this block will catch flame when next to a fire. Values are greater than or equal to 0, with a higher number meaning more likely to catch on fire",
|
||||
"type": "number",
|
||||
"default": 0.0
|
||||
"default": 5
|
||||
},
|
||||
"destroy_chance_modifier": {
|
||||
"title": "Destroy Chance Modifier",
|
||||
"description": "A modifier affecting the chance that this block will be destroyed by flames when on fire.",
|
||||
"type": "number",
|
||||
"default":20
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
"title": "Identifier",
|
||||
"description": "The description identifier of the geometry file to use to render this block. This identifier must match an existing geometry identifier in any of the currently loaded resource packs.",
|
||||
"type": "string",
|
||||
"enum": ["minecraft:geometry.full_block"]
|
||||
"enum": ["minecraft:geometry.full_block", "minecraft:geometry.cross"]
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -36,6 +36,11 @@
|
||||
"description": "Whether or not the bone should be visible.",
|
||||
"title": "Bone Visibility"
|
||||
}
|
||||
},
|
||||
"culling": {
|
||||
"title": "Block Culling Rule",
|
||||
"description": "The description identifer of the block culling rule used to cull this block. This identifier must match an existing geometry identifier in any of the currently loaded resource packs.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,5 +3,6 @@
|
||||
"title": "Loot",
|
||||
"description": "The path to the loot table, relative to the behavior pack.",
|
||||
"type": "string",
|
||||
"pattern": "loot_tables/.*\\.json$"
|
||||
"pattern": "loot_tables/.*\\.json$",
|
||||
"maxLength": 256
|
||||
}
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.minecraft.part_visibility",
|
||||
"title": "Part Visibility",
|
||||
"description": "[Experimental] Maps bone names in a geometry file to a condition that turns their rendering on/off. The condition should be a Molang query that uses block properties to determine true/false.",
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"title": "Part Visibility",
|
||||
"description": "[Experimental] Maps bone names in a geometry file to a condition that turns their rendering on/off. The condition should be a Molang query that uses block properties to determine true/false.",
|
||||
"type": ["string", "boolean"]
|
||||
}
|
||||
}
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.minecraft.placement_filter",
|
||||
"title": "Placement Filter",
|
||||
"description": "[Experimental]",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"conditions": {
|
||||
@@ -17,7 +16,6 @@
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"title": "Placement Filter",
|
||||
"description": "[Experimental]",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
|
||||
@@ -25,9 +25,9 @@
|
||||
"description": "Size of each side of the selection box. Size is specified as [x, y, z]. \"origin\" + \"size\" must be in the range (-8, 0, -8) to (8, 16, 8), inclusive.",
|
||||
"type": "array",
|
||||
"items": [
|
||||
{ "title": "X", "type": "number" },
|
||||
{ "title": "Y", "type": "number" },
|
||||
{ "title": "Z", "type": "number" }
|
||||
{ "title": "X", "type": "number", "minimum": -8.0, "maximum": 8},
|
||||
{ "title": "Y", "type": "number", "minimum": 0, "maximum": 16 },
|
||||
{ "title": "Z", "type": "number", "minimum": -8.0, "maximum": 8}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.minecraft.unit_cube",
|
||||
"title": "Unit Cube",
|
||||
"description": "[Deprecated][Experimental] Specifies that a unit cube is to be used with tessellation.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {}
|
||||
}
|
||||
Reference in New Issue
Block a user