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

feat(crop): 修改配置文件

This commit is contained in:
jhqwqmc
2025-03-28 13:07:38 +08:00
parent 14ecdffaf5
commit b5a027e351
2 changed files with 30 additions and 4 deletions

View File

@@ -224,17 +224,17 @@ blocks:
models: models:
- path: "minecraft:block/custom/ender_pearl_crop_stage1" - path: "minecraft:block/custom/ender_pearl_crop_stage1"
generation: generation:
parent: "minecraft:block/crop" parent: "minecraft:block/custom/tinted_cross"
textures: textures:
"crop": "minecraft:block/custom/ender_pearl_crop_stage1" "cross": "minecraft:block/custom/ender_pearl_crop_stage1"
ripe: ripe:
state: "sugar_cane:4" state: "sugar_cane:4"
models: models:
- path: "minecraft:block/custom/ender_pearl_crop_stage2" - path: "minecraft:block/custom/ender_pearl_crop_stage2"
generation: generation:
parent: "minecraft:block/crop" parent: "minecraft:block/custom/tinted_cross"
textures: textures:
"crop": "minecraft:block/custom/ender_pearl_crop_stage2" "cross": "minecraft:block/custom/ender_pearl_crop_stage2"
variants: variants:
age=0: age=0:
appearance: default appearance: default

View File

@@ -0,0 +1,26 @@
{
"ambientocclusion": false,
"textures": {
"particle": "#cross"
},
"elements": [
{ "from": [ 0.8, 0, 8 ],
"to": [ 15.2, 16, 8 ],
"rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45, "rescale": true },
"shade": false,
"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 ],
"rotation": { "origin": [ 8, 8, 8 ], "axis": "y", "angle": 45, "rescale": true },
"shade": false,
"faces": {
"west": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross" },
"east": { "uv": [ 0, 0, 16, 16 ], "texture": "#cross" }
}
}
]
}