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 daa
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 Summary
Modifier and TypeFieldDescriptionprivate final DensityFunction
The field for thebarrierNoise
record component.static final com.mojang.serialization.Codec<NoiseRouter>
private final DensityFunction
The field for thecontinents
record component.private final DensityFunction
The field for thedepth
record component.private final DensityFunction
The field for theerosion
record component.private final DensityFunction
The field for thefinalDensity
record component.private final DensityFunction
The field for thefluidLevelFloodednessNoise
record component.private final DensityFunction
The field for thefluidLevelSpreadNoise
record component.private final DensityFunction
The field for theinitialDensityWithoutJaggedness
record component.private final DensityFunction
The field for thelavaNoise
record component.private final DensityFunction
The field for theridges
record component.private final DensityFunction
The field for thetemperature
record component.private final DensityFunction
The field for thevegetation
record component.private final DensityFunction
The field for theveinGap
record component.private final DensityFunction
The field for theveinRidged
record component.private final DensityFunction
The field for theveinToggle
record component. -
Constructor Summary
ConstructorDescriptionNoiseRouter
(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 thebarrierNoise
record component.Returns the value of thecontinents
record component.depth()
Returns the value of thedepth
record component.final boolean
Indicates whether some other object is "equal to" this one.erosion()
Returns the value of theerosion
record component.Returns the value of thefinalDensity
record component.Returns the value of thefluidLevelFloodednessNoise
record component.Returns the value of thefluidLevelSpreadNoise
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of theinitialDensityWithoutJaggedness
record component.Returns the value of thelavaNoise
record component.method_41544
(DensityFunction.DensityFunctionVisitor densityFunctionVisitor) private static com.mojang.serialization.codecs.RecordCodecBuilder<NoiseRouter,
DensityFunction> method_41545
(String string, Function<NoiseRouter, DensityFunction> function) ridges()
Returns the value of theridges
record component.Returns the value of thetemperature
record component.final String
toString()
Returns a string representation of this record class.Returns the value of thevegetation
record component.veinGap()
Returns the value of theveinGap
record component.Returns the value of theveinRidged
record component.Returns the value of theveinToggle
record component.
-
Field Details
-
barrierNoise
The field for thebarrierNoise
record component. -
fluidLevelFloodednessNoise
The field for thefluidLevelFloodednessNoise
record component. -
fluidLevelSpreadNoise
The field for thefluidLevelSpreadNoise
record component. -
lavaNoise
The field for thelavaNoise
record component. -
temperature
The field for thetemperature
record component. -
vegetation
The field for thevegetation
record component. -
continents
The field for thecontinents
record component. -
erosion
The field for theerosion
record component. -
depth
The field for thedepth
record component. -
ridges
The field for theridges
record component. -
initialDensityWithoutJaggedness
The field for theinitialDensityWithoutJaggedness
record component. -
finalDensity
The field for thefinalDensity
record component. -
veinToggle
The field for theveinToggle
record component. -
veinRidged
The field for theveinRidged
record component. -
veinGap
The field for theveinGap
record component. -
CODEC
- Mappings:
Namespace Name Mixin selector official a
Ldaa;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
-
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
-
method_41545
private static com.mojang.serialization.codecs.RecordCodecBuilder<NoiseRouter,DensityFunction> method_41545(String string, Function<NoiseRouter, DensityFunction> function) - Mappings:
Namespace Name Mixin selector official a
Ldaa;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 method_41545
Lnet/minecraft/world/gen/noise/NoiseRouter;method_41545(Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/serialization/codecs/RecordCodecBuilder;
-
method_41544
- Mappings:
Namespace Name Mixin selector official a
Ldaa;a(Lczn$f;)Ldaa;
intermediary method_41544
Lnet/minecraft/class_6953;method_41544(Lnet/minecraft/class_6910$class_6915;)Lnet/minecraft/class_6953;
named method_41544
Lnet/minecraft/world/gen/noise/NoiseRouter;method_41544(Lnet/minecraft/world/gen/densityfunction/DensityFunction$DensityFunctionVisitor;)Lnet/minecraft/world/gen/noise/NoiseRouter;
-
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 thebarrierNoise
record component.- Returns:
- the value of the
barrierNoise
record component
-
fluidLevelFloodednessNoise
Returns the value of thefluidLevelFloodednessNoise
record component.- Returns:
- the value of the
fluidLevelFloodednessNoise
record component
-
fluidLevelSpreadNoise
Returns the value of thefluidLevelSpreadNoise
record component.- Returns:
- the value of the
fluidLevelSpreadNoise
record component
-
lavaNoise
Returns the value of thelavaNoise
record component.- Returns:
- the value of the
lavaNoise
record component
-
temperature
Returns the value of thetemperature
record component.- Returns:
- the value of the
temperature
record component
-
vegetation
Returns the value of thevegetation
record component.- Returns:
- the value of the
vegetation
record component
-
continents
Returns the value of thecontinents
record component.- Returns:
- the value of the
continents
record component
-
erosion
Returns the value of theerosion
record component.- Returns:
- the value of the
erosion
record component
-
depth
Returns the value of thedepth
record component.- Returns:
- the value of the
depth
record component
-
ridges
Returns the value of theridges
record component.- Returns:
- the value of the
ridges
record component
-
initialDensityWithoutJaggedness
Returns the value of theinitialDensityWithoutJaggedness
record component.- Returns:
- the value of the
initialDensityWithoutJaggedness
record component
-
finalDensity
Returns the value of thefinalDensity
record component.- Returns:
- the value of the
finalDensity
record component
-
veinToggle
Returns the value of theveinToggle
record component.- Returns:
- the value of the
veinToggle
record component
-
veinRidged
Returns the value of theveinRidged
record component.- Returns:
- the value of the
veinRidged
record component
-
veinGap
Returns the value of theveinGap
record component.- Returns:
- the value of the
veinGap
record component
-