Refactor
This commit is contained in:
19
source/behavior/loot_tables/functions/set_book_contents.json
Normal file
19
source/behavior/loot_tables/functions/set_book_contents.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.behavior.loot_tables.set_book_contents",
|
||||
"additionalProperties": false,
|
||||
"description": "The function set_book_contents",
|
||||
"title": "Set Book Contents",
|
||||
"required": ["function", "author", "title", "pages"],
|
||||
"properties": {
|
||||
"function": { "type": "string", "const": "set_book_contents", "description": "TODO description", "title": "TODO Title" },
|
||||
"author": { "type": "string", "description": "TODO description", "title": "TODO Title" },
|
||||
"title": { "type": "string", "description": "TODO description", "title": "TODO Title" },
|
||||
"pages": {
|
||||
"type": "array",
|
||||
"items": { "type": "string", "examples": ["Some text", "{\"rawtext\":[ {\"translate\":\"some.text\"}]}"] },
|
||||
"description": "TODO description",
|
||||
"title": "TODO Title"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user