Am I using custom tiers right?

Started by TreeIsCool on

Topic category: Help with Minecraft modding (Java Edition)

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Am I using custom tiers right?

Here

here
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.)

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
upload your images to a…
Tue, 09/16/2025 - 22:55

upload your images to a place like imgur

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you have to use the return…
Wed, 09/17/2025 - 17:46

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,

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do I have to do this for…
Wed, 09/17/2025 - 17:55

Do I have to do this for multiple pickaxes? Or is this code good as it is for my situation?

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm pretty sure you only…
Wed, 09/17/2025 - 17:57

I'm pretty sure you only have to provide the condition for it being true

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok, thanks!
Wed, 09/17/2025 - 18:17

ok, thanks!

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh wait, is this possible to…
Wed, 09/17/2025 - 19:21

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.

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you should probably make a…
Wed, 09/17/2025 - 19:33

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

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
ok, I'll try this
Wed, 09/17/2025 - 19:36

ok, I'll try this

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok, I'm doing great, but 1…
Wed, 09/17/2025 - 19:59

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?

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
well you wouldn't want to…
Wed, 09/17/2025 - 20:04

well you wouldn't want to use the same tag, the tag should be different for each pickaxe

Joined Sep 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
got it, that makes sense. I…
Wed, 09/17/2025 - 20:08

got it, that makes sense. I'll reply with my findings hopefully tmrw, not playing Minecraft today.

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nvm that wouldn't work lol,…
Thu, 09/18/2025 - 00:03

nvm that wouldn't work lol, you'd have to do something like this,

it can probably be done nicer but it's late