Enum Block.OffsetType

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

@Environment(CLIENT)
public static enum Block.OffsetType
extends Enum<Block.OffsetType>
Mappings:
Namespace Name
official afh$a
intermediary net/minecraft/class_160$class_161
named net/minecraft/block/Block$OffsetType
  • Enum Constant Details

    • NONE

      public static final Block.OffsetType NONE
      Mappings:
      Namespace Name Mixin selector
      official a Lafh$a;a:Lafh$a;
      intermediary field_617 Lnet/minecraft/class_160$class_161;field_617:Lnet/minecraft/class_160$class_161;
      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 Lafh$a;b:Lafh$a;
      intermediary field_618 Lnet/minecraft/class_160$class_161;field_618:Lnet/minecraft/class_160$class_161;
      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 Lafh$a;c:Lafh$a;
      intermediary field_619 Lnet/minecraft/class_160$class_161;field_619:Lnet/minecraft/class_160$class_161;
      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 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 Block.OffsetType 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