Added base examples

This commit is contained in:
DaanV2
2021-10-11 18:10:42 +02:00
parent f188cfa6ee
commit 67ccb3d2d1
134 changed files with 2414 additions and 385 deletions

View File

@@ -17,14 +17,35 @@
"description": "Distance in blocks at which the leash stiffens, restricting movement.",
"title": "Hard Distance"
},
"max_distance": { "type": "number", "default": 10, "description": "Distance in blocks at which the leash breaks.", "title": "Maximum Distance" },
"on_leash": { "$ref": "../types/event.json", "description": "Event to call when this entity is leashed.", "title": "On Leash" },
"on_unleash": { "$ref": "../types/event.json", "description": "Event to call when this entity is unleashed.", "title": "On Unleash" },
"max_distance": {
"type": "number",
"default": 10,
"description": "Distance in blocks at which the leash breaks.",
"title": "Maximum Distance"
},
"on_leash": {
"$ref": "../types/event.json",
"description": "Event to call when this entity is leashed.",
"title": "On Leash"
},
"on_unleash": {
"$ref": "../types/event.json",
"description": "Event to call when this entity is unleashed.",
"title": "On Unleash"
},
"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": "Soft Distance"
}
}
},
"examples": [
{
"can_be_stolen": false,
"hard_distance": 6,
"max_distance": 10,
"soft_distance": 4
}
]
}