Adding Hot Iron Pickaxe

Started by Ocey on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Adding Hot Iron Pickaxe

So the concept is to smelt an iron ingot to get a hot iron ingot and craft that into a pickaxe which would make the hot iron pickaxe but im trying to make it so that when you mine gold or iron ore that instead of dropping the ore it drops the gold or iron ingot but i cant figure out how to make it do that. Anyone know how?

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have similar problem…
Sat, 07/25/2020 - 11:36

I have similar problem called burning carbon tools, which act like a furnace, so wood drops coal, animals drop cooked meat instead of raw etc. I know that it's just another question, but I think it's better to add it here instead of making own topic.

Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Just do this but just before…
Sat, 07/25/2020 - 11:56

Just do this but just before, don't forget to check if the block at x y z is iron/gold ore and if the tool in player's hand is the pickaxe
procedure

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
OK, thank you very much! Is…
Tue, 07/28/2020 - 07:23

OK, thank you very much! Is there any way to do it with mob drops?

Joined Jun 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't think so, I never…
Tue, 07/28/2020 - 11:03

I don't think so, I never tried, and I don't see how to do it so.... good luck!

Joined Oct 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It is possible with mobs as…
Tue, 07/28/2020 - 11:24

It is possible with mobs as well. You can change their vanilla loot table, or write a procedure that detects which entity the player hits using the "IsEntity(Sub)Type of:" block, and then spawning a gem at entity x y z.

Joined Oct 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Alternatively, you could…
Tue, 07/28/2020 - 11:25

Alternatively, you could make a modded loot table and make the loot table run when you kill the mob.

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you!
Fri, 07/31/2020 - 12:25

Thank you!