Interface BlockAgeProcessor

All Superinterfaces:
StructureProcessor, Wrapper

@NullMarked @AsOf("3.4.0") public interface BlockAgeProcessor extends StructureProcessor
Ages stone bricks and similar blocks as they are placed, cracking, mossing and turning some to stairs or slabs. Ruined portals use it.
Since:
3.4.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    The chance, from 0 to 1, of an aged block becoming mossy.
    of(float mossiness)
    Creates a new processor.

    Methods inherited from interface Wrapper

    asHandle, toMinecraft, unwrap
  • Method Details

    • mossiness

      @AsOf("3.4.0") float mossiness()
      The chance, from 0 to 1, of an aged block becoming mossy.
      Returns:
      the chance, from 0 to 1, of an aged block becoming mossy
      Since:
      3.4.0
    • of

      @AsOf("3.4.0") static BlockAgeProcessor of(float mossiness)
      Creates a new processor.
      Parameters:
      mossiness - the chance, from 0 to 1, of an aged block becoming mossy
      Returns:
      a new processor
      Since:
      3.4.0