Starting on blocks (#137)

* Starting on blocks

* Updated collision box

* Updated block components

* Fixed block/rotation

* Making orbi responsible for dependencies

* Updating blocks

* trigger -> triggers
This commit is contained in:
Daan Verstraten
2022-10-29 16:36:39 +02:00
committed by GitHub
parent 519f9ed84a
commit 2fe9f2ed70
50 changed files with 530 additions and 376 deletions

View File

@@ -1,22 +1,24 @@
{
"$id": "blockception.minecraft.behavior.blocks.minecraft.flammable",
"additionalProperties": false,
"type": "object",
"title": "Flammable",
"description": "Describes the flammable properties for this block.",
"additionalItems": false,
"properties": {
"burn_odds": {
"type": "integer",
"default": 0,
"description": "How likely the block will be destroyed by flames when on fire. Value must be greater than or equal to 0.",
"title": "Burn Odds"
"description": "Describes the flammable properties for this block. If set to true, default values are used. If set to false, or if this component is omitted, the block will not be able to catch on fire naturally from neighbors, but it can still be directly ignited.",
"oneOf": [
{
"type": "boolean",
"default": true
},
"flame_odds": {
"type": "integer",
"default": 0,
"description": "How likely the block will catch flame when next to a fire. Value must be greater than or equal to 0.",
"title": "Flame Odds"
{
"type": "object",
"additionalProperties": false,
"required": [],
"properties": {
"seconds_to_destroy": {
"title": "Seconds To Destroy",
"description": "Sets the number of seconds it takes to destroy the block with base equipment. Greater numbers result in greater mining times.",
"type": "number",
"default": 0.0
}
}
}
}
]
}