#Netherite Scythe replace netherite sword

152 messages · Page 1 of 1 (latest)

lucid furnaceBOT
#
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.

plucky ruin
#

You told your model to look for
block/Reaper's Scythe
as texture. Capital letters, spaces and ' are not allowe characters in file names though.

#

!faq invalid-names

lucid furnaceBOT
# plucky ruin !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).

plucky ruin
#

so open your netherite_scythe.json in a text editor and adjust the texture paths near the start accordingly
The game will look inside the "textures" folder for your texture, so if your texture is, for example, assets/minecraft/textures/item/reaper_scythe.png, you'd write "item/reaper_scythe"

manic plume
#

thanks, I’ll try this when I get on later

manic plume
#

is the particle in line 7 important?

#

I feel like everything looks correct but it wont update in minecraft now, I refreshed the textures too

plucky ruin
# manic plume

it's the particle that's being used when it breaks etc.

#

which verison of Minecraft are you trying to use this model in btw.?

manic plume
#

1.21.8

#

I fixed the pack format I think

#

it should be 64 if im not wrong

plucky ruin
#

pack format only affects whether you get an "incompabitble version" warning (doesn't do anything else besides that warning btw.)

manic plume
#

oh alright

#

well yeah 1.21.8 is the version im trying to use it for

plucky ruin
#

k, that model should be valid then from what I can tell

#

is it still a null block after that texture path name fix?

manic plume
#

let me recheck

#

yeah

#

it is

#

I think i did it correctly

#

im still kind of lost

plucky ruin
#

So you see a normal netherite sword, and if you rename it to Reaper's Scythe it looks like a null cube, correct?

#

or is the normal netherite sword a null cube too?

manic plume
#

yeah

#

no just the named

#

i could update the files in the google drive if you need me to

plucky ruin
#

K, one small thing. remove this one line
Won't fix your problem but shouldn't be there either unless i'm overlooking something

manic plume
#

alright

plucky ruin
#

and your reaper_scythe.json is in exactly:
assets/minecraft/models/item/netherite_sword/reapther_scythe.json
?

manic plume
#

lemme check

#

its in assets/minecraft/items/netherite_sword/reaper_scythe.json

#

its in items not item

plucky ruin
#

wait, I forgot a folder in my path

#

fixed my path

plucky ruin
# manic plume its in items not item

Only item definition files go into the items folder (like your netherite_sword.json)
Actual model files (your reaper_scythe.json) needs to be within the models folder (in your case where I said based on what you wrote in netherite_sword.json)

manic plume
#

oh alright I just followed the video to the best of my ability

#

so you want me to put the model into the case destination?

plucky ruin
#

based on your file contents these are the 3 files you should have in your pack:
assets/minecraft/items/netherite_sword.json
assets/minecraft/models/item/netherite_sword/reaper_scythe.json
assets/minecraft/textures/item/reaper_scythe.png

manic plume
#

let me verify that

#

first is correct

plucky ruin
#

assuming I didn't make any typos in the file names ofc

manic plume
plucky ruin
#

oh that's wrong

manic plume
#

oh

plucky ruin
#

you already had the contents of that file correct in your drive

manic plume
#

I just fixed the second file

#

oh

plucky ruin
#

minus the extra "model" line I told you to remove

manic plume
#

I can go redownload it from the drive

#

and remove the model line

plucky ruin
#

actually, that whole thing can be simplified to this:
so this:

{
    "model": {
        "type": "minecraft:select",
        "property": "minecraft:component",
        "component": "minecraft:custom_name",
        "cases": [
            {
                "when": "Reaper's Scythe",
                "model": {
                    "type": "minecraft:model",
                    "model": "minecraft:item/netherite_sword/reaper_scythe"
                }
            }
        ],
        "fallback": {
            "type": "minecraft:model",
            "model": "minecraft:item/netherite_sword"
        }
    }
}```
manic plume
#

alright, I'll paste it in

#

okay did it, I should replace the netherite_sword.json file now right?

#

in assets/minecraft/items/netherite_sword.json

plucky ruin
#

yes

manic plume
#

fixed it

#

let me check the third one

#

yeah thats correct

#

i'll refresh my mc

#

nope

#

didnt work

#

let me send the contents of the other files

#

I probably screwed up those too

#

this is my model

#

not sure if I did something wrong

#

I could rewrite the format version

#

not sure if that would change anything

plucky ruin
#

is that file where I told you it needs to be?

manic plume
#

yeah

#

oh

#

my netherite_sword.json file just didnt update

plucky ruin
#

assets/minecraft/models/item/netherite_sword/reaper_scythe.json

manic plume
#

wtf

plucky ruin
#

oh

manic plume
#

ok its updated let me check if it works now

#

still nah

plucky ruin
#

Can you zip the pack as it is and send the pack to me? (either here or in dms)

manic plume
#

yeah I'll do that now

#

it says 1.21.7 but it was listed as 1.21.6-1.21.8

#

I'll change the name later

plucky ruin
#

Remove all default files from the pack

manic plume
#

uhh alright

plucky ruin
#

NEVER have default files in your pack

manic plume
#

oh alright

#

I was just going to add models and adapt the pack

#

or that was the idea

plucky ruin
#

it makes it a pain to look through, needlessly increases your pack size, is against Minecraft TOS and cause more problems than it helps

manic plume
#

did not know that

plucky ruin
#

You can ofc have one as reference somewhere, but never ever merge it with your custom stuff and use it as pack.

manic plume
#

alright so in the assets/minecraft you want me to delete: atlases, blockstates, equipment, font, lang, particles, post_effect, shaders, texts, waypoint_style

#

I dont wanna do anything wrong so just verifying

plucky ruin
#

make a new pack
only create the folders and files you actually wanna add/change

plucky ruin
manic plume
#

alright I'll keep that in mind for next time

#

uhh let me check again

plucky ruin
#

it's still in the items folder
which is not where model files go

manic plume
#

oh I changed the location

#

I think I misunderstood something you said

plucky ruin
#

-# the model and texture locations are based on the information you put in the item definition and model files respectively

manic plume
#

it was in assets/minecraft/items/netherite_sword

#

but now it is in assets/minecraft/models/item/netherite_sword

#

correct?

manic plume
plucky ruin
#

because that was no longer relevant cause I told you to make a new pack

manic plume
#

oh i didnt read that

#

oops

#

uh

plucky ruin
#

because you should have NO (unedited) default files at all

#

no models, no textures, no nothing

manic plume
#

alright I had this empty pack I tried doing models on

#

I'll adapt it

manic plume
plucky ruin
#

yes

manic plume
#

should be it

#

this doesnt work

plucky ruin
#

those should be "item/reaper_scythe"

manic plume
#

I just fixed that in the file i sent

#

I realised that

plucky ruin
#

k, give me a second to start up Minecraft to see if I see if I also get an error

manic plume
#

alright thanks

#

it works now

#

wtf

#

thank you dude

#

I would've never figured that out

#

@plucky ruin

plucky ruin
#

wait, what was the last problem?

manic plume
#

uhh I think I got some files mixed up

#

I've tried doing this so many times on new files

#

and I think I put the wrong one in my resource pack folder

#

soo thank you so much

plucky ruin
#

the pack you sent worked for me

manic plume
#

im glad I came here and have a great day

#

yea

#

it works for me now

#

alright have a blessed day

#

oh not sure how to remove this post lol

#

can you?

plucky ruin
#

explained in the first bot message in this channel

manic plume
#

oh.