does anyone know how to make vanilla mobs/blocks drop custom drops and how to change the vanilla recipes

Started by GhostlyBlob on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
does anyone know how to make vanilla mobs/blocks drop custom drops and how to change the vanilla recipes

Like the title says I need help making vanilla mobs/block drop custom items/drop and how to change the vanilla  recipes I want to know this because after I am done creating this mod I'm creating I want to create a mod that's  like NTP (no tree punching)  but makes it so getting iron takes at least 5 to 1 minutes. 

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if you create a loot table…
Fri, 08/02/2024 - 23:04

if you create a loot table for a vanilla mob/block the original loot will be replaced with your custom loot table , to replace a vanilla recipe create a recipe and set it's recipe namespace to minecraft

Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
For your Loot Table issue…
Sat, 08/03/2024 - 06:54

For your Loot Table issue:
Use the Plugin Loot modifier. This allows you to add a Loot Table to an existing one without replacing it completely.

For your Vanilla Recipe Issue:
You can create a internal Datapack inside your Mod. Check this page for more help.

Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Question bo_bo can you show…
Sat, 08/03/2024 - 14:59

Question bo_bo can you show me the namespace thing

Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I know what namespace is…
Sat, 08/03/2024 - 15:08

I know what namespace is know can you show me how to do it.

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You're welcome
Sat, 08/03/2024 - 15:21

You're welcome

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I've been trying to add no…
Thu, 10/31/2024 - 03:59

I've been trying to add no-tree punching as a part of a new mod, but have not yet figured out how to do it.

So far, I set up a procedure that fiurst checks to see if the item stock in the hand is empty, and then checks if the target is tagged as logs, and then checks to see if the player is holding an item tagged as "axes"

If true, then it deals damage to the player and gives mining fatigue.

But the issue is that if I keep holding left click, eventually I'll mine out the log. It wont keep dealing damage.

How did others overcome this challenge?

I DO Not want to simply remove the log... or kill the player outright on his first punch.