2020-11-01 17:22:42 +01:00
|
|
|
{
|
2021-04-04 13:52:35 +02:00
|
|
|
"$id": "blockception.minecraft.behavior.entities.1.8.0.minecraft.tameable",
|
2020-11-01 17:22:42 +01:00
|
|
|
"type": "object",
|
|
|
|
|
"title": "Tameable 1.8.0",
|
|
|
|
|
"description": "Defines the rules for a mob to be tamed by the player.",
|
|
|
|
|
"required": [],
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"properties": {
|
|
|
|
|
"probability": {
|
|
|
|
|
"type": "number",
|
|
|
|
|
"default": 1,
|
|
|
|
|
"description": "The chance of taming the entity with each item use between 0.0 and 1.0, where 1.0 is 100%",
|
|
|
|
|
"minimum": 0,
|
|
|
|
|
"maximum": 1,
|
2021-03-21 15:18:38 +01:00
|
|
|
"title": "TODO Title"
|
2020-11-01 17:22:42 +01:00
|
|
|
},
|
2021-03-21 15:18:38 +01:00
|
|
|
"tame_event": { "title": "Tame Event", "$ref": "../types/event.json", "description": "Event to run when this entity becomes tamed" },
|
2020-11-01 17:22:42 +01:00
|
|
|
"tame_items": {
|
|
|
|
|
"title": "Tame Items",
|
|
|
|
|
"description": "The list of items that can be used to tame this entity",
|
2021-05-18 23:32:44 +02:00
|
|
|
"oneOf": [
|
|
|
|
|
{ "type": "array", "items": { "$ref": "../../../../general/item/identifier.json" } },
|
|
|
|
|
{ "$ref": "../../../../general/item/identifier.json" }
|
|
|
|
|
]
|
2020-11-01 17:22:42 +01:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|