Package net.minecraft.block.enums
Enum Class Orientation
- All Implemented Interfaces:
Serializable
,Comparable<Orientation>
,Constable
,StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/block/enums/Orientation
intermediary net/minecraft/class_5000
official jo
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private final Direction
private final String
private final Direction
private static final Orientation[]
Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD
-
Constructor Summary
ModifierConstructorDescriptionprivate
Orientation
(String name, Direction facing, Direction rotation) -
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.static Orientation
byDirections
(Direction facing, Direction rotation) private static int
static Orientation
Returns the enum constant of this class with the specified name.static Orientation[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DOWN_EAST
- Mappings:
Namespace Name Mixin selector named DOWN_EAST
Lnet/minecraft/block/enums/Orientation;DOWN_EAST:Lnet/minecraft/block/enums/Orientation;
intermediary field_23381
Lnet/minecraft/class_5000;field_23381:Lnet/minecraft/class_5000;
official a
Ljo;a:Ljo;
-
DOWN_NORTH
- Mappings:
Namespace Name Mixin selector named DOWN_NORTH
Lnet/minecraft/block/enums/Orientation;DOWN_NORTH:Lnet/minecraft/block/enums/Orientation;
intermediary field_23382
Lnet/minecraft/class_5000;field_23382:Lnet/minecraft/class_5000;
official b
Ljo;b:Ljo;
-
DOWN_SOUTH
- Mappings:
Namespace Name Mixin selector named DOWN_SOUTH
Lnet/minecraft/block/enums/Orientation;DOWN_SOUTH:Lnet/minecraft/block/enums/Orientation;
intermediary field_23383
Lnet/minecraft/class_5000;field_23383:Lnet/minecraft/class_5000;
official c
Ljo;c:Ljo;
-
DOWN_WEST
- Mappings:
Namespace Name Mixin selector named DOWN_WEST
Lnet/minecraft/block/enums/Orientation;DOWN_WEST:Lnet/minecraft/block/enums/Orientation;
intermediary field_23384
Lnet/minecraft/class_5000;field_23384:Lnet/minecraft/class_5000;
official d
Ljo;d:Ljo;
-
UP_EAST
- Mappings:
Namespace Name Mixin selector named UP_EAST
Lnet/minecraft/block/enums/Orientation;UP_EAST:Lnet/minecraft/block/enums/Orientation;
intermediary field_23385
Lnet/minecraft/class_5000;field_23385:Lnet/minecraft/class_5000;
official e
Ljo;e:Ljo;
-
UP_NORTH
- Mappings:
Namespace Name Mixin selector named UP_NORTH
Lnet/minecraft/block/enums/Orientation;UP_NORTH:Lnet/minecraft/block/enums/Orientation;
intermediary field_23386
Lnet/minecraft/class_5000;field_23386:Lnet/minecraft/class_5000;
official f
Ljo;f:Ljo;
-
UP_SOUTH
- Mappings:
Namespace Name Mixin selector named UP_SOUTH
Lnet/minecraft/block/enums/Orientation;UP_SOUTH:Lnet/minecraft/block/enums/Orientation;
intermediary field_23387
Lnet/minecraft/class_5000;field_23387:Lnet/minecraft/class_5000;
official g
Ljo;g:Ljo;
-
UP_WEST
- Mappings:
Namespace Name Mixin selector named UP_WEST
Lnet/minecraft/block/enums/Orientation;UP_WEST:Lnet/minecraft/block/enums/Orientation;
intermediary field_23388
Lnet/minecraft/class_5000;field_23388:Lnet/minecraft/class_5000;
official h
Ljo;h:Ljo;
-
WEST_UP
- Mappings:
Namespace Name Mixin selector named WEST_UP
Lnet/minecraft/block/enums/Orientation;WEST_UP:Lnet/minecraft/block/enums/Orientation;
intermediary field_23389
Lnet/minecraft/class_5000;field_23389:Lnet/minecraft/class_5000;
official i
Ljo;i:Ljo;
-
EAST_UP
- Mappings:
Namespace Name Mixin selector named EAST_UP
Lnet/minecraft/block/enums/Orientation;EAST_UP:Lnet/minecraft/block/enums/Orientation;
intermediary field_23390
Lnet/minecraft/class_5000;field_23390:Lnet/minecraft/class_5000;
official j
Ljo;j:Ljo;
-
NORTH_UP
- Mappings:
Namespace Name Mixin selector named NORTH_UP
Lnet/minecraft/block/enums/Orientation;NORTH_UP:Lnet/minecraft/block/enums/Orientation;
intermediary field_23391
Lnet/minecraft/class_5000;field_23391:Lnet/minecraft/class_5000;
official k
Ljo;k:Ljo;
-
SOUTH_UP
- Mappings:
Namespace Name Mixin selector named SOUTH_UP
Lnet/minecraft/block/enums/Orientation;SOUTH_UP:Lnet/minecraft/block/enums/Orientation;
intermediary field_23392
Lnet/minecraft/class_5000;field_23392:Lnet/minecraft/class_5000;
official l
Ljo;l:Ljo;
-
-
Field Details
-
DIRECTIONS
private static final int DIRECTIONS- Mappings:
Namespace Name Mixin selector named DIRECTIONS
Lnet/minecraft/block/enums/Orientation;DIRECTIONS:I
intermediary field_54867
Lnet/minecraft/class_5000;field_54867:I
official m
Ljo;m:I
-
VALUES
- Mappings:
Namespace Name Mixin selector named VALUES
Lnet/minecraft/block/enums/Orientation;VALUES:[Lnet/minecraft/block/enums/Orientation;
intermediary field_54868
Lnet/minecraft/class_5000;field_54868:[Lnet/minecraft/class_5000;
official n
Ljo;n:[Ljo;
-
name
- Mappings:
Namespace Name Mixin selector named name
Lnet/minecraft/block/enums/Orientation;name:Ljava/lang/String;
intermediary field_23394
Lnet/minecraft/class_5000;field_23394:Ljava/lang/String;
official o
Ljo;o:Ljava/lang/String;
-
rotation
- Mappings:
Namespace Name Mixin selector named rotation
Lnet/minecraft/block/enums/Orientation;rotation:Lnet/minecraft/util/math/Direction;
intermediary field_23395
Lnet/minecraft/class_5000;field_23395:Lnet/minecraft/class_2350;
official p
Ljo;p:Ljm;
-
facing
- Mappings:
Namespace Name Mixin selector named facing
Lnet/minecraft/block/enums/Orientation;facing:Lnet/minecraft/util/math/Direction;
intermediary field_23396
Lnet/minecraft/class_5000;field_23396:Lnet/minecraft/class_2350;
official q
Ljo;q:Ljm;
-
-
Constructor Details
-
Orientation
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/block/enums/Orientation;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;)V
intermediary <init>
Lnet/minecraft/class_5000;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;)V
official <init>
Ljo;<init>(Ljava/lang/String;ILjava/lang/String;Ljm;Ljm;)V
-
-
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
-
getIndex
- Mappings:
Namespace Name Mixin selector named getIndex
Lnet/minecraft/block/enums/Orientation;getIndex(Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;)I
intermediary method_26427
Lnet/minecraft/class_5000;method_26427(Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;)I
official b
Ljo;b(Ljm;Ljm;)I
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asString
in interfaceStringIdentifiable
- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asString
Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
intermediary method_15434
Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
official c
Lbba;c()Ljava/lang/String;
-
byDirections
- Mappings:
Namespace Name Mixin selector named byDirections
Lnet/minecraft/block/enums/Orientation;byDirections(Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/Direction;)Lnet/minecraft/block/enums/Orientation;
intermediary method_26425
Lnet/minecraft/class_5000;method_26425(Lnet/minecraft/class_2350;Lnet/minecraft/class_2350;)Lnet/minecraft/class_5000;
official a
Ljo;a(Ljm;Ljm;)Ljo;
-
getFacing
- Mappings:
Namespace Name Mixin selector named getFacing
Lnet/minecraft/block/enums/Orientation;getFacing()Lnet/minecraft/util/math/Direction;
intermediary method_26426
Lnet/minecraft/class_5000;method_26426()Lnet/minecraft/class_2350;
official a
Ljo;a()Ljm;
-
getRotation
- Mappings:
Namespace Name Mixin selector named getRotation
Lnet/minecraft/block/enums/Orientation;getRotation()Lnet/minecraft/util/math/Direction;
intermediary method_26428
Lnet/minecraft/class_5000;method_26428()Lnet/minecraft/class_2350;
official b
Ljo;b()Ljm;
-