1.21.100 (#363)
* - Added replacements for enderman block place/take behaviors * - Added transport items goal * - Added grass_is_shaded property * - Removed experimental tag for movable component * - Remove experimental tag from random offset * - Added can_wear_armor field * - Added "none" heightmap projection * - Improved descriptions for jigsaw rule * - Added blockstate and random block state predicates * - Improve rule descriptions * - Added min and max values for terrain texture variations * - Update template pool with empty pool * - Improved surface builder component * - Added humidity biome component * - Added partially frozen biome component * - Renamed to rotation_axis_aligned * - Added map_tints biome component
This commit is contained in:
@@ -2,38 +2,6 @@
|
||||
"title": "Rule",
|
||||
"type": "object",
|
||||
"definitions": {
|
||||
"block_specifier": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "../../../../../general/block/identifier.json"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"name": {
|
||||
"$ref": "../../../../../general/block/identifier.json"
|
||||
},
|
||||
"states": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"rule": {
|
||||
"properties": {
|
||||
"block_entity_modifier": {
|
||||
@@ -59,6 +27,12 @@
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/tag_match"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/blockstate_match"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/random_blockstate_match"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -75,11 +49,17 @@
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/tag_match"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/blockstate_match"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/random_blockstate_match"
|
||||
}
|
||||
]
|
||||
},
|
||||
"output_state": {
|
||||
"$ref": "#/definitions/block_specifier"
|
||||
"$ref": "../../../../../general/block/reference.json"
|
||||
},
|
||||
"position_predicate": {
|
||||
"oneOf": [
|
||||
@@ -98,19 +78,18 @@
|
||||
},
|
||||
"append_loot": {
|
||||
"title": "Append Loot",
|
||||
"description": "",
|
||||
"description": "Modifier will attempt to add loot to a block entity.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [ "type", "loot_table" ],
|
||||
"properties": {
|
||||
"loot_table": {
|
||||
"title": "Loot Table",
|
||||
"description": "",
|
||||
"description": "The loot table to append",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"title": "Type",
|
||||
"description": "",
|
||||
"type": "string",
|
||||
"const": "minecraft:append_loot"
|
||||
}
|
||||
@@ -118,14 +97,13 @@
|
||||
},
|
||||
"passthrough": {
|
||||
"title": "Passthrough",
|
||||
"description": "",
|
||||
"description": "Modifier that leaves the state unchanged. This is the default block modifier if no other block modifier is specified.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [ "type" ],
|
||||
"properties": {
|
||||
"type": {
|
||||
"title": "Type",
|
||||
"description": "",
|
||||
"type": "string",
|
||||
"const": "minecraft:passthrough"
|
||||
}
|
||||
@@ -133,7 +111,7 @@
|
||||
},
|
||||
"always_true": {
|
||||
"title": "Always True",
|
||||
"description": "",
|
||||
"description": "Predicate that always evaluates to true. This is the default predicate if no other predicate is specified.",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"required": [ "predicate_type" ],
|
||||
@@ -147,6 +125,7 @@
|
||||
},
|
||||
"block_match": {
|
||||
"title": "Block Match",
|
||||
"description": "Predicate that evaluates to true if the block at the specified location matches the specified block.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"block": {
|
||||
@@ -165,6 +144,7 @@
|
||||
},
|
||||
"random_block_match": {
|
||||
"title": "Random Block Match",
|
||||
"description": "Predicate that evaluates to true with a given probability if the block at the specified location matches the specified block.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"block": {
|
||||
@@ -177,6 +157,7 @@
|
||||
},
|
||||
"probability": {
|
||||
"type": "number",
|
||||
"description": "Probability of the evaluating to true when the block matches.",
|
||||
"minimum": 0.0,
|
||||
"exclusiveMaximum": 1.0
|
||||
}
|
||||
@@ -189,6 +170,7 @@
|
||||
},
|
||||
"tag_match": {
|
||||
"title": "Tag Match",
|
||||
"description": "Predicate that evaluates to true if the block at the specified location contains the tag.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"predicate_type": {
|
||||
@@ -197,6 +179,8 @@
|
||||
"const": "minecraft:tag_match"
|
||||
},
|
||||
"tag": {
|
||||
"title": "Tag",
|
||||
"description": "The tag to be matched.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -205,8 +189,54 @@
|
||||
"tag"
|
||||
]
|
||||
},
|
||||
"blockstate_match": {
|
||||
"title": "BlockState Match",
|
||||
"description": "Predicate that evaluates to true if the block at the specified location matches the specified block.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"block_state": {
|
||||
"$ref": "../../../../../general/block/reference.json"
|
||||
},
|
||||
"predicate_type": {
|
||||
"title": "Predicate Type",
|
||||
"type": "string",
|
||||
"const": "minecraft:blockstate_match"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"block_state",
|
||||
"predicate_type"
|
||||
]
|
||||
},
|
||||
"random_blockstate_match": {
|
||||
"title": "Random BlockState Match",
|
||||
"description": "Predicate that evaluates to true with a given probability if the block at the specified location matches the specified block.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"block_state": {
|
||||
"$ref": "../../../../../general/block/reference.json"
|
||||
},
|
||||
"predicate_type": {
|
||||
"title": "Predicate Type",
|
||||
"type": "string",
|
||||
"const": "minecraft:random_blockstate_match"
|
||||
},
|
||||
"probability": {
|
||||
"type": "number",
|
||||
"description": "Probability of the evaluating to true when the block matches.",
|
||||
"minimum": 0.0,
|
||||
"exclusiveMaximum": 1.0
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"block_state",
|
||||
"predicate_type",
|
||||
"probability"
|
||||
]
|
||||
},
|
||||
"axis_aligned_linear_pos": {
|
||||
"title": "Axis Aligned Linear",
|
||||
"description": "Predicate that evalutes to true if the block is within the distance range along the provided axis and and random number is generated between chance range.",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"axis": {
|
||||
@@ -247,7 +277,6 @@
|
||||
},
|
||||
"predicate_type": {
|
||||
"title": "Predicate Type",
|
||||
"description": "",
|
||||
"type": "string",
|
||||
"const": "minecraft:axis_aligned_linear_pos"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user