Class FeatureMushroomRed

All Implemented Interfaces:
Predicate<org.cloudburstmc.api.block.BlockState>, WorldFeature, BlockFilter

public class FeatureMushroomRed extends FeatureMushroomBrown
Generates a huge red mushroom.
Author:
DaPorkchop_
  • Constructor Details

    • FeatureMushroomRed

      public FeatureMushroomRed(@NonNull @NonNull IntRange height)
  • Method Details

    • selectLog

      protected org.cloudburstmc.api.block.BlockState selectLog(org.cloudburstmc.api.level.ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z, int height)
      Overrides:
      selectLog in class FeatureMushroomBrown
    • placeLeaves

      protected void placeLeaves(org.cloudburstmc.api.level.ChunkManager level, net.daporkchop.lib.random.PRandom random, int x, int y, int z, int height, org.cloudburstmc.api.block.BlockState log, org.cloudburstmc.api.block.BlockState leaves)
      Overrides:
      placeLeaves in class FeatureMushroomBrown
    • placeSideColumn

      protected void placeSideColumn(org.cloudburstmc.api.level.ChunkManager level, int x, int y, int z, int damage)