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

Started by MaxIfHeWasinMi… on

Topic category: Mod design feedback

Last seen on 22:34, 24. Apr 2024
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

Last seen on 22:34, 24. Apr 2024
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

Last seen on 12:31, 25. Apr 2024
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.

Last seen on 22:34, 24. Apr 2024
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks it seems to be…
Mon, 03/20/2023 - 01:44

Thanks it seems to be working now :)

Last seen on 12:31, 25. Apr 2024
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)

Last seen on 22:34, 24. Apr 2024
Joined Feb 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
awww there goes the surprise
Wed, 03/22/2023 - 04:46

awww there goes the surprise