-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* - Add new client biome components * - Added built-in block tags * - Add liquid detection block component * - Add item visual component * - Allow ambient_occlusion to use floats * - Added cannot_be_attacked and ignore component * - Added play_sound event response * - Added summon_event property to summon_entity behavior * - Updated home and looked_at components * - Added compostable item component * - Added jigsaws * - Added processor_lists * - Made identifier required in jigsaws * - Added structure sets * - Remove compressed volume file * - Add template pools * - Setup jigsaw schemas * - Added broadcast_when_dying * - Update interact.vibration * - Fix format_version ref in jigsaw schemas
- Loading branch information
Showing
36 changed files
with
1,131 additions
and
39 deletions.
There are no files selected for viewing
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 was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"$id": "blockception.minecraft.behavior.blocks.minecraft.item_visual", | ||
"title": "Item Visual", | ||
"description": "The description identifier of the geometry and material used to render the item of this block.\nExperimental toggles required: Upcoming Creator Features", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": [ "geometry", "material_instances" ], | ||
"properties": { | ||
"geometry": { | ||
"title": "Geometry", | ||
"description": "The \"minecraft:geometry\" component that will be used for the item.", | ||
"$ref": "./geometry.json" | ||
}, | ||
"material_instances": { | ||
"title": "Geometry", | ||
"description": "The \"minecraft:material_instances\" component that will be used for the item.", | ||
"$ref": "./material_instances.json" | ||
} | ||
} | ||
} |
56 changes: 56 additions & 0 deletions
56
source/behavior/blocks/format/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,56 @@ | ||
{ | ||
"$id": "blockception.minecraft.behavior.blocks.minecraft.liquid_detection", | ||
"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.\nExperimental toggles required: Upcoming Creator Features", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"required": [ ], | ||
"definitions": { | ||
"definition_rule": { | ||
"title": "Definition Rule", | ||
"description": "The definition rule that specifies the behavior for one liquid type.", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"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" ], | ||
"default": "water" | ||
}, | ||
"on_liquid_touches": { | ||
"title": "On Liquid Touches", | ||
"description": "How the block reacts to flowing water. Must be one of the following options:\n\"blocking\" - The default value for this field. The block stops the liquid from flowing.\n\"broken\" - The block is destroyed completely.\n\"popped\" - The block is destroyed and its item is spawned.\n\"no_reaction\" - The block is unaffected; visually, the liquid will flow through the block.", | ||
"type": "string", | ||
"enum": [ "blocking", "broken", "popped", "no_reaction" ], | ||
"default": "blocking" | ||
}, | ||
"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. The default is an empty list; this means that liquid can flow out of all directions by default.", | ||
"type": "array", | ||
"uniqueItems": true, | ||
"items": { | ||
"type": "string", | ||
"enum": [ "up", "down", "north", "south", "east", "west", "side", "all" ] | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"properties": { | ||
"detection_rules": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/definition_rule" | ||
} | ||
} | ||
} | ||
} |
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
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
9 changes: 9 additions & 0 deletions
9
source/behavior/entities/format/components/cannot_be_attacked.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,9 @@ | ||
{ | ||
"$id": "blockception.minecraft.behavior.entities.minecraft.cannot_be_attacked", | ||
"type": "object", | ||
"title": "Cannot Be Attacked", | ||
"additionalProperties": false, | ||
"description": "When set, blocks entities from attacking the owner entity unless they have the \"minecraft:ignore_cannot_be_attacked\" component.", | ||
"required": [ ], | ||
"properties": { } | ||
} |
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
Oops, something went wrong.