9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-24 01:19:24 +00:00

添加下次更新所需的模型

This commit is contained in:
XiaoMoMi
2025-09-14 21:14:22 +08:00
parent 708aa394a5
commit cb5865e7fc
9 changed files with 332 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
items:
default:amethyst_torch:
material: nether_brick
custom-model-data: 3019
custom-model-data: 3020
data:
item-name: <!i><i18n:item.amethyst_torch>
model:
@@ -20,7 +20,7 @@ items:
block: default:amethyst_wall_torch
default:amethyst_standing_torch:
material: nether_brick
custom-model-data: 3020
custom-model-data: 3021
data:
item-name: <!i><i18n:item.amethyst_torch>
model:
@@ -32,7 +32,7 @@ items:
torch: minecraft:block/custom/amethyst_torch
default:amethyst_wall_torch:
material: nether_brick
custom-model-data: 3021
custom-model-data: 3022
data:
item-name: <!i><i18n:item.amethyst_torch>
model:

View File

@@ -60,21 +60,21 @@ items:
east_on:
state: barrier
entity-renderer:
item: default:table_lamp
item: default:table_lamp_on
north_on:
state: barrier
entity-renderer:
item: default:table_lamp
item: default:table_lamp_on
yaw: -90
south_on:
state: barrier
entity-renderer:
item: default:table_lamp
item: default:table_lamp_on
yaw: 90
west_on:
state: barrier
entity-renderer:
item: default:table_lamp
item: default:table_lamp_on
yaw: 180
variants:
facing=east,lit=false:
@@ -109,6 +109,16 @@ items:
id: 19
settings:
luminance: 15
default:table_lamp_on:
material: nether_brick
custom-model-data: 3016
model:
type: minecraft:model
path: minecraft:item/custom/table_lamp_on
generation:
parent: minecraft:item/custom/table_lamp
textures:
"0": "minecraft:item/custom/table_lamp_on"
recipes:
default:table_lamp:
type: shaped

View File

@@ -1,7 +1,7 @@
items:
default:topaz_ore:
material: nether_brick
custom-model-data: 3016
custom-model-data: 3017
data:
item-name: <!i><i18n:item.topaz_ore>
model:
@@ -14,7 +14,7 @@ items:
block: default:topaz_ore
default:deepslate_topaz_ore:
material: nether_brick
custom-model-data: 3017
custom-model-data: 3018
data:
item-name: <!i><i18n:item.deepslate_topaz_ore>
model:
@@ -27,7 +27,7 @@ items:
block: default:deepslate_topaz_ore
default:topaz:
material: nether_brick
custom-model-data: 3018
custom-model-data: 3019
settings:
anvil-repair-item:
- target:

View File

@@ -0,0 +1,74 @@
{
"texture_size": [32, 32],
"textures": {
"0": "block/custom/mushroom"
},
"elements": [
{
"from": [9.5, 3, 11.5],
"to": [14.5, 3, 17.5],
"rotation": {"angle": 0, "axis": "y", "origin": [12, 3, 14.5]},
"faces": {
"north": {"uv": [2.5, 0, 0, 0], "texture": "#0"},
"east": {"uv": [3, 0, 0, 0], "texture": "#0"},
"south": {"uv": [2.5, 0, 0, 0], "texture": "#0"},
"west": {"uv": [3, 0, 0, 0], "texture": "#0"},
"up": {"uv": [8, 0, 5.5, 3], "texture": "#0"},
"down": {"uv": [8, 3, 5.5, 0], "texture": "#0"}
}
},
{
"from": [2.5, 11, 10.5],
"to": [7.5, 11, 16.5],
"rotation": {"angle": -22.5, "axis": "x", "origin": [5, 11, 16.5]},
"faces": {
"north": {"uv": [0, 0, 2.5, 0], "texture": "#0"},
"east": {"uv": [0, 0, 3, 0], "texture": "#0"},
"south": {"uv": [0, 0, 2.5, 0], "texture": "#0"},
"west": {"uv": [0, 0, 3, 0], "texture": "#0"},
"up": {"uv": [5.5, 0, 8, 3], "texture": "#0"},
"down": {"uv": [5.5, 3, 8, 0], "texture": "#0"}
}
},
{
"from": [3, 4, 14],
"to": [8, 5, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [3, 4, 14]},
"faces": {
"north": {"uv": [0, 9, 2.5, 9.5], "texture": "#0"},
"east": {"uv": [2.5, 11.5, 3.5, 12], "texture": "#0"},
"south": {"uv": [0, 9.5, 2.5, 10], "texture": "#0"},
"west": {"uv": [2.5, 11, 3.5, 11.5], "texture": "#0"},
"up": {"uv": [2.5, 11, 0, 10], "texture": "#0"},
"down": {"uv": [2.5, 11, 0, 12], "texture": "#0"}
}
},
{
"from": [6, 7, 13],
"to": [13, 9, 17],
"rotation": {"angle": 0, "axis": "y", "origin": [6, 7, 13]},
"faces": {
"north": {"uv": [0, 5, 3.5, 6], "texture": "#0"},
"east": {"uv": [3.5, 0, 5.5, 1], "texture": "#0"},
"south": {"uv": [0, 4, 3.5, 5], "texture": "#0"},
"west": {"uv": [3.5, 1, 5.5, 2], "texture": "#0"},
"up": {"uv": [3.5, 2, 0, 0], "texture": "#0"},
"down": {"uv": [3.5, 2, 0, 4], "texture": "#0"}
}
}
],
"display": {
"ground": {
"translation": [0, 2.25, 0],
"scale": [0.5, 0.5, 0.5]
},
"gui": {
"rotation": [30, -150, 0],
"translation": [3.75, -2.5, 0]
},
"fixed": {
"translation": [0, 0, -16.25],
"scale": [2, 2, 2]
}
}
}

View File

@@ -0,0 +1,151 @@
{
"textures": {
"0": "block/custom/mushroom"
},
"elements": [
{
"from": [8.5, 3, 11.5],
"to": [13.5, 3, 17.5],
"rotation": {"angle": 0, "axis": "y", "origin": [10, 4, 13]},
"faces": {
"north": {"uv": [0, 0, 2.5, 0], "texture": "#0"},
"east": {"uv": [0, 0, 3, 0], "texture": "#0"},
"south": {"uv": [0, 0, 2.5, 0], "texture": "#0"},
"west": {"uv": [0, 0, 3, 0], "texture": "#0"},
"up": {"uv": [8, 0, 10.5, 3], "texture": "#0"},
"down": {"uv": [8, 3, 10.5, 0], "texture": "#0"}
}
},
{
"from": [9.5, 11, 10.5],
"to": [14.5, 11, 16.5],
"rotation": {"angle": -22.5, "axis": "x", "origin": [12, 11, 16.5]},
"faces": {
"north": {"uv": [2.5, 0, 0, 0], "texture": "#0"},
"east": {"uv": [3, 0, 0, 0], "texture": "#0"},
"south": {"uv": [2.5, 0, 0, 0], "texture": "#0"},
"west": {"uv": [3, 0, 0, 0], "texture": "#0"},
"up": {"uv": [8, 0, 5.5, 3], "texture": "#0"},
"down": {"uv": [8, 3, 5.5, 0], "texture": "#0"}
}
},
{
"from": [1.5, 7, 10.5],
"to": [6.5, 7, 16.5],
"rotation": {"angle": 0, "axis": "y", "origin": [3, 8, 12]},
"faces": {
"north": {"uv": [0, 0, 2.5, 0], "texture": "#0"},
"east": {"uv": [0, 0, 3, 0], "texture": "#0"},
"south": {"uv": [0, 0, 2.5, 0], "texture": "#0"},
"west": {"uv": [0, 0, 3, 0], "texture": "#0"},
"up": {"uv": [5.5, 0, 8, 3], "texture": "#0"},
"down": {"uv": [5.5, 3, 8, 0], "texture": "#0"}
}
},
{
"from": [5.5, 9, 14.5],
"to": [5.5, 11, 16.5],
"rotation": {"angle": 45, "axis": "y", "origin": [5.5, 10, 15.5]},
"faces": {
"north": {"uv": [0, 0, 0, 1], "texture": "#0"},
"east": {"uv": [2.5, 10, 3.5, 11], "texture": "#0"},
"south": {"uv": [0, 0, 0, 1], "texture": "#0"},
"west": {"uv": [3.5, 10, 2.5, 11], "texture": "#0"},
"up": {"uv": [0, 0, 0, 1], "texture": "#0"},
"down": {"uv": [0, 0, 0, 1], "texture": "#0"}
}
},
{
"from": [4.5, 2, 14.5],
"to": [4.5, 4, 16.5],
"rotation": {"angle": -45, "axis": "y", "origin": [4.5, 3, 15.5]},
"faces": {
"north": {"uv": [0, 0, 0, 1], "texture": "#0"},
"east": {"uv": [2.5, 10, 3.5, 11], "texture": "#0"},
"south": {"uv": [0, 0, 0, 1], "texture": "#0"},
"west": {"uv": [3.5, 10, 2.5, 11], "texture": "#0"},
"up": {"uv": [0, 0, 0, 1], "texture": "#0"},
"down": {"uv": [0, 0, 0, 1], "texture": "#0"}
}
},
{
"from": [9.5, 6, 14.5],
"to": [11.5, 8, 16.5],
"rotation": {"angle": 0, "axis": "y", "origin": [10, 6, 16]},
"faces": {
"north": {"uv": [3.5, 2, 4.5, 3], "texture": "#0"},
"east": {"uv": [5.5, 3, 4.5, 4], "texture": "#0"},
"south": {"uv": [3.5, 4, 4.5, 5], "texture": "#0"},
"west": {"uv": [4.5, 3, 5.5, 4], "texture": "#0"},
"up": {"uv": [3.5, 3, 4.5, 4], "texture": "#0"},
"down": {"uv": [4.5, 2, 5.5, 3], "texture": "#0"}
}
},
{
"from": [7, 7, 11],
"to": [14, 9, 15],
"rotation": {"angle": 0, "axis": "y", "origin": [7, 7, 11]},
"faces": {
"north": {"uv": [0, 5, 3.5, 6], "texture": "#0"},
"east": {"uv": [3.5, 0, 5.5, 1], "texture": "#0"},
"south": {"uv": [0, 4, 3.5, 5], "texture": "#0"},
"west": {"uv": [3.5, 1, 5.5, 2], "texture": "#0"},
"up": {"uv": [3.5, 2, 0, 0], "texture": "#0"},
"down": {"uv": [3.5, 2, 0, 4], "texture": "#0"}
}
},
{
"from": [7, 13, 14],
"to": [12, 14, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [7, 13, 14]},
"faces": {
"north": {"uv": [0, 9, 2.5, 9.5], "texture": "#0"},
"east": {"uv": [2.5, 11.5, 3.5, 12], "texture": "#0"},
"south": {"uv": [0, 9.5, 2.5, 10], "texture": "#0"},
"west": {"uv": [2.5, 11, 3.5, 11.5], "texture": "#0"},
"up": {"uv": [2.5, 11, 0, 10], "texture": "#0"},
"down": {"uv": [2.5, 11, 0, 12], "texture": "#0"}
}
},
{
"from": [3, 11, 13],
"to": [8, 12, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [3, 11, 13]},
"faces": {
"north": {"uv": [0, 15.5, 2.5, 16], "texture": "#0"},
"east": {"uv": [2.5, 15, 4, 15.5], "texture": "#0"},
"south": {"uv": [0, 15, 2.5, 15.5], "texture": "#0"},
"west": {"uv": [2.5, 15.5, 4, 16], "texture": "#0"},
"up": {"uv": [2.5, 13.5, 0, 12], "texture": "#0"},
"down": {"uv": [2.5, 13.5, 0, 15], "texture": "#0"}
}
},
{
"from": [2, 4, 13],
"to": [7, 5, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [2, 4, 13]},
"faces": {
"north": {"uv": [0, 15.5, 2.5, 16], "texture": "#0"},
"east": {"uv": [2.5, 15, 4, 15.5], "texture": "#0"},
"south": {"uv": [0, 15, 2.5, 15.5], "texture": "#0"},
"west": {"uv": [2.5, 15.5, 4, 16], "texture": "#0"},
"up": {"uv": [2.5, 13.5, 0, 12], "texture": "#0"},
"down": {"uv": [2.5, 13.5, 0, 15], "texture": "#0"}
}
}
],
"display": {
"ground": {
"translation": [0, 2.25, 0],
"scale": [0.5, 0.5, 0.5]
},
"gui": {
"rotation": [30, -150, 0],
"translation": [3.75, -2.5, 0]
},
"fixed": {
"translation": [0, 0, -16],
"scale": [2, 2, 2]
}
}
}

View File

@@ -0,0 +1,86 @@
{
"textures": {
"0": "block/custom/mushroom"
},
"elements": [
{
"from": [8.5, 13, 11.5],
"to": [13.5, 13, 17.5],
"rotation": {"angle": -22.5, "axis": "x", "origin": [11, 13, 14.5]},
"faces": {
"north": {"uv": [2.5, 0, 0, 0], "texture": "#0"},
"east": {"uv": [3, 0, 0, 0], "texture": "#0"},
"south": {"uv": [2.5, 0, 0, 0], "texture": "#0"},
"west": {"uv": [3, 0, 0, 0], "texture": "#0"},
"up": {"uv": [8, 0, 5.5, 3], "texture": "#0"},
"down": {"uv": [8, 3, 5.5, 0], "texture": "#0"}
}
},
{
"from": [8.5, 3, 12.5],
"to": [13.5, 3, 18.5],
"rotation": {"angle": -22.5, "axis": "x", "origin": [11, 3, 15.5]},
"faces": {
"north": {"uv": [0, 0, 2.5, 0], "texture": "#0"},
"east": {"uv": [0, 0, 3, 0], "texture": "#0"},
"south": {"uv": [0, 0, 2.5, 0], "texture": "#0"},
"west": {"uv": [0, 0, 3, 0], "texture": "#0"},
"up": {"uv": [8, 0, 10.5, 3], "texture": "#0"},
"down": {"uv": [8, 3, 10.5, 0], "texture": "#0"}
}
},
{
"from": [6, 7, 12],
"to": [13, 9, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [6, 7, 12]},
"faces": {
"north": {"uv": [0, 5, 3.5, 6], "texture": "#0"},
"east": {"uv": [3.5, 0, 5.5, 1], "texture": "#0"},
"south": {"uv": [0, 4, 3.5, 5], "texture": "#0"},
"west": {"uv": [3.5, 1, 5.5, 2], "texture": "#0"},
"up": {"uv": [3.5, 2, 0, 0], "texture": "#0"},
"down": {"uv": [3.5, 2, 0, 4], "texture": "#0"}
}
},
{
"from": [3, 11, 14],
"to": [8, 12, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [3, 11, 14]},
"faces": {
"north": {"uv": [0, 9, 2.5, 9.5], "texture": "#0"},
"east": {"uv": [2.5, 11.5, 3.5, 12], "texture": "#0"},
"south": {"uv": [0, 9.5, 2.5, 10], "texture": "#0"},
"west": {"uv": [2.5, 11, 3.5, 11.5], "texture": "#0"},
"up": {"uv": [2.5, 11, 0, 10], "texture": "#0"},
"down": {"uv": [2.5, 11, 0, 12], "texture": "#0"}
}
},
{
"from": [3, 4, 13],
"to": [8, 5, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [3, 4, 13]},
"faces": {
"north": {"uv": [0, 15.5, 2.5, 16], "texture": "#0"},
"east": {"uv": [2.5, 15, 4, 15.5], "texture": "#0"},
"south": {"uv": [0, 15, 2.5, 15.5], "texture": "#0"},
"west": {"uv": [2.5, 15.5, 4, 16], "texture": "#0"},
"up": {"uv": [2.5, 13.5, 0, 12], "texture": "#0"},
"down": {"uv": [2.5, 13.5, 0, 15], "texture": "#0"}
}
}
],
"display": {
"ground": {
"translation": [0, 2.25, 0],
"scale": [0.5, 0.5, 0.5]
},
"gui": {
"rotation": [30, -150, 0],
"translation": [3.75, -2.5, 0]
},
"fixed": {
"translation": [0, 0, -16],
"scale": [2, 2, 2]
}
}
}

View File

@@ -525,6 +525,7 @@ public abstract class AbstractPackManager implements PackManager {
plugin.saveResource("resources/default/resourcepack/assets/minecraft/models/item/custom/wooden_chair.json");
plugin.saveResource("resources/default/resourcepack/assets/minecraft/models/item/custom/bench.json");
plugin.saveResource("resources/default/resourcepack/assets/minecraft/textures/item/custom/table_lamp.png");
plugin.saveResource("resources/default/resourcepack/assets/minecraft/textures/item/custom/table_lamp_on.png");
plugin.saveResource("resources/default/resourcepack/assets/minecraft/textures/item/custom/wooden_chair.png");
plugin.saveResource("resources/default/resourcepack/assets/minecraft/textures/item/custom/bench.png");
plugin.saveResource("resources/default/resourcepack/assets/minecraft/models/item/custom/flower_basket_ceiling.json");