Enum Class Block.OffsetType

java.lang.Object
java.lang.Enum<Block.OffsetType>
net.minecraft.block.Block.OffsetType
All Implemented Interfaces:
Serializable, Comparable<Block.OffsetType>, Constable
Enclosing class:
Block

public static enum Block.OffsetType extends Enum<Block.OffsetType>
Mappings:
Namespace Name
official alu$a
intermediary net/minecraft/class_197$class_2177
named net/minecraft/block/Block$OffsetType
  • Enum Constant Details

    • NONE

      public static final Block.OffsetType NONE
      Mappings:
      Namespace Name Mixin selector
      official a Lalu$a;a:Lalu$a;
      intermediary field_9286 Lnet/minecraft/class_197$class_2177;field_9286:Lnet/minecraft/class_197$class_2177;
      named NONE Lnet/minecraft/block/Block$OffsetType;NONE:Lnet/minecraft/block/Block$OffsetType;
    • XZ

      public static final Block.OffsetType XZ
      Mappings:
      Namespace Name Mixin selector
      official b Lalu$a;b:Lalu$a;
      intermediary field_9287 Lnet/minecraft/class_197$class_2177;field_9287:Lnet/minecraft/class_197$class_2177;
      named XZ Lnet/minecraft/block/Block$OffsetType;XZ:Lnet/minecraft/block/Block$OffsetType;
    • XYZ

      public static final Block.OffsetType XYZ
      Mappings:
      Namespace Name Mixin selector
      official c Lalu$a;c:Lalu$a;
      intermediary field_9288 Lnet/minecraft/class_197$class_2177;field_9288:Lnet/minecraft/class_197$class_2177;
      named XYZ Lnet/minecraft/block/Block$OffsetType;XYZ:Lnet/minecraft/block/Block$OffsetType;
  • Constructor Details

    • OffsetType

      private OffsetType()
  • Method Details

    • values

      public static Block.OffsetType[] 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 Block.OffsetType 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