Record Class NoiseRouter

java.lang.Object
java.lang.Record
net.minecraft.world.gen.noise.NoiseRouter
Record Components:
barrierNoise -
fluidLevelFloodednessNoise -
fluidLevelSpreadNoise -
lavaNoise -
temperature -
vegetation -
continents -
erosion -
depth -
ridges -
initialDensityWithoutJaggedness -
finalDensity -
veinToggle -
veinRidged -
veinGap -

public record NoiseRouter(DensityFunction barrierNoise, DensityFunction fluidLevelFloodednessNoise, DensityFunction fluidLevelSpreadNoise, DensityFunction lavaNoise, DensityFunction temperature, DensityFunction vegetation, DensityFunction continents, DensityFunction erosion, DensityFunction depth, DensityFunction ridges, DensityFunction initialDensityWithoutJaggedness, DensityFunction finalDensity, DensityFunction veinToggle, DensityFunction veinRidged, DensityFunction veinGap) extends Record
Mappings:
Namespace Name
official dhq
intermediary net/minecraft/class_6953
named net/minecraft/world/gen/noise/NoiseRouter
official b
intermediary comp_414
named barrierNoise
official c
intermediary comp_415
named fluidLevelFloodednessNoise
official d
intermediary comp_416
named fluidLevelSpreadNoise
official e
intermediary comp_417
named lavaNoise
official f
intermediary comp_420
named temperature
official g
intermediary comp_539
named vegetation
official h
intermediary comp_484
named continents
official i
intermediary comp_423
named erosion
official j
intermediary comp_424
named depth
official k
intermediary comp_485
named ridges
official l
intermediary comp_486
named initialDensityWithoutJaggedness
official m
intermediary comp_487
named finalDensity
official n
intermediary comp_428
named veinToggle
official o
intermediary comp_429
named veinRidged
official p
intermediary comp_430
named veinGap
  • Field Details

  • Constructor Details

  • Method Details

    • field

      private static com.mojang.serialization.codecs.RecordCodecBuilder<NoiseRouter,DensityFunction> field(String name, Function<NoiseRouter,DensityFunction> getter)
      Mappings:
      Namespace Name Mixin selector
      official a Ldhq;a(Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/serialization/codecs/RecordCodecBuilder;
      intermediary method_41545 Lnet/minecraft/class_6953;method_41545(Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/serialization/codecs/RecordCodecBuilder;
      named field Lnet/minecraft/world/gen/noise/NoiseRouter;field(Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/serialization/codecs/RecordCodecBuilder;
    • apply

      Mappings:
      Namespace Name Mixin selector
      official a Ldhq;a(Ldhd$f;)Ldhq;
      intermediary method_41544 Lnet/minecraft/class_6953;method_41544(Lnet/minecraft/class_6910$class_6915;)Lnet/minecraft/class_6953;
      named apply Lnet/minecraft/world/gen/noise/NoiseRouter;apply(Lnet/minecraft/world/gen/densityfunction/DensityFunction$DensityFunctionVisitor;)Lnet/minecraft/world/gen/noise/NoiseRouter;
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • barrierNoise

      public DensityFunction barrierNoise()
      Returns the value of the barrierNoise record component.
      Returns:
      the value of the barrierNoise record component
    • fluidLevelFloodednessNoise

      public DensityFunction fluidLevelFloodednessNoise()
      Returns the value of the fluidLevelFloodednessNoise record component.
      Returns:
      the value of the fluidLevelFloodednessNoise record component
    • fluidLevelSpreadNoise

      public DensityFunction fluidLevelSpreadNoise()
      Returns the value of the fluidLevelSpreadNoise record component.
      Returns:
      the value of the fluidLevelSpreadNoise record component
    • lavaNoise

      public DensityFunction lavaNoise()
      Returns the value of the lavaNoise record component.
      Returns:
      the value of the lavaNoise record component
    • temperature

      public DensityFunction temperature()
      Returns the value of the temperature record component.
      Returns:
      the value of the temperature record component
    • vegetation

      public DensityFunction vegetation()
      Returns the value of the vegetation record component.
      Returns:
      the value of the vegetation record component
    • continents

      public DensityFunction continents()
      Returns the value of the continents record component.
      Returns:
      the value of the continents record component
    • erosion

      public DensityFunction erosion()
      Returns the value of the erosion record component.
      Returns:
      the value of the erosion record component
    • depth

      public DensityFunction depth()
      Returns the value of the depth record component.
      Returns:
      the value of the depth record component
    • ridges

      public DensityFunction ridges()
      Returns the value of the ridges record component.
      Returns:
      the value of the ridges record component
    • initialDensityWithoutJaggedness

      public DensityFunction initialDensityWithoutJaggedness()
      Returns the value of the initialDensityWithoutJaggedness record component.
      Returns:
      the value of the initialDensityWithoutJaggedness record component
    • finalDensity

      public DensityFunction finalDensity()
      Returns the value of the finalDensity record component.
      Returns:
      the value of the finalDensity record component
    • veinToggle

      public DensityFunction veinToggle()
      Returns the value of the veinToggle record component.
      Returns:
      the value of the veinToggle record component
    • veinRidged

      public DensityFunction veinRidged()
      Returns the value of the veinRidged record component.
      Returns:
      the value of the veinRidged record component
    • veinGap

      public DensityFunction veinGap()
      Returns the value of the veinGap record component.
      Returns:
      the value of the veinGap record component