-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
100 additions
and
17 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
packages/minecraftBedrock/schema/block/v1.21.50/components/item_visual.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema", | ||
"title": "Item Visual", | ||
"description": "The description identifier of the geometry and material used to render the item of this block.", | ||
"type": "object", | ||
"properties": { | ||
"geometry": { | ||
"description": "The 'minecraft:geometry' component that will be used for the item.", | ||
"$ref": "../../v1.20.60/components/geometry.json" | ||
}, | ||
"material_instances": { | ||
"description": "The 'minecraft:material_instances' component that will be used for the item.", | ||
"$ref": "../../v1.19.40/components/material_instances.json" | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
packages/minecraftBedrock/schema/block/v1.21.50/components/liquid_detection.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema", | ||
"title": "Liquid Detection", | ||
"description": "The definitions for how a block behaves when detecting liquid. Only one rule definition is allowed per liquid type - if multiple are specified, the first will be used and the rest will be ignored.", | ||
"properties": { | ||
"detection_rules": { | ||
"title": "Detection Rules", | ||
"type": "array", | ||
"items": { | ||
"can_contain_liquid": { | ||
"title": "Can Contain Liquid", | ||
"description": "Whether this block can contain the liquid. For example, if the liquid type is `water`, this means the block can be waterlogged.", | ||
"type": "boolean", | ||
"default": false | ||
}, | ||
"liquid_type": { | ||
"title": "Liquid Type", | ||
"description": "The type of liquid this detection rule is for. ", | ||
"type": "string", | ||
"enum": ["water"] | ||
}, | ||
"on_liquid_touches": { | ||
"title": "On Liquid Touches", | ||
"description": "How the block reacts to flowing water.", | ||
"type": "string", | ||
"enum": ["blocking", "broken", "no_reaction"] | ||
}, | ||
"stops_liquid_flowing_from_direction": { | ||
"title": "Stops Liquid Flowing From Direction", | ||
"description": "When a block contains a liquid, controls the directions in which the liquid can't flow out from the block. Also controls the directions in which a block can stop liquid flowing into it if `no_reaction` is set for the `on_liquid_touches` field.", | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"enum": ["up", "down", "north", "south", "east", "west"] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters