9
0
mirror of https://github.com/Xiao-MoMi/craft-engine.git synced 2025-12-26 18:39:20 +00:00

弹射物更新

This commit is contained in:
XiaoMoMi
2025-05-11 03:31:31 +08:00
parent a87a5ef7de
commit 7039f33396
16 changed files with 275 additions and 74 deletions

View File

@@ -38,6 +38,7 @@ categories:
- default:topaz_bow
- default:topaz_crossbow
- default:topaz_rod
- default:topaz_trident
- default:topaz_helmet
- default:topaz_chestplate
- default:topaz_leggings

View File

@@ -20,6 +20,7 @@ i18n:
item.topaz_chestplate: "Topaz Chestplate"
item.topaz_leggings: "Topaz Leggings"
item.topaz_boots: "Topaz Boots"
item.topaz_trident: "Topaz Trident"
item.topaz_ore: "Topaz Ore"
item.deepslate_topaz_ore: "Deepslate Topaz Ore"
item.topaz: "Topaz"
@@ -63,6 +64,7 @@ i18n:
item.topaz_chestplate: "黄玉胸甲"
item.topaz_leggings: "黄玉护腿"
item.topaz_boots: "黄玉靴子"
item.topaz_trident: "黄玉三叉戟"
item.topaz_ore: "黄玉矿石"
item.deepslate_topaz_ore: "深层黄玉矿石"
item.topaz: "黄玉"

View File

@@ -175,7 +175,42 @@ items#topaz_gears:
arguments:
part: boots
slot: feet
default:topaz_trident:
material: trident
custom-model-data: 1000
settings:
projectile:
item: default:topaz_trident
translation: 0,0,0
rotation: 1,1,1,1
display-transform: NONE
scale: 0.5
tags:
- "default:topaz_tools"
data:
item-name: "<!i><#FF8C00><i18n:item.topaz_trident>"
tooltip-style: minecraft:topaz
model:
type: minecraft:select
property: minecraft:display_context
cases:
- when: ["gui", "ground", "fixed"]
model:
type: minecraft:model
path: minecraft:item/custom/topaz_trident
generation:
parent: minecraft:item/generated
textures:
layer0: minecraft:item/custom/topaz_trident
fallback:
type: minecraft:condition
property: minecraft:using_item
on-true:
type: minecraft:model
path: minecraft:item/custom/topaz_trident_throwing
on-false:
type: minecraft:model
path: minecraft:item/custom/topaz_trident_in_hand
templates:
default:armor/topaz:
material: "chainmail_{part}"
@@ -428,4 +463,12 @@ recipes#11:
template-type: default:topaz
result:
id: default:topaz_rod
count: 1
default:topaz_trident:
type: smithing_transform
base: minecraft:trident
addition: default:topaz
template-type: default:topaz
result:
id: default:topaz_trident
count: 1

View File

@@ -1,43 +0,0 @@
{
"ambientocclusion": false,
"textures": {
"1": "item/ender_pearl",
"particle": "block/custom/ender_pearl_flower_stage_3",
"cross": "block/custom/ender_pearl_flower_stage_3"
},
"elements": [
{
"from": [0.8, 0, 8],
"to": [15.2, 16, 8],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true},
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#cross"},
"south": {"uv": [0, 0, 16, 16], "texture": "#cross"}
}
},
{
"from": [8, 0, 0.8],
"to": [8, 16, 15.2],
"shade": false,
"rotation": {"angle": 45, "axis": "y", "origin": [8, 8, 8], "rescale": true},
"faces": {
"east": {"uv": [0, 0, 16, 16], "texture": "#cross"},
"west": {"uv": [0, 0, 16, 16], "texture": "#cross"}
}
},
{
"from": [8, 5, -1],
"to": [8, 21, 15],
"rotation": {"angle": 0, "axis": "y", "origin": [7, 5, 7]},
"faces": {
"north": {"uv": [0, 0, 0, 16], "texture": "#1"},
"east": {"uv": [0, 0, 16, 16], "texture": "#1"},
"south": {"uv": [0, 0, 0, 16], "texture": "#1"},
"west": {"uv": [0, 0, 16, 16], "texture": "#1"},
"up": {"uv": [0, 0, 0, 16], "texture": "#1"},
"down": {"uv": [0, 0, 0, 16], "texture": "#1"}
}
}
]
}

View File

@@ -0,0 +1,94 @@
{
"credit": "Made with Blockbench",
"textures": {
"0": "item/custom/topaz_trident_3d",
"particle": "item/custom/topaz_trident_3d"
},
"elements": [
{
"from": [7.75, -5.5, 7.75],
"to": [8.25, 10, 8.25],
"rotation": {"angle": 0, "axis": "y", "origin": [4, -5.5, 4]},
"faces": {
"north": {"uv": [10.5, 0.5, 11, 16], "texture": "#0"},
"east": {"uv": [10.5, 0.5, 11, 16], "texture": "#0"},
"south": {"uv": [10.5, 0.5, 11, 16], "texture": "#0"},
"west": {"uv": [10.5, 0.5, 11, 16], "texture": "#0"},
"up": {"uv": [3, 0, 3.5, 0.5], "texture": "#0"},
"down": {"uv": [0.5, 15.5, 1, 16], "texture": "#0"}
}
},
{
"from": [7.25, 7, 7.75],
"to": [7.75, 8, 8.25],
"rotation": {"angle": 0, "axis": "y", "origin": [4, -5.5, 4]},
"faces": {
"north": {"uv": [11, 2.5, 11.5, 3.5], "texture": "#0"},
"east": {"uv": [11, 2.5, 11.5, 3.5], "texture": "#0"},
"south": {"uv": [11, 2.5, 11.5, 3.5], "texture": "#0"},
"west": {"uv": [11, 2.5, 11.5, 3.5], "texture": "#0"},
"up": {"uv": [11, 2.5, 11.5, 3], "texture": "#0"},
"down": {"uv": [11, 3, 11.5, 3.5], "texture": "#0"}
}
},
{
"from": [6.75, 7.5, 7.75],
"to": [7.25, 9.5, 8.25],
"rotation": {"angle": 0, "axis": "y", "origin": [4, -5.5, 4]},
"faces": {
"north": {"uv": [11.5, 1, 12, 3], "texture": "#0"},
"east": {"uv": [11.5, 1, 12, 3], "texture": "#0"},
"south": {"uv": [11.5, 1, 12, 3], "texture": "#0"},
"west": {"uv": [11.5, 1, 12, 3], "texture": "#0"},
"up": {"uv": [11.5, 1, 12, 1.5], "texture": "#0"},
"down": {"uv": [11.5, 2.5, 12, 3], "texture": "#0"}
}
},
{
"from": [8.75, 7.5, 7.75],
"to": [9.25, 9.5, 8.25],
"rotation": {"angle": 0, "axis": "y", "origin": [4, -5.5, 4]},
"faces": {
"north": {"uv": [11.5, 1, 12, 3], "texture": "#0"},
"east": {"uv": [11.5, 1, 12, 3], "texture": "#0"},
"south": {"uv": [11.5, 1, 12, 3], "texture": "#0"},
"west": {"uv": [11.5, 1, 12, 3], "texture": "#0"},
"up": {"uv": [11.5, 1, 12, 1.5], "texture": "#0"},
"down": {"uv": [11.5, 2.5, 12, 3], "texture": "#0"}
}
},
{
"from": [8.25, 7, 7.75],
"to": [8.75, 8, 8.25],
"rotation": {"angle": 0, "axis": "y", "origin": [4, -5.5, 4]},
"faces": {
"north": {"uv": [11, 2.5, 11.5, 3.5], "texture": "#0"},
"east": {"uv": [11, 2.5, 11.5, 3.5], "texture": "#0"},
"south": {"uv": [11, 2.5, 11.5, 3.5], "texture": "#0"},
"west": {"uv": [11, 2.5, 11.5, 3.5], "texture": "#0"},
"up": {"uv": [11, 2.5, 11.5, 3], "texture": "#0"},
"down": {"uv": [11, 3, 11.5, 3.5], "texture": "#0"}
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [0, 60, 0],
"translation": [0.25, 9, 1.5],
"scale": [2, 2, 2]
},
"thirdperson_lefthand": {
"rotation": [0, 60, 0],
"translation": [0.25, 9, 1.5],
"scale": [2, 2, 2]
},
"firstperson_righthand": {
"rotation": [0, -90, 25],
"translation": [-2.5, 7.5, 4.75]
},
"firstperson_lefthand": {
"rotation": [0, 90, -25],
"translation": [-2.5, 7.5, 4.75]
}
}
}

View File

@@ -0,0 +1,96 @@
{
"credit": "Made with Blockbench",
"textures": {
"0": "item/custom/topaz_trident_3d",
"particle": "item/custom/topaz_trident_3d"
},
"elements": [
{
"from": [7.75, -5.5, 7.75],
"to": [8.25, 10, 8.25],
"rotation": {"angle": 0, "axis": "y", "origin": [4, -5.5, 4]},
"faces": {
"north": {"uv": [10.5, 0.5, 11, 16], "texture": "#0"},
"east": {"uv": [10.5, 0.5, 11, 16], "texture": "#0"},
"south": {"uv": [10.5, 0.5, 11, 16], "texture": "#0"},
"west": {"uv": [10.5, 0.5, 11, 16], "texture": "#0"},
"up": {"uv": [3, 0, 3.5, 0.5], "texture": "#0"},
"down": {"uv": [0.5, 15.5, 1, 16], "texture": "#0"}
}
},
{
"from": [7.25, 7, 7.75],
"to": [7.75, 8, 8.25],
"rotation": {"angle": 0, "axis": "y", "origin": [4, -5.5, 4]},
"faces": {
"north": {"uv": [11, 2.5, 11.5, 3.5], "texture": "#0"},
"east": {"uv": [11, 2.5, 11.5, 3.5], "texture": "#0"},
"south": {"uv": [11, 2.5, 11.5, 3.5], "texture": "#0"},
"west": {"uv": [11, 2.5, 11.5, 3.5], "texture": "#0"},
"up": {"uv": [11, 2.5, 11.5, 3], "texture": "#0"},
"down": {"uv": [11, 3, 11.5, 3.5], "texture": "#0"}
}
},
{
"from": [6.75, 7.5, 7.75],
"to": [7.25, 9.5, 8.25],
"rotation": {"angle": 0, "axis": "y", "origin": [4, -5.5, 4]},
"faces": {
"north": {"uv": [11.5, 1, 12, 3], "texture": "#0"},
"east": {"uv": [11.5, 1, 12, 3], "texture": "#0"},
"south": {"uv": [11.5, 1, 12, 3], "texture": "#0"},
"west": {"uv": [11.5, 1, 12, 3], "texture": "#0"},
"up": {"uv": [11.5, 1, 12, 1.5], "texture": "#0"},
"down": {"uv": [11.5, 2.5, 12, 3], "texture": "#0"}
}
},
{
"from": [8.75, 7.5, 7.75],
"to": [9.25, 9.5, 8.25],
"rotation": {"angle": 0, "axis": "y", "origin": [4, -5.5, 4]},
"faces": {
"north": {"uv": [11.5, 1, 12, 3], "texture": "#0"},
"east": {"uv": [11.5, 1, 12, 3], "texture": "#0"},
"south": {"uv": [11.5, 1, 12, 3], "texture": "#0"},
"west": {"uv": [11.5, 1, 12, 3], "texture": "#0"},
"up": {"uv": [11.5, 1, 12, 1.5], "texture": "#0"},
"down": {"uv": [11.5, 2.5, 12, 3], "texture": "#0"}
}
},
{
"from": [8.25, 7, 7.75],
"to": [8.75, 8, 8.25],
"rotation": {"angle": 0, "axis": "y", "origin": [4, -5.5, 4]},
"faces": {
"north": {"uv": [11, 2.5, 11.5, 3.5], "texture": "#0"},
"east": {"uv": [11, 2.5, 11.5, 3.5], "texture": "#0"},
"south": {"uv": [11, 2.5, 11.5, 3.5], "texture": "#0"},
"west": {"uv": [11, 2.5, 11.5, 3.5], "texture": "#0"},
"up": {"uv": [11, 2.5, 11.5, 3], "texture": "#0"},
"down": {"uv": [11, 3, 11.5, 3.5], "texture": "#0"}
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [0, 90, 180],
"translation": [0.25, -9, 1.5],
"scale": [2, 2, 2]
},
"thirdperson_lefthand": {
"rotation": [0, 90, 180],
"translation": [0.25, -9, 1.5],
"scale": [2, 2, 2]
},
"firstperson_righthand": {
"rotation": [0, -90, 25],
"translation": [0.75, -5, -0.75],
"scale": [0.5, 0.5, 0.5]
},
"firstperson_lefthand": {
"rotation": [0, 90, -25],
"translation": [0.75, -5, -0.75],
"scale": [0.5, 0.5, 0.5]
}
}
}