Enum Class AbstractMinecartEntity.Type

java.lang.Object
java.lang.Enum<AbstractMinecartEntity.Type>
net.minecraft.entity.vehicle.AbstractMinecartEntity.Type
All Implemented Interfaces:
Serializable, Comparable<AbstractMinecartEntity.Type>, Constable
Enclosing class:
AbstractMinecartEntity

public static enum AbstractMinecartEntity.Type extends Enum<AbstractMinecartEntity.Type>
Mappings:
Namespace Name
official cdl$a
intermediary net/minecraft/class_1688$class_1689
named net/minecraft/entity/vehicle/AbstractMinecartEntity$Type
  • Enum Constant Details

    • RIDEABLE

      public static final AbstractMinecartEntity.Type RIDEABLE
      Mappings:
      Namespace Name Mixin selector
      official a Lcdl$a;a:Lcdl$a;
      intermediary field_7674 Lnet/minecraft/class_1688$class_1689;field_7674:Lnet/minecraft/class_1688$class_1689;
      named RIDEABLE Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;RIDEABLE:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
    • CHEST

      public static final AbstractMinecartEntity.Type CHEST
      Mappings:
      Namespace Name Mixin selector
      official b Lcdl$a;b:Lcdl$a;
      intermediary field_7678 Lnet/minecraft/class_1688$class_1689;field_7678:Lnet/minecraft/class_1688$class_1689;
      named CHEST Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;CHEST:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
    • FURNACE

      public static final AbstractMinecartEntity.Type FURNACE
      Mappings:
      Namespace Name Mixin selector
      official c Lcdl$a;c:Lcdl$a;
      intermediary field_7679 Lnet/minecraft/class_1688$class_1689;field_7679:Lnet/minecraft/class_1688$class_1689;
      named FURNACE Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;FURNACE:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
    • TNT

      public static final AbstractMinecartEntity.Type TNT
      Mappings:
      Namespace Name Mixin selector
      official d Lcdl$a;d:Lcdl$a;
      intermediary field_7675 Lnet/minecraft/class_1688$class_1689;field_7675:Lnet/minecraft/class_1688$class_1689;
      named TNT Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;TNT:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
    • SPAWNER

      public static final AbstractMinecartEntity.Type SPAWNER
      Mappings:
      Namespace Name Mixin selector
      official e Lcdl$a;e:Lcdl$a;
      intermediary field_7680 Lnet/minecraft/class_1688$class_1689;field_7680:Lnet/minecraft/class_1688$class_1689;
      named SPAWNER Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;SPAWNER:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
    • HOPPER

      public static final AbstractMinecartEntity.Type HOPPER
      Mappings:
      Namespace Name Mixin selector
      official f Lcdl$a;f:Lcdl$a;
      intermediary field_7677 Lnet/minecraft/class_1688$class_1689;field_7677:Lnet/minecraft/class_1688$class_1689;
      named HOPPER Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;HOPPER:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
    • COMMAND_BLOCK

      public static final AbstractMinecartEntity.Type COMMAND_BLOCK
      Mappings:
      Namespace Name Mixin selector
      official g Lcdl$a;g:Lcdl$a;
      intermediary field_7681 Lnet/minecraft/class_1688$class_1689;field_7681:Lnet/minecraft/class_1688$class_1689;
      named COMMAND_BLOCK Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;COMMAND_BLOCK:Lnet/minecraft/entity/vehicle/AbstractMinecartEntity$Type;
  • Constructor Details

    • Type

      private Type()
  • Method Details

    • values

      public static AbstractMinecartEntity.Type[] 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 AbstractMinecartEntity.Type 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