Class HugeFungusFeature.Builder

java.lang.Object
dev.wyck.worldgen.feature.configurations.HugeFungusFeature.Builder
Enclosing interface:
HugeFungusFeature

@AsOf("3.3.0") public static final class HugeFungusFeature.Builder extends Object
Builder for HugeFungusFeature.
Since:
3.3.0
  • Constructor Details

  • Method Details

    • validBaseState

      @AsOf("3.3.0") public HugeFungusFeature.Builder validBaseState(BlockData validBaseState)
      Sets the valid base state for the huge fungus configuration.
      Parameters:
      validBaseState - the valid base state
      Returns:
      this builder
      Since:
      3.3.0
    • stemState

      @AsOf("3.3.0") public HugeFungusFeature.Builder stemState(BlockData stemState)
      Sets the stem state for the huge fungus configuration.
      Parameters:
      stemState - the stem state
      Returns:
      this builder
      Since:
      3.3.0
    • hatState

      @AsOf("3.3.0") public HugeFungusFeature.Builder hatState(BlockData hatState)
      Sets the hat state for the huge fungus configuration.
      Parameters:
      hatState - the hat state.
      Returns:
      this builder
      Since:
      3.3.0
    • decorState

      @AsOf("3.3.0") public HugeFungusFeature.Builder decorState(BlockData decorState)
      Sets the decor state for the huge fungus configuration.
      Parameters:
      decorState - the decor state.
      Returns:
      this builder
      Since:
      3.3.0
    • replaceableBlocks

      @AsOf("3.3.0") public HugeFungusFeature.Builder replaceableBlocks(BlockPredicate replaceableBlocks)
      Sets the replaceable blocks for the huge fungus configuration.
      Parameters:
      replaceableBlocks - the replaceable blocks.
      Returns:
      this builder
      Since:
      3.3.0
    • planted

      @AsOf("3.3.0") public HugeFungusFeature.Builder planted(boolean planted)
      Sets whether the huge fungus is planted.
      Parameters:
      planted - true if the huge fungus is planted, false otherwise.
      Returns:
      this builder
      Since:
      3.3.0
    • validBaseState

      @AsOf("3.3.0") public HugeFungusFeature.Builder validBaseState(Material material)
      Sets the valid base state for the huge fungus configuration using a Material.
      Parameters:
      material - the material to set as the valid base state.
      Returns:
      this builder
      Since:
      3.3.0
    • stemState

      @AsOf("3.3.0") public HugeFungusFeature.Builder stemState(Material material)
      Sets the stem state for the huge fungus configuration using a Material.
      Parameters:
      material - the material to set as the stem state.
      Returns:
      this builder
      Since:
      3.3.0
    • hatState

      @AsOf("3.3.0") public HugeFungusFeature.Builder hatState(Material material)
      Sets the hat state for the huge fungus configuration using a Material.
      Parameters:
      material - the material to set as the hat state.
      Returns:
      this builder
      Since:
      3.3.0
    • decorState

      @AsOf("3.3.0") public HugeFungusFeature.Builder decorState(Material material)
      Sets the decor state for the huge fungus configuration using a Material.
      Parameters:
      material - the material to set as the decor state.
      Returns:
      this builder
      Since:
      3.3.0
    • planted

      @AsOf("3.3.0") public HugeFungusFeature.Builder planted()
      Sets the huge fungus as planted.
      Returns:
      this builder
      Since:
      3.3.0
    • build

      @AsOf("3.3.0") public HugeFungusFeature build()
      Builds the HugeFungusFeature instance.
      Returns:
      A new instance of HugeFungusFeature with the specified parameters.
      Since:
      3.3.0