Enum LogBlock.Axis

java.lang.Object
java.lang.Enum<LogBlock.Axis>
net.minecraft.block.LogBlock.Axis
All Implemented Interfaces:
Serializable, Comparable<LogBlock.Axis>, java.lang.constant.Constable, StringIdentifiable
Enclosing class:
LogBlock

public static enum LogBlock.Axis
extends Enum<LogBlock.Axis>
implements StringIdentifiable
Mappings:
Namespace Name
official ahw$a
intermediary net/minecraft/class_244$class_245
named net/minecraft/block/LogBlock$Axis
  • Enum Constant Details

    • X

      public static final LogBlock.Axis X
      Mappings:
      Namespace Name Mixin selector
      official a Lahw$a;a:Lahw$a;
      intermediary field_1034 Lnet/minecraft/class_244$class_245;field_1034:Lnet/minecraft/class_244$class_245;
      named X Lnet/minecraft/block/LogBlock$Axis;X:Lnet/minecraft/block/LogBlock$Axis;
    • Y

      public static final LogBlock.Axis Y
      Mappings:
      Namespace Name Mixin selector
      official b Lahw$a;b:Lahw$a;
      intermediary field_1035 Lnet/minecraft/class_244$class_245;field_1035:Lnet/minecraft/class_244$class_245;
      named Y Lnet/minecraft/block/LogBlock$Axis;Y:Lnet/minecraft/block/LogBlock$Axis;
    • Z

      public static final LogBlock.Axis Z
      Mappings:
      Namespace Name Mixin selector
      official c Lahw$a;c:Lahw$a;
      intermediary field_1036 Lnet/minecraft/class_244$class_245;field_1036:Lnet/minecraft/class_244$class_245;
      named Z Lnet/minecraft/block/LogBlock$Axis;Z:Lnet/minecraft/block/LogBlock$Axis;
    • NONE

      public static final LogBlock.Axis NONE
      Mappings:
      Namespace Name Mixin selector
      official d Lahw$a;d:Lahw$a;
      intermediary field_1037 Lnet/minecraft/class_244$class_245;field_1037:Lnet/minecraft/class_244$class_245;
      named NONE Lnet/minecraft/block/LogBlock$Axis;NONE:Lnet/minecraft/block/LogBlock$Axis;
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official e Lahw$a;e:Ljava/lang/String;
      intermediary field_1038 Lnet/minecraft/class_244$class_245;field_1038:Ljava/lang/String;
      named name Lnet/minecraft/block/LogBlock$Axis;name:Ljava/lang/String;
  • Constructor Details

    • Axis

      private Axis​(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lahw$a;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_244$class_245;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/block/LogBlock$Axis;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static LogBlock.Axis[] 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

      public static LogBlock.Axis valueOf​(String name)
      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 name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<LogBlock.Axis>
      Mappings:
      Namespace Name Mixin selector
      official toString Lahw$a;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_244$class_245;toString()Ljava/lang/String;
      named toString Lnet/minecraft/block/LogBlock$Axis;toString()Ljava/lang/String;
    • getByDirectionAxis

      public static LogBlock.Axis getByDirectionAxis​(Direction.Axis axis)
      Mappings:
      Namespace Name Mixin selector
      official a Lahw$a;a(Lcq$a;)Lahw$a;
      intermediary method_912 Lnet/minecraft/class_244$class_245;method_912(Lnet/minecraft/class_1383$class_1384;)Lnet/minecraft/class_244$class_245;
      named getByDirectionAxis Lnet/minecraft/block/LogBlock$Axis;getByDirectionAxis(Lnet/minecraft/util/math/Direction$Axis;)Lnet/minecraft/block/LogBlock$Axis;
    • asString

      public String asString()
      Specified by:
      asString in interface StringIdentifiable
      Mappings:
      Namespace Name Mixin selector
      official l Lnw;l()Ljava/lang/String;
      intermediary method_6682 Lnet/minecraft/class_1709;method_6682()Ljava/lang/String;
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;