#help pls
204 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.
im on 1.21.11
Which sword?
so i made the sword and how do i get the command for it??? because i might be getting the wrong sword its black and pink
and i can show the path that i did
{
"credit": "Made with Blockbench",
"parent": "minecraft:item/handheld",
"textures": {
"0": "minecraft:item/FrostSwordTexture",
"particle": "minecraft:item/FrostSwordTexture"
{
"parent": "minecraft:item/handheld",
"texture_size": [32, 32],
"textures": {
"0": "minecraft:item/FrostSwordTexture",
"particle": "minecraft:item/FrostSwordTexture"
You can't have capital letters in file names nor references to files
1json
(No spaces either, just fyi)
so its frostswordtexture?
how do i get the command tho
Or frost_sword_texture
Whatever you wanna name it basically (as long as it has no capital letters or spaces)
Well, currently that's just a model file.
Unless you named it like an existing item to replace an existing item (e.g diamond_sword.json) you will need a second file (assuming you are in 1.21.2 or newer)
No
i did its called netherite_sword.json
and the folder is netherite_sword
If you want it to replace all netherite swords (without a command) it needs to be models/item/netherite_sword.json
If you want it only accessible via a command, then rename the model file to something more unique (e.g. frost_sword.json).
Then in
assets/minecraft/items/ (not to be confused with models/item!) create another new file called frost_sword.json (completely separate file from your model!) and put this inside:
{
"model": {
"type": "model",
"model": "minecraft:item/frost_sword"
}
}```
-# (adjust the model reference according to your model's position and name in your pack, this example assumes it would be in models/item)
im making a custom sword
i dont wanna replace all netherite sword with that
and i dont have a folder called items only textures and models inside of minecraft
Then create that folder
what do i do to make it not apply to every neth sword?
I already answered that in that message
And after you have added that extra file you can later use
/give @s netherite_sword[item_model=frost_sword] to give it the the model you specified in minecraft/items/frost_sword.json
its glitch/black and pink does this support 1.21.11? tho
do you guys have a template for this?
this supports 1.21.11 just fine, yes
can you tell me where your 2 .json files are in your pack and what they are named?
my template might be wrong
assets/minecraft/textures.items.models/item
textures/item/png
models/item/json
models/item/frostsword/1.json
k, I see the problem(s)
the .png is fine, one of your .json is the problem:
What I sent earlier needs to be in
assets/minecraft/items/frostsword.json
not inside models/item
and if you named your model file "1" you need to adjust the model path inside the code I sent earlier to
"minecraft:item/frostsword/1
i watched a tutorial and they said make a netherite_sword and netherite_sword folder
oh
So just to make sure, you currently have the following folders and files with those exact names?
assets/minecraft/items/frostsword.json (with the text inside that I sent earlier)
assets/minecraft/models/item/frostsword.json (your actual model file)
your folder and files need to be called exactly what i just wrote if you mean that
-# (had a typo in there)
do i still need to set the path something like this
minecraft/models/item/frost_sword
?
the content of your minecraft file should be this:
{
"model": {
"type": "minecraft:model",
"model": "minecraft:item/frost_sword"
}
}```
This is a working example
oh
since that model path tells the game to load the model at assets/minecraft/models/item/frost_sword.json
i removed the /frost_sword.json ngl
{
"parent": "minecraft:item/handheld",
"texture_size": [32, 32],
"textures": {
"0": "minecraft:item/frost_sword_texture",
"particle": "minecraft:item/frost_sword_texture"
}
}
is this good enough?
also is there like a template?
for your models/item/frostsword.json?
Yeah, that's fine
its still pink and black
k, can you zip and send the current pack you are trying to use?
that has all the errors I mentioned before
so can you see the problem?
and none of the solutions I mentioned
damn
are you sure you sent the correct one?
then why is the texture still all capital letters and there is still a netherite_sword folder and no .json files called frost_sword?
what?
i changed it
earlier
also, it should be "assets" without a capital letter too
i think it did not saved
i changed it this time
hopefully its saved
not that one wait
this is updated hopefully
k, that looks more up to date, yeah
so first, make sure your items/frost_sword.json has exactly this inside, and not "model": "minecraft/models/item/frost_sword"
i copied that
{
"model": {
"type": "minecraft:model",
"model": "minecraft:item/frost_sword"
}
}
i copied this and pasted it in there
well, seems like you didn't save that one then before zipping
i think the issue is when its compressed zipped alr you can't change it?
im changing it in a compressed zip
next up, in your models/item/frost_sword.json.json, remove one of the .json from the name, and remove this whole "parent" line in it:
never work in a .zip
only zip when you need to send it to someone (or upload it somewhere)
a pack can work just fine as a normal folder
alright
also, get rid of the frost_sword folder and the 1.json inside of it (not a mistake, but you don't need them)
it works as a folder?
yes
as long as the folder is positioned in your resourcepacks folder like this ".minecraft/resourcepacks/MyFrostSword/assets/...
also, fix this to lowercase as well
are you on Windows?
this is what im looking at
then enable file exentions in the View settings of the file explorer
I see .json.json here
which would mean it's a .json file and has .json as part of its file name
no no no im looking at Frostsword3.0
hence why it's still called MyFrostSword.zip
i removed the extra frost_sword folder
so whats next
its not pink and and black now i see the model but its fully black 💀
the color is fully black
k, that just means the texture path in the model isn't correct, but everything else is correct
hmm, don't see a reason why it wouldn't find the texture 🤔
does the output log throw any errors?
!faq output-log
The output log will show you errors related to resource packs in Minecraft: Java Edition. Here is how you can enable it.
(PS: Optifine likes to hide vanilla errors/warnings for some weird reason, so always load the game up without it if you don't need it for your pack to work!)
If you don't understand the errors/warnings feel free to show and ask about them (in a help channel).
im not using real minecraft
diff launcher
but lemme try and find it
[17:11:59] [Render thread/ERROR]: Couldn't load file/MyFrostSword3.0.zip pack metadata: Pack declares support for version newer than 64, but is missing mandatory fields min_format and max_format
what does this mean
yes it does
not relevant
-# (besides your pack being marked red and shown as outdated in the resource pack list)
just means your pack.mcmeta is still using an older style
any other errors/warnings?
no
wait lemme reload my launcher
i found it
[17:27:37] [Worker-Main-46/WARN]: Missing textures in model minecraft:item/frost_sword:
minecraft:block_or_item:minecraft:minecraft/textures/item/frost_sword_texture
F3+T should be fine to reload the output
is that the right one
yeah
are there any relevant messages (not just warnings/errors) before/after that message as well?
wait
i think its just this [17:28:41] [Render thread/ERROR]: Couldn't load file/MyFrostSword3.0.zip pack metadata: Pack declares support for version newer than 64, but is missing mandatory fields min_format and max_format
and the missing one
[17:28:41] [Render thread/INFO]: Reloading ResourceManager: vanilla, file/MyFrostSword3.0 (1), server/0000000A/5fd887c9-8bb8-3e50-8ef5-bbde73eb3b91
[17:28:41] [Worker-Main-45/INFO]: Found unifont_all_no_pua-17.0.01.hex, loading
[17:28:41] [Worker-Main-44/INFO]: Found unifont_pua-17.0.01.hex, loading
[17:28:41] [Worker-Main-45/INFO]: Found unifont_jp_patch-17.0.01.hex, loading
loads fine for me
wth
can you send the zip?
oh
i know now
nevermind
i still dont know how you fixed it
did you changed some any of the script?
I didn't touch anything related to the texture
I only fixed the things I also told you to fix (removing capital letters, the .json.json etc.)
yea its not loading it
as in not even with my .zip?
yea
what version you in
Tried it in 1.21.11, but should work in any version that's 1.21.2 or newer
No
lemme recheck my logs
try in singleplayer as well (so no server pack can screw anything over)
then the server pack is overwriting something
Skript?
I mean the server's resource pack is
there's none
[17:28:41] [Render thread/INFO]: Reloading ResourceManager: vanilla, file/MyFrostSword3.0 (1), server/0000000A/5fd887c9-8bb8-3e50-8ef5-bbde73eb3b91
"vanilla" is the default one
"MyFrostSword3.0 (1)" is yours
and "server/0000000A/5fd887c9-8bb8-3e50-8ef5-bbde73eb3b91" refers to a server resource pack