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/NoiseRouter
intermediary net/minecraft/class_6953
official edv
named barrierNoise
intermediary comp_414
official b
named fluidLevelFloodednessNoise
intermediary comp_415
official c
named fluidLevelSpreadNoise
intermediary comp_416
official d
named lavaNoise
intermediary comp_417
official e
named temperature
intermediary comp_420
official f
named vegetation
intermediary comp_539
official g
named continents
intermediary comp_484
official h
named erosion
intermediary comp_423
official i
named depth
intermediary comp_424
official j
named ridges
intermediary comp_485
official k
named initialDensityWithoutJaggedness
intermediary comp_486
official l
named finalDensity
intermediary comp_487
official m
named veinToggle
intermediary comp_428
official n
named veinRidged
intermediary comp_429
official o
named veinGap
intermediary comp_430
official p
-
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.private static com.mojang.serialization.codecs.RecordCodecBuilder
<NoiseRouter, DensityFunction> field
(String name, Function<NoiseRouter, DensityFunction> getter) 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.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 named CODEC
Lnet/minecraft/world/gen/noise/NoiseRouter;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_37683
Lnet/minecraft/class_6953;field_37683:Lcom/mojang/serialization/Codec;
official a
Ledv;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 field
Lnet/minecraft/world/gen/noise/NoiseRouter;field(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;
official a
Ledv;a(Ljava/lang/String;Ljava/util/function/Function;)Lcom/mojang/serialization/codecs/RecordCodecBuilder;
-
apply
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/world/gen/noise/NoiseRouter;apply(Lnet/minecraft/world/gen/densityfunction/DensityFunction$DensityFunctionVisitor;)Lnet/minecraft/world/gen/noise/NoiseRouter;
intermediary method_41544
Lnet/minecraft/class_6953;method_41544(Lnet/minecraft/class_6910$class_6915;)Lnet/minecraft/class_6953;
official a
Ledv;a(Ledi$f;)Ledv;
-
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
-