Package net.minecraft.world.gen.noise
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 named net/minecraft/world/gen/noise/NoiseRouterintermediary net/minecraft/class_6953official dzenamed barrierNoiseintermediary comp_414official bnamed fluidLevelFloodednessNoiseintermediary comp_415official cnamed fluidLevelSpreadNoiseintermediary comp_416official dnamed lavaNoiseintermediary comp_417official enamed temperatureintermediary comp_420official fnamed vegetationintermediary comp_539official gnamed continentsintermediary comp_484official hnamed erosionintermediary comp_423official inamed depthintermediary comp_424official jnamed ridgesintermediary comp_485official knamed initialDensityWithoutJaggednessintermediary comp_486official lnamed finalDensityintermediary comp_487official mnamed veinToggleintermediary comp_428official nnamed veinRidgedintermediary comp_429official onamed veinGapintermediary comp_430official p
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DensityFunctionThe field for thebarrierNoiserecord component.static final com.mojang.serialization.Codec<NoiseRouter> private final DensityFunctionThe field for thecontinentsrecord component.private final DensityFunctionThe field for thedepthrecord component.private final DensityFunctionThe field for theerosionrecord component.private final DensityFunctionThe field for thefinalDensityrecord component.private final DensityFunctionThe field for thefluidLevelFloodednessNoiserecord component.private final DensityFunctionThe field for thefluidLevelSpreadNoiserecord component.private final DensityFunctionThe field for theinitialDensityWithoutJaggednessrecord component.private final DensityFunctionThe field for thelavaNoiserecord component.private final DensityFunctionThe field for theridgesrecord component.private final DensityFunctionThe field for thetemperaturerecord component.private final DensityFunctionThe field for thevegetationrecord component.private final DensityFunctionThe field for theveinGaprecord component.private final DensityFunctionThe field for theveinRidgedrecord component.private final DensityFunctionThe field for theveinTogglerecord component. -
Constructor Summary
ConstructorsConstructorDescriptionNoiseRouter(DensityFunction densityFunction, DensityFunction densityFunction2, DensityFunction densityFunction3, DensityFunction densityFunction4, DensityFunction densityFunction5, DensityFunction densityFunction6, DensityFunction densityFunction7, DensityFunction densityFunction8, DensityFunction densityFunction9, DensityFunction densityFunction10, DensityFunction densityFunction11, DensityFunction densityFunction12, DensityFunction densityFunction13, DensityFunction densityFunction14, DensityFunction densityFunction15) -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebarrierNoiserecord component.Returns the value of thecontinentsrecord component.depth()Returns the value of thedepthrecord component.final booleanIndicates whether some other object is "equal to" this one.erosion()Returns the value of theerosionrecord component.private static com.mojang.serialization.codecs.RecordCodecBuilder<NoiseRouter, DensityFunction> field(String name, Function<NoiseRouter, DensityFunction> getter) Returns the value of thefinalDensityrecord component.Returns the value of thefluidLevelFloodednessNoiserecord component.Returns the value of thefluidLevelSpreadNoiserecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theinitialDensityWithoutJaggednessrecord component.Returns the value of thelavaNoiserecord component.ridges()Returns the value of theridgesrecord component.Returns the value of thetemperaturerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevegetationrecord component.veinGap()Returns the value of theveinGaprecord component.Returns the value of theveinRidgedrecord component.Returns the value of theveinTogglerecord component.
-
Field Details
-
barrierNoise
The field for thebarrierNoiserecord component. -
fluidLevelFloodednessNoise
The field for thefluidLevelFloodednessNoiserecord component. -
fluidLevelSpreadNoise
The field for thefluidLevelSpreadNoiserecord component. -
lavaNoise
The field for thelavaNoiserecord component. -
temperature
The field for thetemperaturerecord component. -
vegetation
The field for thevegetationrecord component. -
continents
The field for thecontinentsrecord component. -
erosion
The field for theerosionrecord component. -
depth
The field for thedepthrecord component. -
ridges
The field for theridgesrecord component. -
initialDensityWithoutJaggedness
The field for theinitialDensityWithoutJaggednessrecord component. -
finalDensity
The field for thefinalDensityrecord component. -
veinToggle
The field for theveinTogglerecord component. -
veinRidged
The field for theveinRidgedrecord component. -
veinGap
The field for theveinGaprecord component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/world/gen/noise/NoiseRouter;CODEC:Lcom/mojang/serialization/Codec;intermediary field_37683Lnet/minecraft/class_6953;field_37683:Lcom/mojang/serialization/Codec;official aLdze;a:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
NoiseRouter
public NoiseRouter(DensityFunction densityFunction, DensityFunction densityFunction2, DensityFunction densityFunction3, DensityFunction densityFunction4, DensityFunction densityFunction5, DensityFunction densityFunction6, DensityFunction densityFunction7, DensityFunction densityFunction8, DensityFunction densityFunction9, DensityFunction densityFunction10, DensityFunction densityFunction11, DensityFunction densityFunction12, DensityFunction densityFunction13, DensityFunction densityFunction14, DensityFunction densityFunction15)
-
-
Method Details
-
field
private static com.mojang.serialization.codecs.RecordCodecBuilder<NoiseRouter,DensityFunction> field(String name, Function<NoiseRouter, DensityFunction> getter) - Mappings:
Namespace Name Mixin selector named fieldLnet/minecraft/world/gen/noise/NoiseRouter;field(Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/serialization/codecs/RecordCodecBuilder;intermediary method_41545Lnet/minecraft/class_6953;method_41545(Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/serialization/codecs/RecordCodecBuilder;official aLdze;a(Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/serialization/codecs/RecordCodecBuilder;
-
apply
- Mappings:
Namespace Name Mixin selector named applyLnet/minecraft/world/gen/noise/NoiseRouter;apply(Lnet/minecraft/world/gen/densityfunction/DensityFunction$DensityFunctionVisitor;)Lnet/minecraft/world/gen/noise/NoiseRouter;intermediary method_41544Lnet/minecraft/class_6953;method_41544(Lnet/minecraft/class_6910$class_6915;)Lnet/minecraft/class_6953;official aLdze;a(Ldyr$f;)Ldze;
-
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. -
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. -
equals
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 withObjects::equals(Object,Object). -
barrierNoise
Returns the value of thebarrierNoiserecord component.- Returns:
- the value of the
barrierNoiserecord component
-
fluidLevelFloodednessNoise
Returns the value of thefluidLevelFloodednessNoiserecord component.- Returns:
- the value of the
fluidLevelFloodednessNoiserecord component
-
fluidLevelSpreadNoise
Returns the value of thefluidLevelSpreadNoiserecord component.- Returns:
- the value of the
fluidLevelSpreadNoiserecord component
-
lavaNoise
Returns the value of thelavaNoiserecord component.- Returns:
- the value of the
lavaNoiserecord component
-
temperature
Returns the value of thetemperaturerecord component.- Returns:
- the value of the
temperaturerecord component
-
vegetation
Returns the value of thevegetationrecord component.- Returns:
- the value of the
vegetationrecord component
-
continents
Returns the value of thecontinentsrecord component.- Returns:
- the value of the
continentsrecord component
-
erosion
Returns the value of theerosionrecord component.- Returns:
- the value of the
erosionrecord component
-
depth
Returns the value of thedepthrecord component.- Returns:
- the value of the
depthrecord component
-
ridges
Returns the value of theridgesrecord component.- Returns:
- the value of the
ridgesrecord component
-
initialDensityWithoutJaggedness
Returns the value of theinitialDensityWithoutJaggednessrecord component.- Returns:
- the value of the
initialDensityWithoutJaggednessrecord component
-
finalDensity
Returns the value of thefinalDensityrecord component.- Returns:
- the value of the
finalDensityrecord component
-
veinToggle
Returns the value of theveinTogglerecord component.- Returns:
- the value of the
veinTogglerecord component
-
veinRidged
Returns the value of theveinRidgedrecord component.- Returns:
- the value of the
veinRidgedrecord component
-
veinGap
Returns the value of theveinGaprecord component.- Returns:
- the value of the
veinGaprecord component
-