Double plant that requires nearby water?

Started by bananarang_mods on Tue, 10/27/2020 - 11:41

Topic category: Help with modding (Java Edition)

Last seen on 04:46, 24. Nov 2020
Joined Jul 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Double plant that requires nearby water?
Tue, 10/27/2020 - 11:41

is there a way to make a double plant that can only be placed next to water?

Last seen on 21:44, 22. Nov 2020
Joined May 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
This is a pretty clunky…
Wed, 10/28/2020 - 00:56

This is a pretty clunky method, but try writing a procedure that checks all blocks down one and out one from the plant when you place it and on a random tick, and if that condition isn't met replace the plant with air and give the item back to the player. Lots of issues with that solution, but it might be good temporarily?