how to make a mushroom?

Started by bananarang_mods on Wed, 12/02/2020 - 09:49

Topic category: Help with modding (Java Edition)

Last seen on 23:04, 24. Jan 2021
Joined Jul 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
how to make a mushroom?
Wed, 12/02/2020 - 09:49

I need this for my mod MineShroom so some mushrooms act like mushrooms (only plantable in dark or mycelium)

Last seen on 02:56, 17. Jan 2021
Joined Dec 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
on the mushrooms On Tick…
Thu, 12/03/2020 - 08:07

on the mushrooms On Tick Update, have it check for  light level, if too high then pop plant (remove block at x y z, and drop plant item)..the block part, just have it set in the plant type to cave, and for the on tick update, do an If block at x y-1 z is mycelium, allow planting, else pop plant and drop item..

Don't for get to check for air at y+1..

Also, don't forget to have for the On tick update, to randomly grow another mushroom (spawn block x y z) for random x and z axis within a range of the mushroom..