Enum Class VerticalSurfaceType

java.lang.Object
java.lang.Enum<VerticalSurfaceType>
net.minecraft.util.math.VerticalSurfaceType
All Implemented Interfaces:
Serializable, Comparable<VerticalSurfaceType>, Constable, StringIdentifiable

public enum VerticalSurfaceType extends Enum<VerticalSurfaceType> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/util/math/VerticalSurfaceType
intermediary net/minecraft/class_5932
official ehs
  • Enum Constant Details

    • CEILING

      public static final VerticalSurfaceType CEILING
      Mappings:
      Namespace Name Mixin selector
      named CEILING Lnet/minecraft/util/math/VerticalSurfaceType;CEILING:Lnet/minecraft/util/math/VerticalSurfaceType;
      intermediary field_29313 Lnet/minecraft/class_5932;field_29313:Lnet/minecraft/class_5932;
      official a Lehs;a:Lehs;
    • FLOOR

      public static final VerticalSurfaceType FLOOR
      Mappings:
      Namespace Name Mixin selector
      named FLOOR Lnet/minecraft/util/math/VerticalSurfaceType;FLOOR:Lnet/minecraft/util/math/VerticalSurfaceType;
      intermediary field_29314 Lnet/minecraft/class_5932;field_29314:Lnet/minecraft/class_5932;
      official b Lehs;b:Lehs;
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<VerticalSurfaceType> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/util/math/VerticalSurfaceType;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_29315 Lnet/minecraft/class_5932;field_29315:Lcom/mojang/serialization/Codec;
      official c Lehs;c:Lcom/mojang/serialization/Codec;
    • direction

      private final Direction direction
      Mappings:
      Namespace Name Mixin selector
      named direction Lnet/minecraft/util/math/VerticalSurfaceType;direction:Lnet/minecraft/util/math/Direction;
      intermediary field_29316 Lnet/minecraft/class_5932;field_29316:Lnet/minecraft/class_2350;
      official d Lehs;d:Ljf;
    • offset

      private final int offset
      Mappings:
      Namespace Name Mixin selector
      named offset Lnet/minecraft/util/math/VerticalSurfaceType;offset:I
      intermediary field_29317 Lnet/minecraft/class_5932;field_29317:I
      official e Lehs;e:I
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/util/math/VerticalSurfaceType;name:Ljava/lang/String;
      intermediary field_29318 Lnet/minecraft/class_5932;field_29318:Ljava/lang/String;
      official f Lehs;f:Ljava/lang/String;
  • Constructor Details

    • VerticalSurfaceType

      private VerticalSurfaceType(Direction direction, int offset, String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/math/VerticalSurfaceType;<init>(Ljava/lang/String;ILnet/minecraft/util/math/Direction;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_5932;<init>(Ljava/lang/String;ILnet/minecraft/class_2350;ILjava/lang/String;)V
      official <init> Lehs;<init>(Ljava/lang/String;ILjf;ILjava/lang/String;)V
  • Method Details

    • values

      public static VerticalSurfaceType[] 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

      public static VerticalSurfaceType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getDirection

      public Direction getDirection()
      Mappings:
      Namespace Name Mixin selector
      named getDirection Lnet/minecraft/util/math/VerticalSurfaceType;getDirection()Lnet/minecraft/util/math/Direction;
      intermediary method_34379 Lnet/minecraft/class_5932;method_34379()Lnet/minecraft/class_2350;
      official a Lehs;a()Ljf;
    • getOffset

      public int getOffset()
      Mappings:
      Namespace Name Mixin selector
      named getOffset Lnet/minecraft/util/math/VerticalSurfaceType;getOffset()I
      intermediary method_34380 Lnet/minecraft/class_5932;method_34380()I
      official b Lehs;b()I
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      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 Lazc;c()Ljava/lang/String;