Refactor
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.leashable",
|
||||
"description": "Allows this entity to be leashed and Defines the conditions and events for this entity when is leashed.",
|
||||
"type": "object",
|
||||
"title": "Leashable 1.8.0",
|
||||
"additionalProperties": false,
|
||||
"required": [],
|
||||
"properties": {
|
||||
"can_be_stolen": {
|
||||
"type": "boolean",
|
||||
"default": false,
|
||||
"description": "If true, players can leash this entity even if it is already leashed to another mob",
|
||||
"title": "TODO Title"
|
||||
},
|
||||
"hard_distance": { "type": "number", "default": 6, "description": "Distance in blocks at which the leash stiffens, restricting movement", "title": "TODO Title" },
|
||||
"max_distance": { "type": "number", "default": 10, "description": "Distance in blocks at which the leash breaks", "title": "TODO Title" },
|
||||
"on_leash": { "type": "string", "default": "", "description": "Event to call when this entity is leashed", "title": "TODO Title" },
|
||||
"on_unleash": { "type": "string", "default": "", "description": "Event to call when this entity is unleashed", "title": "TODO Title" },
|
||||
"soft_distance": {
|
||||
"type": "number",
|
||||
"default": 4,
|
||||
"description": "Distance in blocks at which the 'spring' effect starts acting to keep this entity close to the entity that leashed it",
|
||||
"title": "TODO Title"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user