Package net.minecraft.world.biome.source
Enum VoronoiBiomeAccessType
- All Implemented Interfaces:
Serializable,Comparable<VoronoiBiomeAccessType>,java.lang.constant.Constable,BiomeAccessType
public enum VoronoiBiomeAccessType extends Enum<VoronoiBiomeAccessType> implements BiomeAccessType
- Mappings:
Namespace Name official bwzintermediary net/minecraft/class_4546named net/minecraft/world/biome/source/VoronoiBiomeAccessType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE -
Field Summary
Fields Modifier and Type Field Description private static intfield_30979private static intfield_30980private static intfield_30981 -
Constructor Summary
Constructors Modifier Constructor Description privateVoronoiBiomeAccessType() -
Method Summary
Modifier and Type Method Description private static doublecalcSquaredDistance(long seed, int x, int y, int z, double xFraction, double yFraction, double zFraction)private static doubledistribute(long seed)BiomegetBiome(long seed, int x, int y, int z, BiomeAccess.Storage storage)private static doublesquare(double d)static VoronoiBiomeAccessTypevalueOf(String name)Returns the enum constant of this type with the specified name.static VoronoiBiomeAccessType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
- Mappings:
Namespace Name Mixin selector official aLbwz;a:Lbwz;intermediary field_20644Lnet/minecraft/class_4546;field_20644:Lnet/minecraft/class_4546;named INSTANCELnet/minecraft/world/biome/source/VoronoiBiomeAccessType;INSTANCE:Lnet/minecraft/world/biome/source/VoronoiBiomeAccessType;
-
-
Field Details
-
field_30979
private static final int field_30979- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official bLbwz;b:Iintermediary field_30979Lnet/minecraft/class_4546;field_30979:Inamed field_30979Lnet/minecraft/world/biome/source/VoronoiBiomeAccessType;field_30979:I
-
field_30980
private static final int field_30980- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official cLbwz;c:Iintermediary field_30980Lnet/minecraft/class_4546;field_30980:Inamed field_30980Lnet/minecraft/world/biome/source/VoronoiBiomeAccessType;field_30980:I
-
field_30981
private static final int field_30981- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official dLbwz;d:Iintermediary field_30981Lnet/minecraft/class_4546;field_30981:Inamed field_30981Lnet/minecraft/world/biome/source/VoronoiBiomeAccessType;field_30981:I
-
-
Constructor Details
-
VoronoiBiomeAccessType
private VoronoiBiomeAccessType()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getBiome
- Specified by:
getBiomein interfaceBiomeAccessType- Mappings:
Namespace Name Mixin selector official aLbwv;a(JIIILbws$a;)Lbwq;intermediary method_22396Lnet/minecraft/class_4545;method_22396(JIIILnet/minecraft/class_4543$class_4544;)Lnet/minecraft/class_1959;named getBiomeLnet/minecraft/world/biome/source/BiomeAccessType;getBiome(JIIILnet/minecraft/world/biome/source/BiomeAccess$Storage;)Lnet/minecraft/world/biome/Biome;
-
calcSquaredDistance
private static double calcSquaredDistance(long seed, int x, int y, int z, double xFraction, double yFraction, double zFraction)- Mappings:
Namespace Name Mixin selector official aLbwz;a(JIIIDDD)Dintermediary method_22399Lnet/minecraft/class_4546;method_22399(JIIIDDD)Dnamed calcSquaredDistanceLnet/minecraft/world/biome/source/VoronoiBiomeAccessType;calcSquaredDistance(JIIIDDD)D
-
distribute
private static double distribute(long seed)- Mappings:
Namespace Name Mixin selector official aLbwz;a(J)Dintermediary method_22398Lnet/minecraft/class_4546;method_22398(J)Dnamed distributeLnet/minecraft/world/biome/source/VoronoiBiomeAccessType;distribute(J)D
-
square
private static double square(double d)- Mappings:
Namespace Name Mixin selector official aLbwz;a(D)Dintermediary method_22397Lnet/minecraft/class_4546;method_22397(D)Dnamed squareLnet/minecraft/world/biome/source/VoronoiBiomeAccessType;square(D)D
-