#what makes an item only viewable with mods?

21 messages · Page 1 of 1 (latest)

late pulsar
#

I made an item which I thought should work in vanilla but my friends without a modded launcher cannot see it. I'm sure that all the rotations within the model are within minecraft's limits, and I'm pretty sure that the file name is with correct characters. any thoughts?

timid gateBOT
#
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.

limber stone
trim spire
#

!faq invalid-names

timid gateBOT
# trim spire !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).

trim spire
#

!faq java-parent

timid gateBOT
# trim spire !faq java-parent
FAQ
Java: Parent

Explanation: A parent is an optional reference to another model file. If it is specified your model will inherit information from the parent file (textures, elements, display settings, etc.) if that information isn't already specified in your own model.

Changing/setting a parent: Go to File > Project... and put a model reference into the parent field. Model references always start inside the "models" folder (so example/custom will look for assest/minecraft/models/example/custom.json)

Common mistakes:
-Do not force yourself to specify a parent if you don't need it. A model can work just fine without one. A reference to a non-existent parent file will cause your model to be an error block!
-Do not use item/generated and item/handheld in combination with a custom made model. (The game would try to generate a model based on your texture with those parents, and then gets confused with your custom cubes/elements you added to the model).
_ Feel free to use them to generate models from textures though (just like in the vanilla files)._

trim spire
#

If either of these are invalid a vanilla client will see an error cube
Optifine (and some other mods) ignore those "invalid" names/parents instead of showing the error cube.

late pulsar
#

this is one of the models

late pulsar
late pulsar
#

I don't think that's invalid

limber stone
#

letters must be lowercase

late pulsar
#

okay thanks, I did not know that extended to textures

limber stone
#

the dash should be ok? not 100% sure

#

typically underscores are used in file names

late pulsar
#

alright that was it, ty