Skip to content

Commit

Permalink
- Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Xterionix committed Mar 22, 2024
1 parent cec631a commit aeae218
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 34 deletions.
4 changes: 2 additions & 2 deletions source/behavior/entities/format/components/follow_range.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"required": [],
"properties": {
"value": {
"type": "number",
"type": "integer",
"description": "The distance this entity can be from the target when following it",
"title": "Value"
},
"max": {
"type": "number",
"type": "integer",
"description": "Maximum distance this entity can be from the target when following it",
"title": "Max"
}
Expand Down
38 changes: 6 additions & 32 deletions source/behavior/entities/format/components/projectile.json
Original file line number Diff line number Diff line change
Expand Up @@ -196,17 +196,8 @@
"douse_fire": {
"title": "Douse Fire",
"description": "If the target is on fire, then douse the fire.",
"anyOf": [
{
"type": "boolean",
"default": false
},
{
"type": "object",
"additionalProperties": false,
"properties": {}
}
]
"type": "boolean",
"default": false
},
"freeze_on_hit": {
"title": "Freeze On Hit",
Expand Down Expand Up @@ -295,16 +286,8 @@
"catch_fire": {
"title": "Catch Fire",
"description": "Determines if the struck object is set on fire.",
"type": "object",
"additionalProperties": false,
"properties": {
"fire_affected_by_griefing": {
"title": "Fire Affected By Griefing",
"description": "If the griefting gamerule can affect if fire is spawned",
"type": "boolean",
"default": true
}
}
"type": "boolean",
"default": false
},
"channeling": {
"title": "Channeling",
Expand Down Expand Up @@ -609,17 +592,8 @@
"teleport_owner": {
"title": "Teleport Owner",
"description": "Determines if the owner is transported on hit.",
"anyOf": [
{
"type": "boolean",
"default": false
},
{
"type": "object",
"additionalProperties": false,
"properties": {}
}
]
"type": "boolean",
"default": false
},
"thrown_potion_effect": {
"title": "Thrown Potion Effect",
Expand Down

0 comments on commit aeae218

Please sign in to comment.