MCreator Procedure: punching overworld trees and nether trees drop nothing guide, axe whitelisting

Started by Rasputin1098 on Thu, 01/28/2021 - 13:08

Topic category: Help with modding (Java Edition)

Last seen on 10:23, 3. May 2021
Joined Jan 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
MCreator Procedure: punching overworld trees and nether trees drop nothing guide, axe whitelisting
Thu, 01/28/2021 - 13:08

Hi people, so I'm going to cut the chase. 

I need help with a new tree breaking procedure where when the user tries to break the tree, it drops nothing instead. similar to how player gets no drops from breaking stone blocks.

I've currently made a tree breaking procedure but instead of dropping nothing, I made it so that when the player left click log blocks, they will get slowness debuff and self damage unless they use an axe to chop it down. it works but, the debuff still persist for a short duration even when switching to an axe which is kinda annoying.

I'm pretty new with MC modding. so any procedure screenshots would tremendously help. cheers.

below is my current no tree breaking procedure.

https://imgur.com/iBk1eEi

Last seen on 14:53, 7. May 2022
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Make that, if your…
Sat, 01/30/2021 - 17:50

Make that, if your conditions are like that, it gives you the damage, the potion effect and replaces the log with another block with the same texture that doesn't drop anithing. On block tick update you make that it replaces every tick with a log. it's not probably the best solution and if the player uses other mods with trees it won't work, but is the best idea i have to solve your problem.