#name dependant item models don't work on vanilla

12 messages · Page 1 of 1 (latest)

rancid plinth
#

I made a resource pack which adds a bunch of name dependant item models for the sword and axe and some for the pickaxe and other tools. The issue is that the sword and axe models don't show even if ive renamed them or just left them as is. It works with a modpack I'm using but I'd like for it to work with vanilla. the pickaxe model works fine but I don't know why the sword and axe don't

prime matrixBOT
#
Welcome to the help forum!

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.

rancid plinth
prime matrixBOT
# waxen python !faq invalid-names
FAQ
Java: Invalid Names

Files/Folders nor reference to them are allowed to contain capital letters nor spaces.
Valid symobls are: a-z (lowercase only!) 0-9 / . _ and -

When changing a file's/folder's name, keep in mind that you also need to update all references (texture path in models, model paths in custom_model_data predicates etc.)
Disclaimer: Optifine used to allow those characters, but for a vanilla client the model will either be the error cube or it might even crash their game (depending on their specs).

waxen python
#

you need to fix it:

  1. in the model file names
  2. in the item files
    -# and if the textures also have capital letters:
  3. in the texture file names (assuming those also have capital letters)
  4. and in the texture references inside the model files
rancid plinth
#

all done

#

thank you very much

#

im pretty sure you've actually helped me before with a few of resource packs

#

you're really skilled

#

thanks for the help again