Double plant that requires nearby water?

Started by bananarang_mods on

Topic category: Help with modding (Java Edition)

Last seen on 13:59, 19. May 2023
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Double plant that requires nearby water?

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

Last seen on 19:59, 3. Oct 2023
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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?