Initial Commit
This commit is contained in:
39
behaviour/entities/1.8.0/components/minecraft.tameable.json
Normal file
39
behaviour/entities/1.8.0/components/minecraft.tameable.json
Normal file
@@ -0,0 +1,39 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.tameable",
|
||||
"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,
|
||||
"title": "TODO title"
|
||||
},
|
||||
"tame_event": {
|
||||
"title": "Tame Event",
|
||||
"$ref": "../types/event.json",
|
||||
"description": "Event to run when this entity becomes tamed"
|
||||
},
|
||||
"tame_items": {
|
||||
"title": "Tame Items",
|
||||
"description": "The list of items that can be used to tame this entity",
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "../../../../general/item/identifier.json"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "../../../../general/item/identifier.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user