Packages

Provides access to data from the game Minecraft.

Current section

Files

Jump to
mc_data priv minecraft-data schemas entities_schema.json
Raw

priv/minecraft-data/schemas/entities_schema.json

{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "entities",
"type": "array",
"uniqueItems": true,
"items" : {
"title": "entity",
"type": "object",
"properties": {
"id": {
"description": "The unique identifier for an entity",
"type": "integer",
"minimum": 0
},
"internalId":{
"description": "The internal id of an entity : used in eggs metadata for example",
"type": "integer",
"minimum": 0
},
"displayName": {
"description": "The display name of an entity",
"type": "string"
},
"name": {
"description": "The name of an entity",
"type": "string",
"pattern": "\\S+"
},
"type": {
"description": "The type of an entity",
"type": "string"
},
"width": {
"description": "The width of the entity",
"type": [
"number",
"null"
]
},
"height": {
"description": "The height of the entity",
"type": [
"number",
"null"
]
},
"category": {
"description": "The category of an entity : a semantic category",
"type": "string"
}
},
"required": [
"id",
"displayName",
"name",
"type",
"width",
"height"
],
"additionalProperties": false
}
}