Why cant i harvest my crop block? I did everything right?

Started by MaxIfHeWasinMi… on

Topic category: Mod design feedback

Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Why cant i harvest my crop block? I did everything right?

I am working on a mod to improve the in-game food system, like say adding new foods and crops that give special buffs when eaten.

The problem is that no matter what I try doing my grape plant will not drop items! I will attach a screenshot below of the code, it can reverse stages but will not drop items for the life of it.

Any help or advice on how to fix my issue is greatly appreciated. Do note that the plant I am harvesting IS solid and has glass pane collisions.

I've tried: turning de-spawn on, setting the drop coordinates to just x y z, without the sound block, with loot tables, and without random drops.

This is the code i'm struggling with

Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Edit, ive also tried…
Sun, 02/26/2023 - 21:41

Edit, ive also tried switching the randomDrop symbols with no change

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
pretty sure it might be your…
Sat, 03/18/2023 - 20:44

pretty sure it might be your external trigger. set it to on player/world tick.

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No problem! Cant wait to see…
Mon, 03/20/2023 - 03:06

No problem! Cant wait to see what your work has in store (also im guessing those are 🍇 grapes)