How to made a non edible object edible?

Started by Peridot The Be… on Sat, 01/23/2021 - 18:32

Topic category: Help with MCreator software

Last seen on 18:44, 23. Jan 2021
Joined Mar 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to made a non edible object edible?
Sat, 01/23/2021 - 18:32

I'm making a flower mod, and i want to include the poisonous buttercups. I want to poison the player if they eat the buttercup, but i labelled the flower as a plant and i cant figure out how to make it able to be eaten. Any help?

Last seen on 22:49, 24. Jan 2021
Joined Jan 2021
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
What I would is: I would…
Sun, 01/24/2021 - 21:00

What I would is:
I would first make the flower a food. Then I would make the same flower again, same texture, but as a plant. Then you can make the plant non-renewable. Make it so it wont drop itself, but instead drop the food flower. Then make a procedure that detects when you right-click on a block, and check if that block is a grass block, dirt block etc. If it is one of those, you can place the plant version of your flower.

If you have any questions you can add me on discord. 

L1me#5436