#Resource pack doesn't work
46 messages · Page 1 of 1 (latest)
Please make sure to read #1029373817119838218 as it may answer your question!
Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.
here the 3d model in json and bbmodel I don´t know what yall need
and here my pack
already thanks
are you using the web version or the downloaded version of Blockbench?
were can i see what version im using
Did you download and install Blockbench or are you using Blockbench in your browser on a website?
downloaded
k, then your problem is that you didn't load the textures from a resource pack, but from some random location on your PC
how to fix that?
or, I guess you did load it from a pack, but the location wasn't a valid one
If you are using default textures you do not need them in your own pack.
Just load them from a copy of the default pack and then only export the model into your pack.
(You can also link that copy in File > Preferences > Settings -> Default Path so that Blockbench loads textures from there if you open the .json model again)
The reason as to why it's not working atm is cause you told your model to look for the textures directly in the "textures" folder, but a resource pack can only, by default, look within textures/item and textures/block for textures unless specifically specified otherwise.
I changed it now in Blockbench but its still not working
as in you loaded them from the correct location to your model, then re-exported the model again, but it doesn't work?
if yes, show the first few lines of text of your .json file
yes i did reexport it
{
"credit": "Made with Blockbench",
"texture_size": [32, 32],
"textures": {
"0": "block/oak_log",
"1": "block/pink_concrete",
"particle": "block/oak_log"
},
"elements": [
{
thats from the blockbench .json file
{
"parent": "item/generated",
"textures": {
"layer0": "item/bow"
},
"overrides": [
{"predicate": {"custom_model_data":1}, "models": "custom/Yobo"}
]
}
and thats everything from the bow .json file
you can't have capital letters in the file names
so rename Yobo.json to yobo.json and adjust the reference in the overrides too
also, custom_model_data no longer works like that as of 1.21.2 (or one of the 1.21.X versions)
what do I have to do then?
did it now
k, should your yobo bow have pulling phase models or should it stay the same model througout the whole thing?
either way, you make a folder called "items" in the "minecraft" folder (right next to "models" and "textures" etc.), then create a .json file with this inside:
yobo.json
{
"model": {
"type": "minecraft:condition",
"on_false": {
"type": "minecraft:model",
"model": "minecraft:item/yobo"
},
"on_true": {
"type": "minecraft:range_dispatch",
"entries": [
{
"model": {
"type": "minecraft:model",
"model": "minecraft:item/yobo_pulling_1"
},
"threshold": 0.65
},
{
"model": {
"type": "minecraft:model",
"model": "minecraft:item/yobo_pulling_2"
},
"threshold": 0.9
}
],
"fallback": {
"type": "minecraft:model",
"model": "minecraft:item/yobo_pulling_0"
},
"property": "minecraft:use_duration",
"scale": 0.05
},
"property": "minecraft:using_item"
}
}```
if you don't want to have different models for the pulling states you instead use
```json
{
"model": {
"type": "minecraft:model",
"model": "minecraft:item/yobo"
}
}
you then delete the bow.json you currently have in models/item
and then ingame you use /give @s bow[minecraft:item_model='minecraft:yobo']
its the black purple bug block now
you have your yobo.json model in models/item, correct 🤔 ?
(you should have 2 yobo.json files in your pack, the one in the items folder as explained up there, and your actual model in models/item)
ah, adjust the model path in the item definition file then (the one in the items folder)
from item/ to custom/
(in here)
it works!!!!
thanks
but I didnt even changed this
that doesn't sound like it should work then 🤔
unless you mean to say you moved your model to models/item instead
and is there a way that the bow always looks like this and not only when you use the command
yes i moved the file
well, if you want to completely replace the bow you just rename your yobo.json to bow.json in models/item (and don't need the file in the items folder anymore)
yes thanks!!!!!
am I still able to change the pulling animation tho because it already has an animation
if you add bow_pulling_0.json models etc. then yes
ok nice