Package net.minecraft.util.math
Enum Class VerticalSurfaceType
- All Implemented Interfaces:
Serializable,Comparable<VerticalSurfaceType>,Constable,StringIdentifiable
- Mappings:
Namespace Name intermediary net/minecraft/class_5932official dqsnamed net/minecraft/util/math/VerticalSurfaceType
-
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.Codec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIdentifiable.Codec<VerticalSurfaceType>private final Directionprivate final Stringprivate final intFields inherited from interface net.minecraft.util.StringIdentifiable
field_38377 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateVerticalSurfaceType(Direction direction, int offset, String name) -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.intstatic VerticalSurfaceTypeReturns the enum constant of this class with the specified name.static VerticalSurfaceType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CEILING
- Mappings:
Namespace Name Mixin selector intermediary field_29313Lnet/minecraft/class_5932;field_29313:Lnet/minecraft/class_5932;official aLdqs;a:Ldqs;named CEILINGLnet/minecraft/util/math/VerticalSurfaceType;CEILING:Lnet/minecraft/util/math/VerticalSurfaceType;
-
FLOOR
- Mappings:
Namespace Name Mixin selector intermediary field_29314Lnet/minecraft/class_5932;field_29314:Lnet/minecraft/class_5932;official bLdqs;b:Ldqs;named FLOORLnet/minecraft/util/math/VerticalSurfaceType;FLOOR:Lnet/minecraft/util/math/VerticalSurfaceType;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector intermediary field_29315Lnet/minecraft/class_5932;field_29315:Lcom/mojang/serialization/Codec;official cLdqs;c:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/util/math/VerticalSurfaceType;CODEC:Lcom/mojang/serialization/Codec;
-
direction
- Mappings:
Namespace Name Mixin selector intermediary field_29316Lnet/minecraft/class_5932;field_29316:Lnet/minecraft/class_2350;official dLdqs;d:Lha;named directionLnet/minecraft/util/math/VerticalSurfaceType;direction:Lnet/minecraft/util/math/Direction;
-
offset
private final int offset- Mappings:
Namespace Name Mixin selector intermediary field_29317Lnet/minecraft/class_5932;field_29317:Iofficial eLdqs;e:Inamed offsetLnet/minecraft/util/math/VerticalSurfaceType;offset:I
-
name
- Mappings:
Namespace Name Mixin selector intermediary field_29318Lnet/minecraft/class_5932;field_29318:Ljava/lang/String;official fLdqs;f:Ljava/lang/String;named nameLnet/minecraft/util/math/VerticalSurfaceType;name:Ljava/lang/String;
-
-
Constructor Details
-
VerticalSurfaceType
- Mappings:
Namespace Name Mixin selector intermediary <init>Lnet/minecraft/class_5932;<init>(Ljava/lang/String;ILnet/minecraft/class_2350;ILjava/lang/String;)Vofficial <init>Ldqs;<init>(Ljava/lang/String;ILha;ILjava/lang/String;)Vnamed <init>Lnet/minecraft/util/math/VerticalSurfaceType;<init>(Ljava/lang/String;ILnet/minecraft/util/math/Direction;ILjava/lang/String;)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
-
getDirection
- Mappings:
Namespace Name Mixin selector intermediary method_34379Lnet/minecraft/class_5932;method_34379()Lnet/minecraft/class_2350;official aLdqs;a()Lha;named getDirectionLnet/minecraft/util/math/VerticalSurfaceType;getDirection()Lnet/minecraft/util/math/Direction;
-
getOffset
public int getOffset()- Mappings:
Namespace Name Mixin selector intermediary method_34380Lnet/minecraft/class_5932;method_34380()Iofficial bLdqs;b()Inamed getOffsetLnet/minecraft/util/math/VerticalSurfaceType;getOffset()I
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLapr;c()Ljava/lang/String;named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
-