Package net.minecraft.world.biome.layer
Enum OceanTemperatureLayer
- All Implemented Interfaces:
Serializable,Comparable<OceanTemperatureLayer>,java.lang.constant.Constable,InitLayer
public enum OceanTemperatureLayer extends Enum<OceanTemperatureLayer> implements InitLayer
- Mappings:
Namespace Name official dbnintermediary net/minecraft/class_3644named net/minecraft/world/biome/layer/OceanTemperatureLayer
-
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 -
Constructor Summary
Constructors Modifier Constructor Description privateOceanTemperatureLayer() -
Method Summary
Modifier and Type Method Description intsample(LayerRandomnessSource context, int x, int y)static OceanTemperatureLayervalueOf(String name)Returns the enum constant of this type with the specified name.static OceanTemperatureLayer[]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 aLdbn;a:Ldbn;intermediary field_16105Lnet/minecraft/class_3644;field_16105:Lnet/minecraft/class_3644;named INSTANCELnet/minecraft/world/biome/layer/OceanTemperatureLayer;INSTANCE:Lnet/minecraft/world/biome/layer/OceanTemperatureLayer;
-
-
Constructor Details
-
OceanTemperatureLayer
private OceanTemperatureLayer()
-
-
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
-
sample
- Specified by:
samplein interfaceInitLayer- Mappings:
Namespace Name Mixin selector official aLdca;a(Ldaz;II)Iintermediary method_15855Lnet/minecraft/class_3658;method_15855(Lnet/minecraft/class_3630;II)Inamed sampleLnet/minecraft/world/biome/layer/type/InitLayer;sample(Lnet/minecraft/world/biome/layer/util/LayerRandomnessSource;II)I
-