How create Farmland?

Started by CringeMods on Mon, 10/07/2019 - 13:13

Topic category: Help with modding (Java Edition)

Last seen on 12:54, 12. Mar 2020
Joined Oct 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
How create Farmland?
Mon, 10/07/2019 - 13:13

Hi

Can you create blocks that turn into farmland when I use a hoe on it?

Otw, maybe it could be a feature?

Last seen on 20:25, 8. May 2020
Joined Aug 2019
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
Haven't tested it out myself…
Mon, 10/07/2019 - 14:46

Haven't tested it out myself, but you could try: On Block Right Clicked:

Check whether the item in the player's main hand is any of the hoes. If it is, then place a (farmland) block at your block's current position. Deal damage to the provided item if that's possible.