Misc entity fixes (#248)
* - Misc entity fixes * - Update entity sensor * Update source/behavior/entities/format/behaviors/dig.json Co-authored-by: Daan Verstraten <daanverstraten@hotmail.com> * - Change entity sensor range property * - Fix --------- Co-authored-by: Daan Verstraten <daanverstraten@hotmail.com>
This commit is contained in:
@@ -33,10 +33,17 @@
|
||||
"title": "Minimum Count"
|
||||
},
|
||||
"range": {
|
||||
"type": "number",
|
||||
"default": 10,
|
||||
"description": "[UNDOCUMENTED] The maximum distance another entity can be from this and have the filters checked against it.",
|
||||
"title": "Range"
|
||||
"description": "The maximum distance another entity can be from this and have the filters checked against it.",
|
||||
"title": "Range",
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "../../../../general/vectors/number2.json"
|
||||
},
|
||||
{
|
||||
"default": 10,
|
||||
"type": "number"
|
||||
}
|
||||
]
|
||||
},
|
||||
"require_all": {
|
||||
"type": "boolean",
|
||||
|
||||
@@ -8,12 +8,12 @@
|
||||
"properties": {
|
||||
"value": {
|
||||
"type": "integer",
|
||||
"description": "Range of the amount of damage the melee follow_range deals. A negative value can heal the entity instead of hurting it.",
|
||||
"description": "The distance this entity can be from the target when following it",
|
||||
"title": "Value"
|
||||
},
|
||||
"max": {
|
||||
"type": "integer",
|
||||
"description": "Duration, in seconds, of the status ailment applied to the damaged entity.",
|
||||
"description": "Maximum distance this entity can be from the target when following it",
|
||||
"title": "Max"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"$id": "blockception.minecraft.behavior.entities.minecraft.is_pregnant",
|
||||
"description": "Sets that this entity is currently is_pregnant",
|
||||
"type": "object",
|
||||
"title": "Is Pregnant",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {}
|
||||
}
|
||||
@@ -195,9 +195,9 @@
|
||||
},
|
||||
"douse_fire": {
|
||||
"title": "Douse Fire",
|
||||
"description": "If the target is on fire, then douse the fire.",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If the target is on fire, then douse hte fire."
|
||||
"default": false
|
||||
},
|
||||
"freeze_on_hit": {
|
||||
"title": "Freeze On Hit",
|
||||
@@ -285,9 +285,9 @@
|
||||
"properties": {
|
||||
"catch_fire": {
|
||||
"title": "Catch Fire",
|
||||
"description": "Determines if the struck object is set on fire.",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Determines if the struck object is set on fire."
|
||||
"default": false
|
||||
},
|
||||
"channeling": {
|
||||
"title": "Channeling",
|
||||
@@ -361,6 +361,12 @@
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, then the hit must cause damage to update the last hurt property."
|
||||
},
|
||||
"should_bounce": {
|
||||
"title": "Should Bounce",
|
||||
"description": "If true, the projectile will bounce",
|
||||
"type": "boolean",
|
||||
"default": false
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -585,9 +591,9 @@
|
||||
},
|
||||
"teleport_owner": {
|
||||
"title": "Teleport Owner",
|
||||
"description": "Determines if the owner is transported on hit.",
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "Determines if the owner is transported on hit."
|
||||
"default": false
|
||||
},
|
||||
"thrown_potion_effect": {
|
||||
"title": "Thrown Potion Effect",
|
||||
|
||||
@@ -73,6 +73,11 @@
|
||||
"default": "plop",
|
||||
"description": "Identifier of the sound effect to play when the entity is spawned.",
|
||||
"title": "Spawn Sound"
|
||||
},
|
||||
"spawn_item_event": {
|
||||
"description": "Event to call on this entity when the item is spawned.",
|
||||
"title": "Spawn Item Event",
|
||||
"$ref": "../types/event_object.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user