-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* - Add crafting item catalogs * - Removed experimental warning for item visual * - Added renders_when_invisible entity component * - Removed experimental warning for liquid detection * - Added property inheritance to breedable * - Added min_looked_at_duration field to look_at component * - Added combine_parent_colors to breedable * - Update catalog file schema * - Split storage item components * - Added new entity filters * - Added surface opacity to water appearance biome component * - Remove actor_id loot table example as it is no longer the standard * - Add set_armor_trim trim loot table function * - Added match_tool loot table condition * - Added creature_spawn_probability component * - Added verticalFlySpeed to has_ability * - Update descriptions and default values * - Add base field to block_sounds * - Removed block sounds enum as creators can specify custom ones too * - Change default format version
- Loading branch information
Showing
38 changed files
with
453 additions
and
252 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 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
source/behavior/biomes/components/creature_spawn_probability.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 @@ | ||
{ | ||
"$id": "minecraft.behavior.biomes.components.minecraft.creature_spawn_probability", | ||
"title": "Creature Spawn Probability", | ||
"description": "Probability that creatures will spawn within the biome when a chunk is generated.", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"properties": { | ||
"probability": { | ||
"type": "number", | ||
"title": "Probability", | ||
"description": "Probabiltity between [0.0, 0.75] of creatures spawning within the biome on chunk generation.", | ||
"minimum": 0.0, | ||
"maximum": 0.75 | ||
} | ||
} | ||
} |
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
26 changes: 26 additions & 0 deletions
26
source/behavior/entities/filters/filters/home_distance.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,26 @@ | ||
{ | ||
"$id": "blockception.minecraft.behavior.entities.filters.home_distance", | ||
"type": "object", | ||
"title": "Home Distance", | ||
"description": "Tests the distance between the subject and its home. Returns false if the subject has no home or if their home is in a different dimension.", | ||
"required": ["value"], | ||
"properties": { | ||
"test": { | ||
"type": "string", | ||
"title": "Test", | ||
"description": "The test property." | ||
}, | ||
"operator": { | ||
"$ref": "./types/operator.json" | ||
}, | ||
"subject": { | ||
"$ref": "./types/subject.json" | ||
}, | ||
"value": { | ||
"description": "(Required) A floating point value.", | ||
"type": "number", | ||
"default": true, | ||
"title": "Value" | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
source/behavior/entities/filters/filters/is_bound_to_creaking_heart.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,31 @@ | ||
{ | ||
"$id": "blockception.minecraft.behavior.entities.filters.is_bound_to_creaking_heart", | ||
"type": "object", | ||
"title": "Is Bound To Creaking Heart", | ||
"description": "Tests that the Creaking Heart that spawned the subject Creaking still exists.", | ||
"properties": { | ||
"test": { | ||
"type": "string", | ||
"title": "Test Property", | ||
"description": "The test property." | ||
}, | ||
"operator": { | ||
"$ref": "./types/operator.json" | ||
}, | ||
"subject": { | ||
"$ref": "./types/subject.json" | ||
}, | ||
"value": { | ||
"title": "Value", | ||
"description": "True or false.", | ||
"type": "boolean", | ||
"default": true | ||
} | ||
}, | ||
"examples": [ | ||
{ | ||
"test": "is_bound_to_creaking_heart", | ||
"value": false | ||
} | ||
] | ||
} |
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
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
8 changes: 8 additions & 0 deletions
8
source/behavior/entities/format/components/renders_when_invisible.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,8 @@ | ||
{ | ||
"$id": "blockception.minecraft.behavior.entities.minecraft.renders_when_invisible", | ||
"title": "Renders When Invisible", | ||
"description": "Marks the entity as being able to fly, the pathfinder won't be restricted to paths where a solid block is required underneath it.", | ||
"type": "object", | ||
"additionalProperties": false, | ||
"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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema", | ||
"$id": "blockception.minecraft.behavior.item_catalog.crafting_item_catalog", | ||
"type": "object", | ||
"title": "Crafting Item Catalog", | ||
"description": "Used to define the creative inventory/recipe book", | ||
"required": [ "format_version", "minecraft:crafting_items_catalog" ], | ||
"additionalProperties": false, | ||
"properties": { | ||
"format_version": { "$ref": "../../general/format_version.json" }, | ||
"minecraft:crafting_items_catalog": { "$ref": "./format/crafting_items_catalog.json" } | ||
} | ||
} |
Oops, something went wrong.