Package net.minecraft.world.level.biome
Enum Class FuzzyOffsetBiomeZoomer
- All Implemented Interfaces:
Serializable
,Comparable<FuzzyOffsetBiomeZoomer>
,Constable
,BiomeZoomer
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBiome(long p_48302_, int p_48303_, int p_48304_, int p_48305_, BiomeManager.NoiseBiomeSource p_48306_)
private static double
getFiddle(long p_48292_)
private static double
getFiddledDistance(long p_48294_, int p_48295_, int p_48296_, int p_48297_, double p_48298_, double p_48299_, double p_48300_)
private static double
sqr(double p_48290_)
static FuzzyOffsetBiomeZoomer
Returns the enum constant of this class with the specified name.static FuzzyOffsetBiomeZoomer[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
-
-
Field Details
-
ZOOM_BITS
private static final int ZOOM_BITS- See Also:
- Constant Field Values
-
ZOOM
private static final int ZOOM- See Also:
- Constant Field Values
-
ZOOM_MASK
private static final int ZOOM_MASK- See Also:
- Constant Field Values
-
-
Constructor Details
-
FuzzyOffsetBiomeZoomer
private FuzzyOffsetBiomeZoomer()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getBiome
public Biome getBiome(long p_48302_, int p_48303_, int p_48304_, int p_48305_, BiomeManager.NoiseBiomeSource p_48306_)- Specified by:
getBiome
in interfaceBiomeZoomer
-
getFiddledDistance
private static double getFiddledDistance(long p_48294_, int p_48295_, int p_48296_, int p_48297_, double p_48298_, double p_48299_, double p_48300_) -
getFiddle
private static double getFiddle(long p_48292_) -
sqr
private static double sqr(double p_48290_)
-