Moved to source folder
This commit is contained in:
61
source/resource/textures/flipbook_textures.json
Normal file
61
source/resource/textures/flipbook_textures.json
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.texture.flipbook",
|
||||
"additionalProperties": false,
|
||||
"type": "array",
|
||||
"title": "The minecraft flipbook texture file",
|
||||
"description": "",
|
||||
"items": {
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"description": "A single flipbook texture",
|
||||
"title": "Flipbook texture",
|
||||
"properties": {
|
||||
"atlas_index": {
|
||||
"type": "integer",
|
||||
"title": "Atlas index",
|
||||
"description": "TODO: add description"
|
||||
},
|
||||
"atlas_tile": {
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9_\\-]*$",
|
||||
"title": "Atlas index",
|
||||
"description": "TODO: add description"
|
||||
},
|
||||
"atlas_tile_variant": {
|
||||
"type": "integer",
|
||||
"title": "Atlas index",
|
||||
"description": "TODO: add description"
|
||||
},
|
||||
"blend_frames": {
|
||||
"type": "boolean",
|
||||
"title": "Atlas index",
|
||||
"description": "TODO: add description"
|
||||
},
|
||||
"flipbook_texture": {
|
||||
"description": "A texture file",
|
||||
"type": "string",
|
||||
"pattern": "^textures/.+$"
|
||||
},
|
||||
"frames": {
|
||||
"description": "The collection of frame index to display",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"description": "The index of the frame",
|
||||
"type": "integer",
|
||||
"title": "Frame index",
|
||||
"minimum": 0
|
||||
}
|
||||
},
|
||||
"replicate": {
|
||||
"type": "integer",
|
||||
"title": "Atlas index",
|
||||
"description": "TODO: add description"
|
||||
},
|
||||
"ticks_per_frame": {
|
||||
"description": "The amount of ticks to wait between frames",
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
76
source/resource/textures/item_texture.json
Normal file
76
source/resource/textures/item_texture.json
Normal file
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.texture.item_texture",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "The minecraft item texture file",
|
||||
"description": "",
|
||||
"definitions": {
|
||||
"texture": {
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "A texture file",
|
||||
"type": "string",
|
||||
"pattern": "^textures/.+$"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"overlay_color": {
|
||||
"description": "The color to apply to the texture",
|
||||
"format": "color-hex"
|
||||
},
|
||||
"path": {
|
||||
"description": "A texture file",
|
||||
"type": "string",
|
||||
"pattern": "^textures/.+$"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"resource_pack_name": {
|
||||
"type": "string",
|
||||
"title": "Resource pack name",
|
||||
"description": "TODO: add description"
|
||||
},
|
||||
"texture_data": {
|
||||
"title": "Texture data",
|
||||
"description": "TODO: add description",
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\w_\\-\\.]+$"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"title": "Texture data",
|
||||
"description": "TODO: add description",
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"textures": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/texture"
|
||||
},
|
||||
{
|
||||
"description": "A collection of textures",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/texture"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"texture_name": {
|
||||
"title": "Texture name",
|
||||
"description": "TODO: add description",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
113
source/resource/textures/terrain_texture.json
Normal file
113
source/resource/textures/terrain_texture.json
Normal file
@@ -0,0 +1,113 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.resource.texture.terrain_texture",
|
||||
"additionalProperties": false,
|
||||
"type": "object",
|
||||
"title": "The minecraft terrain texture file",
|
||||
"description": "",
|
||||
"definitions": {
|
||||
"texture": {
|
||||
"oneOf": [
|
||||
{
|
||||
"description": "A texture file",
|
||||
"type": "string",
|
||||
"pattern": "^textures/.+$"
|
||||
},
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"overlay_color": {
|
||||
"description": "The color to apply to the texture",
|
||||
"format": "color-hex"
|
||||
},
|
||||
"path": {
|
||||
"description": "A texture file",
|
||||
"type": "string",
|
||||
"pattern": "^textures/.+$",
|
||||
"title": "Path"
|
||||
},
|
||||
"tint_color": {
|
||||
"title": "Tint color",
|
||||
"description": "TODO",
|
||||
"format": "color-hex",
|
||||
"type": "string"
|
||||
},
|
||||
"variations": {
|
||||
"type": "array",
|
||||
"title": "Variantions",
|
||||
"description": "TODO",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"title": "Variantion",
|
||||
"description": "TODO",
|
||||
"required": ["path"],
|
||||
"properties": {
|
||||
"path": {
|
||||
"description": "A texture file",
|
||||
"type": "string",
|
||||
"pattern": "^textures/.+$",
|
||||
"title": "Path"
|
||||
},
|
||||
"weight": {
|
||||
"type": "integer",
|
||||
"title": "Weight",
|
||||
"description": "TODO"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
"num_mip_levels": {
|
||||
"type": "integer",
|
||||
"title": "Num mip levels",
|
||||
"description": "TODO: add description"
|
||||
},
|
||||
"padding": {
|
||||
"type": "integer",
|
||||
"title": "Padding",
|
||||
"description": "TODO: add description"
|
||||
},
|
||||
"resource_pack_name": {
|
||||
"type": "string",
|
||||
"title": "Resource pack name",
|
||||
"description": "TODO: add description"
|
||||
},
|
||||
"texture_data": {
|
||||
"type": "object",
|
||||
"propertyNames": {
|
||||
"pattern": "^[\\w_\\-\\.]+$"
|
||||
},
|
||||
"additionalProperties": {
|
||||
"type": "object",
|
||||
"title": "Texture data",
|
||||
"description": "TODO: add description",
|
||||
"properties": {
|
||||
"textures": {
|
||||
"oneOf": [
|
||||
{ "$ref": "#/definitions/texture" },
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/texture"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
},
|
||||
"texture_name": {
|
||||
"type": "string",
|
||||
"description": "TODO description",
|
||||
"title": "TODO title"
|
||||
}
|
||||
}
|
||||
}
|
||||
12
source/resource/textures/texture_list.json
Normal file
12
source/resource/textures/texture_list.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"title": "Texture list",
|
||||
"description": "A list of texture to load in",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"title": "Filepath",
|
||||
"type": "string",
|
||||
"pattern": "^textures/",
|
||||
"examples": ["textures/blocks/"]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user