Update can fly (#218)

* - Add min to health

* - Update timer flag to match sniffer.json

* - Update can_fly

* - Remove load on low memory
This commit is contained in:
Xterionix
2024-02-21 23:17:56 +05:00
committed by GitHub
parent bfd5054763
commit 4778547e37
2 changed files with 12 additions and 18 deletions

View File

@@ -1,21 +1,20 @@
{
"$id": "blockception.minecraft.behavior.entities.minecraft.can_fly",
"type": "object",
"title": "Can Fly",
"additionalProperties": false,
"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.",
"required": [],
"properties": {
"value": {
"type": "boolean",
"default": true,
"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.",
"title": "Value"
}
},
"examples": [
"anyOf": [
{
"value": true
"type":"object",
"additionalProperties": false
},
{
"type": "boolean",
"default": false
}
],
"examples": [
true,
false
]
}

View File

@@ -49,7 +49,7 @@
"additionalProperties": false,
"type": "object",
"required": ["name"],
"examples": [{ "load_on_low_memory": false, "name": "sounds/fx/example" }],
"examples": [{ "name": "sounds/fx/example" }],
"properties": {
"is3D": {
"description": "UNDOCUMENTED.",
@@ -59,11 +59,6 @@
},
"pitch": { "description": "The pitch of the audio, 1 is nomial.", "type": "number", "minimum": 0, "maximum": 2, "title": "Pitch" },
"volume": { "description": "The volume of the audio, 1 is nomial.", "type": "number", "minimum": 0, "title": "Volume" },
"load_on_low_memory": {
"type": "boolean",
"description": "Marks if this audio should be loaded or not on low memory.",
"title": "Load On Low Memory"
},
"stream": { "description": "If marked true then minecraft will stream the audio.", "type": "boolean", "title": "Stream" },
"name": {
"$id": "#/Sound/sounds/stringItem",