#自作テクスチャが適用されない
1 messages · Page 1 of 1 (latest)
artifact.entity.json
"format_version": "1.10.0",
"minecraft:client_entity": {
"description": {
"identifier": "tr:artifact",
"materials": {
"default": "entity"
},
"textures": {
"default": "textures/entity/artifact"
},
"geometry": {
"default": "geometry.artifact"
},
"render_controllers": [
"controller.render.default"
]
}
}
}```
artifact.geo.json
{
"format_version": "1.12.0",
"minecraft:geometry": [
{
"description": {
"identifier": "geometry.artifact",
"texture_width": 64,
"texture_height": 64,
"visible_bounds_width": 2,
"visible_bounds_height": 2.5,
"visible_bounds_offset": [0, 0.75, 0]
},
"bones": [
{
"name": "main",
"pivot": [0, 0, 0],
"cubes": [
{"origin": [-8, 0, -8], "size": [16, 16, 16], "uv": [0, 0]},
{"origin": [-7, 1, -7], "size": [14, 14, 14], "uv": [0, 32]}
]
}
]
}
]
}
ファイル構造
(behavior側のartifact.json)
{
"format_version": "1.21.90",
"minecraft:entity": {
"description": {
"identifier": "tr:artifact",
"is_summonable": true,
"is_spawnable": false
},
"components": {
"minecraft:collision_box": {"width": 1, "height": 1},
"minecraft:scale": {
"value": 1.0
},
"minecraft:is_collidable": {}
}
}
}
テクスチャはアルファチャネルを使ってます
entitiesではなくてentityですね
フォルダ名
あとmodelsもentityフォルダに入れないと適応されないです
entity/artifact.entity.json
modals/entity/artifact.geo.json
あとbehaviorの方はminecraft:physicsを入れて置いた方がいいかと
テクスチャが半透明系なのてマテリアルが不適切かもしれません
半透明部分はslime_auter辺がいいかと
これに気づけなかったです...ありがとうございます
無事動きました