Package net.minecraft.block
Enum Class SideShapeType
- All Implemented Interfaces:
Serializable,Comparable<SideShapeType>,Constable
- Mappings:
Namespace Name official cxmintermediary net/minecraft/class_5431named net/minecraft/block/SideShapeType
-
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 TypeMethodDescriptionabstract booleanmatches(BlockState state, BlockView world, BlockPos pos, Direction direction) static SideShapeTypeReturns the enum constant of this class with the specified name.static SideShapeType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FULL
- Mappings:
Namespace Name Mixin selector official aLcxm;a:Lcxm;intermediary field_25822Lnet/minecraft/class_5431;field_25822:Lnet/minecraft/class_5431;named FULLLnet/minecraft/block/SideShapeType;FULL:Lnet/minecraft/block/SideShapeType;
-
CENTER
- Mappings:
Namespace Name Mixin selector official bLcxm;b:Lcxm;intermediary field_25823Lnet/minecraft/class_5431;field_25823:Lnet/minecraft/class_5431;named CENTERLnet/minecraft/block/SideShapeType;CENTER:Lnet/minecraft/block/SideShapeType;
-
RIGID
- Mappings:
Namespace Name Mixin selector official cLcxm;c:Lcxm;intermediary field_25824Lnet/minecraft/class_5431;field_25824:Lnet/minecraft/class_5431;named RIGIDLnet/minecraft/block/SideShapeType;RIGID:Lnet/minecraft/block/SideShapeType;
-
-
Constructor Details
-
SideShapeType
private SideShapeType()
-
-
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
-
matches
public abstract boolean matches(BlockState state, BlockView world, BlockPos pos, Direction direction) - Mappings:
Namespace Name Mixin selector official aLcxm;a(Ldby;Lclq;Lgu;Lha;)Zintermediary method_30367Lnet/minecraft/class_5431;method_30367(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Znamed matchesLnet/minecraft/block/SideShapeType;matches(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
-