How to make blocks placeable only in farmland

Started by GioMikeRafto on Sun, 07/14/2019 - 03:45

Topic category: Help with modding

Last seen on 21:09, 27. Jan 2020
Joined Sep 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • Tracker tickets:
How to make blocks placeable only in farmland
Sun, 07/14/2019 - 03:45

So in both of my mods, my main problem is that seeds are placeable even on top of other seeds. Plants can be grown on stone, on trees and basically everywhere. Is there any way to fix this?

Thanks in advance.

0Upvote this forum topic
Last seen on 01:48, 28. Jan 2020
Joined Jun 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • Tracker tickets:
Add a on tick procedure that…
Sun, 07/14/2019 - 12:37

Add a on tick procedure that if not block at x y-1 z = farmland, than destroy block at x y z with drop. Works 100% of the time.

0Upvote this forum topic
Last seen on 21:09, 27. Jan 2020
Joined Sep 2018
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • Tracker tickets:
How can I do so? Can you…
Sun, 07/14/2019 - 22:27

How can I do so? Can you please upload a picture? That would really help

0Upvote this forum topic