I am very very new to making resource packs in Java, I have a large resource/behavior pack in bedrock but I want to port it to Java. So I just want to make a simple one to begin with that adds a "layer" to the iron sword, as far as its been explained to me this layer is not on by default its just like multiple textures for the same "item" that i can give to myself with commands correct? And if you could also explain if the "pack.mcmeta" file, "realms" folder, and ".mcassestsroot" file are necessary. Also I dont need to make a crafting recipe for my purposes yet.
#How to make a very simple resource pack work with sodium?
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
Someone will come and help soon!
💬 While you wait, take this time to provide more context and details.
🙇 After a while, hit the Summon Helpers button to ping the helper team. They'll be happy to help you
✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
pack.mcmeta is necessary, otherwise your pack won't load. The other two aren't though
I'm confused what you mean by layer
I was trying to make the earlier error message reappear but i couldnt, it basically said "incompatible with Sodium" but right now this warning is also showing
version updating seems less complex than making a resource pack compatible with sodium though, or im not really sure what these different "loaders" or mods or whatever the hell sodium/fabric is actually do?? like i like how they look and the increased performance, but why wouldnt a resource pack be compatible with them? why does the game launch like its a seperate version of the game in the launcher? Java is just a little crazy idk
That doesn't necessarily break anything
The pack_format field of pack.mcmeta essentially tells Minecraft which version the resource pack is intended for. If it's not set to the current version, that warning is displayed. That doesn't mean that you are doing anything that doesn't work in the current version.
Pack Format (Latest)
Latest Releases:
1.20.5:
Datapacks: 41 Resourcepacks: 32
1.20.6:
Datapacks: 41 Resourcepacks: 32
1.21:
Datapacks: 48 Resourcepacks: 34
Latest Snapshot:
1.21-rc1:
Datapacks: 48 Resourcepacks: 34
Only showing recent formats. To view specific versions use /packformat version:<id>
If you're in 1.21, you need to set it to 34 to make that error go away
Sodium is a mod which modified the game's code. Therefore if it modifies it in a way that is incompatible with certain resource pack features, then it can break stuff
However, I have never seen an sodium-incompatible resource pack before, so I wonder why it was saying that
are mods able to edit how commands are written?
oh shoot, ok so when i try to give myself my supposedly 100 by the books iron sword with a diamond gladius texture, it could be sodium that is preventing this from working?
No. Sodium doesn't tinker with anything except the rendering engine I believe
cuz this is what the tutorial i was following instructed me to type
This is outdated syntax if you're in 1.20.5+
oh. do you know the correct syntax?
or better yet, where i can find the proper command arguments for java?
Yes. It is now /give @s minecraft:iron_sword[custom_model_data=1]
You can find a lot of information on the Minecraft wiki, but it's not always the easiest to understand
LAST question when this entity is dropped on the ground, can commands tell the difference between this thing and a normal iron sword?
Yes