Package net.minecraft.block.enums
Enum DoorHinge
- All Implemented Interfaces:
Serializable
,Comparable<DoorHinge>
,java.lang.constant.Constable
,StringIdentifiable
public enum DoorHinge extends Enum<DoorHinge> implements StringIdentifiable
- Mappings:
Namespace Name official cio
intermediary net/minecraft/class_2750
named net/minecraft/block/enums/DoorHinge
-
Enum Constant Details
-
LEFT
- Mappings:
Namespace Name Mixin selector official a
Lcio;a:Lcio;
intermediary field_12588
Lnet/minecraft/class_2750;field_12588:Lnet/minecraft/class_2750;
named LEFT
Lnet/minecraft/block/enums/DoorHinge;LEFT:Lnet/minecraft/block/enums/DoorHinge;
-
RIGHT
- Mappings:
Namespace Name Mixin selector official b
Lcio;b:Lcio;
intermediary field_12586
Lnet/minecraft/class_2750;field_12586:Lnet/minecraft/class_2750;
named RIGHT
Lnet/minecraft/block/enums/DoorHinge;RIGHT:Lnet/minecraft/block/enums/DoorHinge;
-
-
Constructor Details
-
DoorHinge
private DoorHinge()
-
-
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
-
toString
-
asString
- Specified by:
asString
in interfaceStringIdentifiable
- Mappings:
Namespace Name Mixin selector official a
Lagi;a()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-