From b6cefdb87a564fde96f8a1f2109d82b6ee726a01 Mon Sep 17 00:00:00 2001 From: GeForceLegend <512287858@qq.com> Date: Sun, 6 Oct 2019 19:32:09 +0800 Subject: [PATCH] Fix part of MC-109087 --- assets/minecraft/models/block/anvil.json | 62 ++++++++++ assets/minecraft/models/block/dragon_egg.json | 107 ++++++++++++++++++ .../models/block/four_turtle_eggs.json | 58 ++++++++++ .../minecraft/models/block/potted_bamboo.json | 77 +++++++++++++ .../models/block/template_torch.json | 36 ++++++ 5 files changed, 340 insertions(+) create mode 100644 assets/minecraft/models/block/anvil.json create mode 100644 assets/minecraft/models/block/dragon_egg.json create mode 100644 assets/minecraft/models/block/four_turtle_eggs.json create mode 100644 assets/minecraft/models/block/potted_bamboo.json create mode 100644 assets/minecraft/models/block/template_torch.json diff --git a/assets/minecraft/models/block/anvil.json b/assets/minecraft/models/block/anvil.json new file mode 100644 index 000000000..b8a5c528c --- /dev/null +++ b/assets/minecraft/models/block/anvil.json @@ -0,0 +1,62 @@ +{ + "__comment":"Designed by GeForceLegend", + "parent":"block/block", + "textures":{ + "body":"block/anvil", + "particle":"block/anvil", + "top":"block/anvil_top" + }, + "elements":[ + { + "from":[2,0,2], + "to":[14,4,14], + "faces":{ + "north":{"uv":[2,12,14,16],"texture":"#body"}, + "east":{"uv":[4,2,0,14],"rotation":270,"texture":"#body"}, + "south":{"uv":[2,12,14,16],"texture":"#body"}, + "west":{"uv":[0,2,4,14],"rotation":90,"texture":"#body"}, + "up":{"uv":[2,2,14,14],"rotation":180,"texture":"#body"}, + "down":{"uv":[2,2,14,14],"rotation":180,"texture":"#body","cullface":"down"} + } + }, + { + "from":[4,4,3], + "to":[12,5,13], + "faces":{ + "north":{"uv":[4,11,12,12],"texture":"#body"}, + "east":{"uv":[5,3,4,13],"rotation":270,"texture":"#body"}, + "south":{"uv":[4,11,12,12],"texture":"#body"}, + "west":{"uv":[4,3,5,13],"rotation":90,"texture":"#body"}, + "up":{"uv":[4,3,12,13],"rotation":180,"texture":"#body"} + } + }, + { + "from":[6,5,4], + "to":[10,10,12], + "faces":{ + "north":{"uv":[6,6,10,11],"texture":"#body"}, + "east":{"uv":[10,4,5,12],"rotation":270,"texture":"#body"}, + "south":{"uv":[6,6,10,11],"texture":"#body"}, + "west":{"uv":[5,4,10,12],"rotation":90,"texture":"#body"} + } + }, + { + "from":[3,10,0], + "to":[13,16,16], + "faces":{ + "north":{"uv":[3,0,13,6],"texture":"#body","cullface":"north"}, + "east":{"uv":[16,0,10,16],"rotation":270,"texture":"#body"}, + "south":{"uv":[3,0,13,6],"texture":"#body","cullface":"south"}, + "west":{"uv":[10,0,16,16],"rotation":90,"texture":"#body"}, + "up":{"uv":[3,0,13,16],"rotation":180,"texture":"#top","cullface":"up"}, + "down":{"uv":[3,0,13,16],"rotation":180,"texture":"#body"} + } + } + ], + "display":{ + "fixed":{ + "rotation":[0,90,0], + "scale":[0.5,0.5,0.5] + } + } +} \ No newline at end of file diff --git a/assets/minecraft/models/block/dragon_egg.json b/assets/minecraft/models/block/dragon_egg.json new file mode 100644 index 000000000..8166a0d18 --- /dev/null +++ b/assets/minecraft/models/block/dragon_egg.json @@ -0,0 +1,107 @@ +{ + "__comment":"Designed by GeForceLegend", + "parent":"block/block", + "ambientocclusion":false, + "textures":{ + "all":"block/dragon_egg", + "particle":"block/dragon_egg" + }, + "elements":[ + { + "from":[6,15,6], + "to":[10,16,10], + "faces":{ + "north":{"uv":[6,15,10,16],"texture":"#all"}, + "east":{"uv":[6,15,10,16],"texture":"#all"}, + "south":{"uv":[6,15,10,16],"texture":"#all"}, + "west":{"uv":[6,15,10,16],"texture":"#all"}, + "up":{"uv":[6,6,10,10],"texture":"#all","cullface":"up"}, + "down":{"uv":[6,6,10,10],"texture":"#all"} + } + }, + { + "from":[5,14,5], + "to":[11,15,11], + "faces":{ + "north":{"uv":[5,14,11,15],"texture":"#all"}, + "east":{"uv":[5,14,11,15],"texture":"#all"}, + "south":{"uv":[5,14,11,15],"texture":"#all"}, + "west":{"uv":[5,14,11,15],"texture":"#all"}, + "up":{"uv":[5,5,11,11],"texture":"#all"}, + "down":{"uv":[5,5,11,11],"texture":"#all"} + } + }, + { + "from":[5,13,5], + "to":[11,14,11], + "faces":{ + "north":{"uv":[4,13,12,14],"texture":"#all"}, + "east":{"uv":[4,13,12,14],"texture":"#all"}, + "south":{"uv":[4,13,12,14],"texture":"#all"}, + "west":{"uv":[4,13,12,14],"texture":"#all"}, + "up":{"uv":[4,4,12,12],"texture":"#all"}, + "down":{"uv":[4,4,12,12],"texture":"#all"} + } + }, + { + "from":[3,11,3], + "to":[13,13,13], + "faces":{ + "north":{"uv":[3,11,13,13],"texture":"#all"}, + "east":{"uv":[3,11,13,13],"texture":"#all"}, + "south":{"uv":[3,11,13,13],"texture":"#all"}, + "west":{"uv":[3,11,13,13],"texture":"#all"}, + "up":{"uv":[3,3,13,13],"texture":"#all"}, + "down":{"uv":[3,3,13,13],"texture":"#all"} + } + }, + { + "from":[2,8,2], + "to":[14,11,14], + "faces":{ + "north":{"uv":[2,8,14,11],"texture":"#all"}, + "east":{"uv":[2,8,14,11],"texture":"#all"}, + "south":{"uv":[2,8,14,11],"texture":"#all"}, + "west":{"uv":[2,8,14,11],"texture":"#all"}, + "up":{"uv":[2,2,14,14],"texture":"#all"}, + "down":{"uv":[2,2,14,14],"texture":"#all"} + } + }, + { + "from":[1,3,1], + "to":[15,8,15], + "faces":{ + "north":{"uv":[1,3,15,8],"texture":"#all"}, + "east":{"uv":[1,3,15,8],"texture":"#all"}, + "south":{"uv":[1,3,15,8],"texture":"#all"}, + "west":{"uv":[1,3,15,8],"texture":"#all"}, + "up":{"uv":[1,1,15,15],"texture":"#all"}, + "down":{"uv":[1,1,15,15],"texture":"#all"} + } + }, + { + "from":[2,1,2], + "to":[14,3,14], + "faces":{ + "north":{"uv":[2,1,14,3],"texture":"#all"}, + "east":{"uv":[2,1,14,3],"texture":"#all"}, + "south":{"uv":[2,1,14,3],"texture":"#all"}, + "west":{"uv":[2,1,14,3],"texture":"#all"}, + "up":{"uv":[2,2,14,14],"texture":"#all"}, + "down":{"uv":[2,2,14,14],"texture":"#all"} + } + }, + { + "from":[3,0,3], + "to":[13,1,13], + "faces":{ + "north":{"uv":[3,0,13,1],"texture":"#all"}, + "east":{"uv":[3,0,13,1],"texture":"#all"}, + "south":{"uv":[3,0,13,1],"texture":"#all"}, + "west":{"uv":[3,0,13,1],"texture":"#all"}, + "up":{"uv":[3,3,13,13],"texture":"#all"}, + "down":{"uv":[3,3,13,13],"texture":"#all","cullface":"down"} + } + } + ] +} \ No newline at end of file diff --git a/assets/minecraft/models/block/four_turtle_eggs.json b/assets/minecraft/models/block/four_turtle_eggs.json new file mode 100644 index 000000000..2d95e5c2f --- /dev/null +++ b/assets/minecraft/models/block/four_turtle_eggs.json @@ -0,0 +1,58 @@ +{ + "__comment":"Designed by GeForceLegend", + "parent":"block/block", + "textures":{ + "all":"block/turtle_egg", + "particle":"block/turtle_egg" + }, + "elements":[ + { + "from":[5,0,4], + "to":[9,7,8], + "faces":{ + "north":{"uv":[1,4,5,11],"texture":"#all"}, + "east":{"uv":[1,4,5,11],"texture":"#all"}, + "south":{"uv":[1,4,5,11],"texture":"#all"}, + "west":{"uv":[1,4,5,11],"texture":"#all"}, + "up":{"uv":[0,0,4,4],"texture":"#all"}, + "down":{"uv":[0,0,4,4],"texture":"#all","cullface":"down"} + } + }, + { + "from":[1,0,7], + "to":[5,5,11], + "faces":{ + "north":{"uv":[10,10,14,15],"texture":"#all"}, + "east":{"uv":[10,10,14,15],"texture":"#all"}, + "south":{"uv":[10,10,14,15],"texture":"#all"}, + "west":{"uv":[10,10,14,15],"texture":"#all"}, + "up":{"uv":[6,7,10,11],"texture":"#all"}, + "down":{"uv":[6,7,10,11],"texture":"#all","cullface":"down"} + } + }, + { + "from":[11,0,7], + "to":[14,4,10], + "faces":{ + "north":{"uv":[8,3,11,7],"texture":"#all"}, + "east":{"uv":[8,3,11,7],"texture":"#all"}, + "south":{"uv":[8,3,11,7],"texture":"#all"}, + "west":{"uv":[8,3,11,7],"texture":"#all"}, + "up":{"uv":[5,0,8,3],"texture":"#all"}, + "down":{"uv":[5,0,8,3],"texture":"#all","cullface":"down"} + } + }, + { + "from":[6,0,9], + "to":[10,4,13], + "faces":{ + "north":{"uv":[4,11,8,15],"texture":"#all"}, + "east":{"uv":[4,11,8,15],"texture":"#all"}, + "south":{"uv":[4,11,8,15],"texture":"#all"}, + "west":{"uv":[4,11,8,15],"texture":"#all"}, + "up":{"uv":[0,11,4,15],"texture":"#all"}, + "down":{"uv":[0,11,4,15],"texture":"#all","cullface":"down"} + } + } + ] +} \ No newline at end of file diff --git a/assets/minecraft/models/block/potted_bamboo.json b/assets/minecraft/models/block/potted_bamboo.json new file mode 100644 index 000000000..d009c9c99 --- /dev/null +++ b/assets/minecraft/models/block/potted_bamboo.json @@ -0,0 +1,77 @@ +{ + "__comment":"Designed by GeForceLegend", + "ambientocclusion":false, + "textures":{ + "flowerpot":"block/flower_pot", + "particle":"block/flower_pot", + "dirt":"block/dirt", + "bamboo":"block/bamboo_stalk", + "leaf":"block/bamboo_singleleaf" + }, + "elements":[ + { + "from":[5,0,5], + "to":[6,6,11], + "faces":{ + "east":{"uv":[5,10,11,16],"texture":"#flowerpot"}, + "west":{"uv":[5,10,11,16],"texture":"#flowerpot"}, + "up":{"uv":[5,5,6,11],"texture":"#flowerpot"} + } + }, + { + "from":[10,0,5], + "to":[11,6,11], + "faces":{ + "east":{"uv":[5,10,11,16],"texture":"#flowerpot"}, + "west":{"uv":[5,10,11,16],"texture":"#flowerpot"}, + "up":{"uv":[10,5,11,11],"texture":"#flowerpot"} + } + }, + { + "from":[5,0,5], + "to":[11,6,6], + "faces":{ + "north":{"uv":[5,10,11,16],"texture":"#flowerpot"}, + "south":{"uv":[5,10,11,16],"texture":"#flowerpot"}, + "up":{"uv":[5,5,11,6],"texture":"#flowerpot"} + } + }, + { + "from":[5,0,10], + "to":[11,6,11], + "faces":{ + "north":{"uv":[5,10,11,16],"texture":"#flowerpot"}, + "south":{"uv":[5,10,11,16],"texture":"#flowerpot"}, + "up":{"uv":[5,10,11,11],"texture":"#flowerpot"} + } + }, + { + "from":[5,0,5], + "to":[11,4,11], + "faces":{ + "up":{"uv":[5,5,11,11],"texture":"#dirt"}, + "down":{"uv":[5,10,11,16],"texture":"#flowerpot","cullface":"down"} + } + }, + { + "from":[7,0,7], + "to":[9,16,9], + "faces":{ + "north":{"uv":[6,0,8,16],"texture":"#bamboo"}, + "east":{"uv":[6,0,8,16],"texture":"#bamboo"}, + "south":{"uv":[6,0,8,16],"texture":"#bamboo"}, + "west":{"uv":[6,0,8,16],"texture":"#bamboo"}, + "up":{"uv":[13,0,15,2],"texture":"#bamboo","cullface":"up"} + } + }, + { + "from":[0,2,8], + "to":[16,18,8], + "shade":false, + "faces":{ + "north":{"uv":[0,0,16,16],"texture":"#leaf"}, + "south":{"uv":[16,0,0,16],"texture":"#leaf"} + } + } + ] +} \ No newline at end of file diff --git a/assets/minecraft/models/block/template_torch.json b/assets/minecraft/models/block/template_torch.json new file mode 100644 index 000000000..fc749c896 --- /dev/null +++ b/assets/minecraft/models/block/template_torch.json @@ -0,0 +1,36 @@ +{ + "__comment":"Designed by GeForceLegend", + "ambientocclusion":false, + "textures":{ + "particle":"#torch" + }, + "elements":[ + { + "from":[7,0,7], + "to":[9,10,9], + "shade":false, + "faces":{ + "up":{"uv":[7,6,9,8],"texture":"#torch"}, + "down":{"uv":[7,13,9,15],"texture":"#torch","cullface":"down"} + } + }, + { + "from":[7,0,0], + "to":[9,16,16], + "shade":false, + "faces":{ + "east":{"uv":[0,0,16,16],"texture":"#torch"}, + "west":{"uv":[0,0,16,16],"texture":"#torch"} + } + }, + { + "from":[0,0,7], + "to":[16,16,9], + "shade":false, + "faces":{ + "north":{"uv":[0,0,16,16],"texture":"#torch"}, + "south":{"uv":[0,0,16,16],"texture":"#torch"} + } + } + ] +} \ No newline at end of file