Add Item Examples (#182)

Add Examples to Item Components from MS-Learn Website
This commit is contained in:
DW623
2023-08-17 11:04:39 -07:00
committed by GitHub
parent 2abff2794e
commit d3a8c7a4a4
16 changed files with 112 additions and 34 deletions

View File

@@ -12,9 +12,14 @@
"type": "object",
"additionalProperties": false,
"properties": {
"event": { "type": "string", "title": "Event", "description": "UNDOCUMENTED.", "$comment": "UNDOCUMENTED" },
"target": { "type": "string", "title": "Target", "description": "UNDOCUMENTED.", "$comment": "UNDOCUMENTED", "enum": ["self"] }
"event": { "type": "string", "title": "Event", "description": "Event trigger for when the item is used."},
"target": { "type": "string", "title": "Target", "description": "Event Target.", "enum": ["self"] }
}
}
}
},
"examples": [
{
"on_use": "minecraft:entity_transformed"
}
]
}