1.21.90 (#350)
* - Added VV * - Updated block culling * - Added remove_in_peaceful * - Added leashable_to * - Updated leashable * - Added body_rotation_always_follows_head * - Added particle count to destruction_particles * - Added uv_lock * - Added liquid_settings to jigsaws * - Added missing jigsaw fields * - Added random_offset * - Updated color grading description for one field * - Added damaged_by_entity loot table condition * - Added y offset to interact > spawn_items * - Added is_riding_self filter * - Added hides_player_location to wearable * - Added henyey_greenstein_g to fog * - Added block component movable * - Removed internal markers for VV client biome components * - Removed experimental marker for air controlled
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
"description": "[Experimental] Sets the particles that will be used when block is destroyed. This component can be omitted.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["texture"],
|
||||
"properties": {
|
||||
"texture": {
|
||||
"title": "Texture",
|
||||
@@ -15,6 +16,13 @@
|
||||
"description": "Tint multiplied to the color. Tint method logic varies, but often refers to the \"rain\" and \"temperature\" of the biome the block is placed in to compute the tint.",
|
||||
"type": "string",
|
||||
"$ref": "../../../../general/vanilla/tint_methods.json"
|
||||
},
|
||||
"particle_count": {
|
||||
"title": "Particle Count",
|
||||
"description": "Number of particles to spawn on destruction",
|
||||
"type": "integer",
|
||||
"default": 100,
|
||||
"maximum": 255
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,6 +38,25 @@
|
||||
"description": "A string that allows culling rule to group multiple blocks together when comparing them.",
|
||||
"type": "string",
|
||||
"examples": ["minecraft:culling_layer.undefined", "minecraft:culling_layer.leaves"]
|
||||
},
|
||||
"uv_lock": {
|
||||
"anyOf": [
|
||||
{
|
||||
"title": "UV Lock",
|
||||
"description": "A Boolean locking UV orientation of all bones in the geometry, or an array of strings locking UV orientation of specific bones in the geometry. For performance reasons it is recommended to use the Boolean. Note that for cubes using Box UVs, rather than Per-face UVs, 'uv_lock' is only supported if the cube faces are square.",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
},
|
||||
{
|
||||
"title": "UV Lock",
|
||||
"description": "A Boolean locking UV orientation of all bones in the geometry, or an array of strings locking UV orientation of specific bones in the geometry. For performance reasons it is recommended to use the Boolean. Note that for cubes using Box UVs, rather than Per-face UVs, 'uv_lock' is only supported if the cube faces are square.",
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
21
source/behavior/blocks/format/components/movable.json
Normal file
21
source/behavior/blocks/format/components/movable.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.minecraft.movable",
|
||||
"title": "Movable",
|
||||
"description": "[Experimental] This allows for blocks to configure how they should react when moved by a piston",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [ "movement_type" ],
|
||||
"properties": {
|
||||
"movement_type": {
|
||||
"title": "Movement Type",
|
||||
"description": "How the block reacts to being pushed by another block like a piston. Must be one of the following options:\n\"push_pull\" - The default value for this field. The block will be pushed and pulled by a piston.\n\"push\" - The block will only be pulled by a piston and will ignore a sticky piston.\n\"popped\" - The block is destroyed when moved by a piston.\n\"immovable\" - The block is unaffected by a piston.",
|
||||
"type": "string",
|
||||
"enum": ["push_pull", "push", "popped", "immovable"]
|
||||
},
|
||||
"sticky": {
|
||||
"title": "Sticky",
|
||||
"description": "How the block should handle adjacent blocks around it when being pushed by another block like a piston. Must be one of the following options:\n\"same\" - Adjacent blocks to this block will be moved when moved. This excludes other blocks with the \"same\" property. This will only work with the movement_type: \"push_pull\".\n\"none\" - The default and will not move adjacent blocks.",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
55
source/behavior/blocks/format/components/random_offset.json
Normal file
55
source/behavior/blocks/format/components/random_offset.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.blocks.minecraft.random_offset",
|
||||
"title": "Random Offset",
|
||||
"description": "[Experimental] This allows for blocks to randomly offset like foliage does in the Vanilla game",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"definitions": {
|
||||
"entry": {
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"range": {
|
||||
"title": "Range",
|
||||
"description": "This is the range of possible values we can pick from",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": { //TODO: Find out if -4 and 4 are the min and max values allowed
|
||||
"min": {
|
||||
"title": "Min",
|
||||
"description": "Lower bound",
|
||||
"type": "integer"
|
||||
},
|
||||
"max": {
|
||||
"title": "Max",
|
||||
"description": "Upper bound",
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"steps": {
|
||||
"title": "Steps",
|
||||
"description": "This is the equally spaced steps across the given range. Provide 0 for all possible values in the range",
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"x": {
|
||||
"title": "X",
|
||||
"description": "Random offset on the x-axis",
|
||||
"$ref": "#/definitions/entry"
|
||||
},
|
||||
"y": {
|
||||
"title": "Y",
|
||||
"description": "Random offset on the y-axis",
|
||||
"$ref": "#/definitions/entry"
|
||||
},
|
||||
"z": {
|
||||
"title": "Z",
|
||||
"description": "Random offset on the z-axis",
|
||||
"$ref": "#/definitions/entry"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,7 +5,7 @@
|
||||
"description": "A custom block definition.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["description", "components"],
|
||||
"required": [ "description", "components" ],
|
||||
"definitions": {
|
||||
"components_ref": {
|
||||
"type": "object",
|
||||
@@ -30,7 +30,9 @@
|
||||
"minecraft:loot": { "$ref": "./components/loot.json" },
|
||||
"minecraft:map_color": { "$ref": "./components/map_color.json" },
|
||||
"minecraft:material_instances": { "$ref": "./components/material_instances.json" },
|
||||
"minecraft:movable": { "$ref": "./components/movable.json" },
|
||||
"minecraft:placement_filter": { "$ref": "./components/placement_filter.json" },
|
||||
"minecraft:random_offset": { "$ref": "./components/random_offset.json" },
|
||||
"minecraft:redstone_conductivity": { "$ref": "./components/redstone_conductivity.json" },
|
||||
"minecraft:replaceable": { "$ref": "./components/replaceable.json" },
|
||||
"minecraft:selection_box": { "$ref": "./components/selection_box.json" },
|
||||
@@ -39,17 +41,17 @@
|
||||
"minecraft:tick": { "$ref": "./components/tick.json" },
|
||||
"minecraft:entity_fall_on": { "$ref": "./components/entity_fall_on.json" },
|
||||
// Tags
|
||||
"tag:minecraft:diamond_tier_destructible": {},
|
||||
"tag:minecraft:iron_tier_destructible": {},
|
||||
"tag:minecraft:is_axe_item_destructible": {},
|
||||
"tag:minecraft:is_hoe_item_destructible": {},
|
||||
"tag:minecraft:is_mace_item_destructible": {},
|
||||
"tag:minecraft:is_pickaxe_item_destructible": {},
|
||||
"tag:minecraft:is_shears_item_destructible": {},
|
||||
"tag:minecraft:is_shovel_item_destructible": {},
|
||||
"tag:minecraft:is_sword_item_destructible": {},
|
||||
"tag:minecraft:netherite_tier_destructible": {},
|
||||
"tag:minecraft:stone_tier_destructible": {}
|
||||
"tag:minecraft:diamond_tier_destructible": { },
|
||||
"tag:minecraft:iron_tier_destructible": { },
|
||||
"tag:minecraft:is_axe_item_destructible": { },
|
||||
"tag:minecraft:is_hoe_item_destructible": { },
|
||||
"tag:minecraft:is_mace_item_destructible": { },
|
||||
"tag:minecraft:is_pickaxe_item_destructible": { },
|
||||
"tag:minecraft:is_shears_item_destructible": { },
|
||||
"tag:minecraft:is_shovel_item_destructible": { },
|
||||
"tag:minecraft:is_sword_item_destructible": { },
|
||||
"tag:minecraft:netherite_tier_destructible": { },
|
||||
"tag:minecraft:stone_tier_destructible": { }
|
||||
},
|
||||
"patternProperties": {
|
||||
"tag:.+": {
|
||||
@@ -93,7 +95,7 @@
|
||||
"description": "The description for this block.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": ["identifier"],
|
||||
"required": [ "identifier" ],
|
||||
"properties": {
|
||||
"identifier": {
|
||||
"title": "Identifier",
|
||||
@@ -105,9 +107,9 @@
|
||||
"title": "Menu Category",
|
||||
"description": "Specifies the menu category and group for the block, which determine where this block is placed in the inventory and crafting table container screens. If this field is omitted, the block will not appear in the inventory or crafting table container screens.",
|
||||
"type": "object",
|
||||
"examples": [{ "category": "construction" }],
|
||||
"examples": [ { "category": "construction" } ],
|
||||
"additionalProperties": false,
|
||||
"required": ["category"],
|
||||
"required": [ "category" ],
|
||||
"properties": {
|
||||
"category": {
|
||||
"$ref": "../../../general/vanilla/creative_category.json"
|
||||
|
||||
Reference in New Issue
Block a user