Package net.minecraft.block
Enum Class BlockPlacementEnvironment
- All Implemented Interfaces:
Serializable,Comparable<BlockPlacementEnvironment>,Constable
- Mappings:
Namespace Name official cbfintermediary net/minecraft/class_4064named net/minecraft/block/BlockPlacementEnvironment
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BlockPlacementEnvironmentReturns the enum constant of this class with the specified name.static BlockPlacementEnvironment[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LAND
- Mappings:
Namespace Name Mixin selector official aLcbf;a:Lcbf;intermediary field_19715Lnet/minecraft/class_4064;field_19715:Lnet/minecraft/class_4064;named LANDLnet/minecraft/block/BlockPlacementEnvironment;LAND:Lnet/minecraft/block/BlockPlacementEnvironment;
-
WATER
- Mappings:
Namespace Name Mixin selector official bLcbf;b:Lcbf;intermediary field_19716Lnet/minecraft/class_4064;field_19716:Lnet/minecraft/class_4064;named WATERLnet/minecraft/block/BlockPlacementEnvironment;WATER:Lnet/minecraft/block/BlockPlacementEnvironment;
-
AIR
- Mappings:
Namespace Name Mixin selector official cLcbf;c:Lcbf;intermediary field_19717Lnet/minecraft/class_4064;field_19717:Lnet/minecraft/class_4064;named AIRLnet/minecraft/block/BlockPlacementEnvironment;AIR:Lnet/minecraft/block/BlockPlacementEnvironment;
-
-
Constructor Details
-
BlockPlacementEnvironment
private BlockPlacementEnvironment()
-
-
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
-