Package net.minecraft.world.level.biome
Class Climate
java.lang.Object
net.minecraft.world.level.biome.Climate
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static interface
static final record
static class
static final record
protected static final class
static final record
(package private) static class
static final record
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final boolean
protected static final int
private static final float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Climate.Sampler
empty()
static BlockPos
findSpawnPosition
(List<Climate.ParameterPoint> p_207843_, Climate.Sampler p_207844_) static Climate.ParameterPoint
parameters
(float p_186789_, float p_186790_, float p_186791_, float p_186792_, float p_186793_, float p_186794_, float p_186795_) static Climate.ParameterPoint
parameters
(Climate.Parameter p_186799_, Climate.Parameter p_186800_, Climate.Parameter p_186801_, Climate.Parameter p_186802_, Climate.Parameter p_186803_, Climate.Parameter p_186804_, float p_186805_) static long
quantizeCoord
(float p_186780_) static Climate.TargetPoint
target
(float p_186782_, float p_186783_, float p_186784_, float p_186785_, float p_186786_, float p_186787_) static float
unquantizeCoord
(long p_186797_)
-
Field Details
-
DEBUG_SLOW_BIOME_SEARCH
private static final boolean DEBUG_SLOW_BIOME_SEARCH- See Also:
-
QUANTIZATION_FACTOR
private static final float QUANTIZATION_FACTOR- See Also:
-
PARAMETER_COUNT
protected static final int PARAMETER_COUNT- See Also:
-
-
Constructor Details
-
Climate
public Climate()
-
-
Method Details
-
target
public static Climate.TargetPoint target(float p_186782_, float p_186783_, float p_186784_, float p_186785_, float p_186786_, float p_186787_) -
parameters
public static Climate.ParameterPoint parameters(float p_186789_, float p_186790_, float p_186791_, float p_186792_, float p_186793_, float p_186794_, float p_186795_) -
parameters
public static Climate.ParameterPoint parameters(Climate.Parameter p_186799_, Climate.Parameter p_186800_, Climate.Parameter p_186801_, Climate.Parameter p_186802_, Climate.Parameter p_186803_, Climate.Parameter p_186804_, float p_186805_) -
quantizeCoord
public static long quantizeCoord(float p_186780_) -
unquantizeCoord
public static float unquantizeCoord(long p_186797_) -
empty
-
findSpawnPosition
public static BlockPos findSpawnPosition(List<Climate.ParameterPoint> p_207843_, Climate.Sampler p_207844_)
-