Started by
TreeIsCool
on
Topic category: Help with Minecraft modding (Java Edition)
I want to know if I'm using this code right, because I'm making 4 tiers after netherite for a mod. (I know I'm probably really far off with the code, but I need to see if I'm close or example code on what to do.)
upload your images to a place like imgur
https://imgur.com/a/hA1DwzI
ok there's the link
you have to use the return block, and um the variables aren't supposed to not have a name, not even sure how you did that..
so something like,
Do I have to do this for multiple pickaxes? Or is this code good as it is for my situation?
I'm pretty sure you only have to provide the condition for it being true
ok, thanks!
Oh wait, is this possible to do where multiple custom pickaxes can mine the ore? (For example, in my mod, I plan to add Astral Ore 1 tier above netherite, Vesi Ore and Dumix Ore 2 Tiers above netherite, and Cerulean Ore and Filament Globs 3 Tiers above netherite. I want Astral to be mined by Netherite, Bloom, and everything above that, including the Astral Pick.
you should probably make a tag, like how vanilla does it, a tag that holds all the blocks X pickaxe/pickaxe level can mine. Then you don't have to make a procedure per block,
I haven't test this ^ but it hopefully works
ok, I'll try this
Ok, I'm doing great, but 1 last question for clarity. When I use the tags, do I have to make each tag like the image above separate, or can I use the same tag multiple times?
well you wouldn't want to use the same tag, the tag should be different for each pickaxe
got it, that makes sense. I'll reply with my findings hopefully tmrw, not playing Minecraft today.
nvm that wouldn't work lol, you'd have to do something like this,
it can probably be done nicer but it's late