Open Atara6431 opened 2 years ago
You should close the plugin if you don't have time to fix it
did you configure the texture pack? @Atara6431
in pack\textures make a file called item_texture.json {
"resource_pack_name": "vanilla",
"texture_name": "atlas.items",
"texture_data": {
"test_texture": { # (look the api , and there where you give the texture name... put in this line the same)
"textures": "textures/items/test_texture" #i guess it can be everything, just the path, and in this example it will display the test_texture.png
},
"texture2": {
"textures": "textures/items/OP_Sword" # i guess this will work too... but i have to look, how it is working with the customArmor ^^, i hope i could help :D
}
}
} @Atara6431 structurepack.zip
What did i say , it works :D structurepack_armor_edition.zip but @Refaltor77 & @Atara6431 there is still the bugs with the models, that means... the armor_items are displayed... but the models of that armor isnt displaying , but i will try to search a way of fixing / implementing that ^^ like you see helmet item has texture but not at my skin :/, so we have to find a way with the models, sadly models work only with set how i know, so you would have to make a whole set of that armor haha ^^'
btw i would recommend you to make a plugin, to load/ make your custom items, instead of the config.yml
I create a new sword successfully,but the texture cannot be displayed,I put a png in texture/items/sword1. I also try to only change your test items texture_path food_items: example_food_item: name: testfood # Always use "" for spaces. id: 1001 # required meta: 0 # optional | default is 0 is_potion: false # if true, The animation of eating will be like a potion. | optional default is false texture_path: newapple # required max_stack_size: 32 # optional | default is 64 can_always_eat: true # This allows you to always eat the item even if the player is not hungry | optional default is false food_restore: 4 # use only integer numbers for this value. | required saturation_restore: 15.0 # use only float numbers for this value. | required it still can't load the texture in texture/items/newapple besides,some types like your armor_items can't be loaded, armor_items: example_helmet: name: feather id: 1003 meta: 0 type: helmet # helmet | chestplate | leggings | boots - required texture_path: iron_helmet defense_points: 5 # required durability: 500 # required This is your preset. I haven't made any changes,but in the game , the texture of this also can't be displayed