Enum Class SideShapeType

java.lang.Object
java.lang.Enum<SideShapeType>
net.minecraft.block.SideShapeType
All Implemented Interfaces:
Serializable, Comparable<SideShapeType>, Constable

public enum SideShapeType extends Enum<SideShapeType>
Mappings:
Namespace Name
named net/minecraft/block/SideShapeType
intermediary net/minecraft/class_5431
official dnb
  • Enum Constant Details

    • FULL

      public static final SideShapeType FULL
      Mappings:
      Namespace Name Mixin selector
      named FULL Lnet/minecraft/block/SideShapeType;FULL:Lnet/minecraft/block/SideShapeType;
      intermediary field_25822 Lnet/minecraft/class_5431;field_25822:Lnet/minecraft/class_5431;
      official a Ldnb;a:Ldnb;
    • CENTER

      public static final SideShapeType CENTER
      Mappings:
      Namespace Name Mixin selector
      named CENTER Lnet/minecraft/block/SideShapeType;CENTER:Lnet/minecraft/block/SideShapeType;
      intermediary field_25823 Lnet/minecraft/class_5431;field_25823:Lnet/minecraft/class_5431;
      official b Ldnb;b:Ldnb;
    • RIGID

      public static final SideShapeType RIGID
      Mappings:
      Namespace Name Mixin selector
      named RIGID Lnet/minecraft/block/SideShapeType;RIGID:Lnet/minecraft/block/SideShapeType;
      intermediary field_25824 Lnet/minecraft/class_5431;field_25824:Lnet/minecraft/class_5431;
      official c Ldnb;c:Ldnb;
  • Constructor Details

    • SideShapeType

      private SideShapeType()
  • Method Details

    • values

      public static SideShapeType[] 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 SideShapeType 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
    • matches

      public abstract boolean matches(BlockState state, BlockView world, BlockPos pos, Direction direction)
      Mappings:
      Namespace Name Mixin selector
      named matches Lnet/minecraft/block/SideShapeType;matches(Lnet/minecraft/block/BlockState;Lnet/minecraft/world/BlockView;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Direction;)Z
      intermediary method_30367 Lnet/minecraft/class_5431;method_30367(Lnet/minecraft/class_2680;Lnet/minecraft/class_1922;Lnet/minecraft/class_2338;Lnet/minecraft/class_2350;)Z
      official a Ldnb;a(Ldsd;Ldbf;Liz;Lje;)Z