Skip to content

Commit

Permalink
Update can fly (#218)
Browse files Browse the repository at this point in the history
* - Add min to health

* - Update timer flag to match sniffer.json

* - Update can_fly

* - Remove load on low memory
  • Loading branch information
Xterionix authored Feb 21, 2024
1 parent bfd5054 commit 4778547
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 17 deletions.
21 changes: 10 additions & 11 deletions source/behavior/entities/format/components/can_fly.json
Original file line number Diff line number Diff line change
@@ -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": {
"anyOf": [
{
"type":"object",
"additionalProperties": false
},
{
"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"
"default": false
}
},
],
"examples": [
{
"value": true
}
true,
false
]
}
7 changes: 1 addition & 6 deletions source/resource/sounds/sound_definitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand All @@ -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",
Expand Down

0 comments on commit 4778547

Please sign in to comment.