Changing block drops

Started by Unfor on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Changing block drops
Sun, 09/15/2024 - 00:39 (edited)

I am making a mod that makes minecraft more difficult. I'd like to make logs only drop, if the player is using a specific item to break it, like breaking stone only drops with pickaxe. How would i do this?

Edited by Unfor on Sun, 09/15/2024 - 00:39
Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When block is broken  if…
Sun, 09/15/2024 - 01:33

When block is broken 

if block at x y z = (Block)

-Break Block at X Y Z and {spawn break particles?}

-Spawn dropped item you want

Image

Hope it helps.