Package net.minecraft.util.math
Enum Class VerticalSurfaceType
- All Implemented Interfaces:
Serializable
,Comparable<VerticalSurfaceType>
,Constable
,StringIdentifiable
- Mappings:
Namespace Name official ddd
intermediary net/minecraft/class_5932
named net/minecraft/util/math/VerticalSurfaceType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<VerticalSurfaceType>
private final Direction
private final String
private final int
private static final VerticalSurfaceType[]
-
Constructor Summary
ModifierConstructorDescriptionprivate
VerticalSurfaceType
(Direction direction, int offset, String name) -
Method Summary
Modifier and TypeMethodDescriptionasString()
static VerticalSurfaceType
int
static VerticalSurfaceType
Returns 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 official a
Lddd;a:Lddd;
intermediary field_29313
Lnet/minecraft/class_5932;field_29313:Lnet/minecraft/class_5932;
named CEILING
Lnet/minecraft/util/math/VerticalSurfaceType;CEILING:Lnet/minecraft/util/math/VerticalSurfaceType;
-
FLOOR
- Mappings:
Namespace Name Mixin selector official b
Lddd;b:Lddd;
intermediary field_29314
Lnet/minecraft/class_5932;field_29314:Lnet/minecraft/class_5932;
named FLOOR
Lnet/minecraft/util/math/VerticalSurfaceType;FLOOR:Lnet/minecraft/util/math/VerticalSurfaceType;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official c
Lddd;c:Lcom/mojang/serialization/Codec;
intermediary field_29315
Lnet/minecraft/class_5932;field_29315:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/util/math/VerticalSurfaceType;CODEC:Lcom/mojang/serialization/Codec;
-
VALUES
- Mappings:
Namespace Name Mixin selector official g
Lddd;g:[Lddd;
intermediary field_29319
Lnet/minecraft/class_5932;field_29319:[Lnet/minecraft/class_5932;
named VALUES
Lnet/minecraft/util/math/VerticalSurfaceType;VALUES:[Lnet/minecraft/util/math/VerticalSurfaceType;
-
direction
- Mappings:
Namespace Name Mixin selector official d
Lddd;d:Lgm;
intermediary field_29316
Lnet/minecraft/class_5932;field_29316:Lnet/minecraft/class_2350;
named direction
Lnet/minecraft/util/math/VerticalSurfaceType;direction:Lnet/minecraft/util/math/Direction;
-
offset
private final int offset- Mappings:
Namespace Name Mixin selector official e
Lddd;e:I
intermediary field_29317
Lnet/minecraft/class_5932;field_29317:I
named offset
Lnet/minecraft/util/math/VerticalSurfaceType;offset:I
-
name
- Mappings:
Namespace Name Mixin selector official f
Lddd;f:Ljava/lang/String;
intermediary field_29318
Lnet/minecraft/class_5932;field_29318:Ljava/lang/String;
named name
Lnet/minecraft/util/math/VerticalSurfaceType;name:Ljava/lang/String;
-
-
Constructor Details
-
VerticalSurfaceType
- Mappings:
Namespace Name Mixin selector official <init>
Lddd;<init>(Ljava/lang/String;ILgm;ILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_5932;<init>(Ljava/lang/String;ILnet/minecraft/class_2350;ILjava/lang/String;)V
named <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 official a
Lddd;a()Lgm;
intermediary method_34379
Lnet/minecraft/class_5932;method_34379()Lnet/minecraft/class_2350;
named getDirection
Lnet/minecraft/util/math/VerticalSurfaceType;getDirection()Lnet/minecraft/util/math/Direction;
-
getOffset
public int getOffset()- Mappings:
Namespace Name Mixin selector official b
Lddd;b()I
intermediary method_34380
Lnet/minecraft/class_5932;method_34380()I
named getOffset
Lnet/minecraft/util/math/VerticalSurfaceType;getOffset()I
-
byName
- Mappings:
Namespace Name Mixin selector official a
Lddd;a(Ljava/lang/String;)Lddd;
intermediary method_34378
Lnet/minecraft/class_5932;method_34378(Ljava/lang/String;)Lnet/minecraft/class_5932;
named byName
Lnet/minecraft/util/math/VerticalSurfaceType;byName(Ljava/lang/String;)Lnet/minecraft/util/math/VerticalSurfaceType;
-
asString
- Specified by:
asString
in interfaceStringIdentifiable
- Mappings:
Namespace Name Mixin selector official c
Laiz;c()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;
-