Enum Class PistonBehavior

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

public enum PistonBehavior extends Enum<PistonBehavior>
Mappings:
Namespace Name
official axh
intermediary net/minecraft/class_2768
named net/minecraft/block/piston/PistonBehavior
  • Enum Constant Details

    • NORMAL

      public static final PistonBehavior NORMAL
      Mappings:
      Namespace Name Mixin selector
      official a Laxh;a:Laxh;
      intermediary field_13045 Lnet/minecraft/class_2768;field_13045:Lnet/minecraft/class_2768;
      named NORMAL Lnet/minecraft/block/piston/PistonBehavior;NORMAL:Lnet/minecraft/block/piston/PistonBehavior;
    • DESTROY

      public static final PistonBehavior DESTROY
      Mappings:
      Namespace Name Mixin selector
      official b Laxh;b:Laxh;
      intermediary field_13046 Lnet/minecraft/class_2768;field_13046:Lnet/minecraft/class_2768;
      named DESTROY Lnet/minecraft/block/piston/PistonBehavior;DESTROY:Lnet/minecraft/block/piston/PistonBehavior;
    • BLOCK

      public static final PistonBehavior BLOCK
      Mappings:
      Namespace Name Mixin selector
      official c Laxh;c:Laxh;
      intermediary field_13047 Lnet/minecraft/class_2768;field_13047:Lnet/minecraft/class_2768;
      named BLOCK Lnet/minecraft/block/piston/PistonBehavior;BLOCK:Lnet/minecraft/block/piston/PistonBehavior;
    • IGNORE

      public static final PistonBehavior IGNORE
      Mappings:
      Namespace Name Mixin selector
      official d Laxh;d:Laxh;
      intermediary field_13048 Lnet/minecraft/class_2768;field_13048:Lnet/minecraft/class_2768;
      named IGNORE Lnet/minecraft/block/piston/PistonBehavior;IGNORE:Lnet/minecraft/block/piston/PistonBehavior;
  • Constructor Details

    • PistonBehavior

      private PistonBehavior()
  • Method Details

    • values

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