how to make a mushroom?

Started by bananarang_mods on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to make a mushroom?

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

Joined Dec 2017
Points:

User statistics:

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

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Late response, but how do I…
Thu, 05/27/2021 - 02:17

Late response, but how do I check for light level? I can't figure it out for the life of me