Record Class DensityFunctions.Marker

java.lang.Object
java.lang.Record
net.minecraft.world.level.levelgen.DensityFunctions.Marker
All Implemented Interfaces:
DensityFunction, DensityFunctions.MarkerOrMarked
Enclosing class:
DensityFunctions

protected static record DensityFunctions.Marker(DensityFunctions.Marker.Type type, DensityFunction wrapped) extends Record implements DensityFunctions.MarkerOrMarked
  • Field Details

  • Constructor Details

    • Marker

      protected Marker(DensityFunctions.Marker.Type type, DensityFunction wrapped)
      Creates an instance of a Marker record class.
      Parameters:
      type - the value for the type record component
      wrapped - the value for the wrapped record component
  • Method Details