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 - 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 SummaryFieldsModifier 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 SummaryConstructorsConstructorDescriptionNoiseRouter(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 SummaryModifier 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- 
barrierNoiseThe field for thebarrierNoiserecord component.
- 
fluidLevelFloodednessNoiseThe field for thefluidLevelFloodednessNoiserecord component.
- 
fluidLevelSpreadNoiseThe field for thefluidLevelSpreadNoiserecord component.
- 
lavaNoiseThe field for thelavaNoiserecord component.
- 
temperatureThe field for thetemperaturerecord component.
- 
vegetationThe field for thevegetationrecord component.
- 
continentsThe field for thecontinentsrecord component.
- 
erosionThe field for theerosionrecord component.
- 
depthThe field for thedepthrecord component.
- 
ridgesThe field for theridgesrecord component.
- 
initialDensityWithoutJaggednessThe field for theinitialDensityWithoutJaggednessrecord component.
- 
finalDensityThe field for thefinalDensityrecord component.
- 
veinToggleThe field for theveinTogglerecord component.
- 
veinRidgedThe field for theveinRidgedrecord component.
- 
veinGapThe field for theveinGaprecord component.
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - official - a- Ldhq;a:Lcom/mojang/serialization/Codec;- intermediary - field_37683- Lnet/minecraft/class_6953;field_37683:Lcom/mojang/serialization/Codec;- named - CODEC- Lnet/minecraft/world/gen/noise/NoiseRouter;CODEC:Lcom/mojang/serialization/Codec;
 
 
- 
- 
Constructor Details- 
NoiseRouterpublic 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- 
fieldprivate 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;
 
- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
barrierNoiseReturns the value of thebarrierNoiserecord component.- Returns:
- the value of the barrierNoiserecord component
 
- 
fluidLevelFloodednessNoiseReturns the value of thefluidLevelFloodednessNoiserecord component.- Returns:
- the value of the fluidLevelFloodednessNoiserecord component
 
- 
fluidLevelSpreadNoiseReturns the value of thefluidLevelSpreadNoiserecord component.- Returns:
- the value of the fluidLevelSpreadNoiserecord component
 
- 
lavaNoiseReturns the value of thelavaNoiserecord component.- Returns:
- the value of the lavaNoiserecord component
 
- 
temperatureReturns the value of thetemperaturerecord component.- Returns:
- the value of the temperaturerecord component
 
- 
vegetationReturns the value of thevegetationrecord component.- Returns:
- the value of the vegetationrecord component
 
- 
continentsReturns the value of thecontinentsrecord component.- Returns:
- the value of the continentsrecord component
 
- 
erosionReturns the value of theerosionrecord component.- Returns:
- the value of the erosionrecord component
 
- 
depthReturns the value of thedepthrecord component.- Returns:
- the value of the depthrecord component
 
- 
ridgesReturns the value of theridgesrecord component.- Returns:
- the value of the ridgesrecord component
 
- 
initialDensityWithoutJaggednessReturns the value of theinitialDensityWithoutJaggednessrecord component.- Returns:
- the value of the initialDensityWithoutJaggednessrecord component
 
- 
finalDensityReturns the value of thefinalDensityrecord component.- Returns:
- the value of the finalDensityrecord component
 
- 
veinToggleReturns the value of theveinTogglerecord component.- Returns:
- the value of the veinTogglerecord component
 
- 
veinRidgedReturns the value of theveinRidgedrecord component.- Returns:
- the value of the veinRidgedrecord component
 
- 
veinGapReturns the value of theveinGaprecord component.- Returns:
- the value of the veinGaprecord component
 
 
-