Enum Class GlowMinecart.MinecartType

java.lang.Object
java.lang.Enum<GlowMinecart.MinecartType>
net.glowstone.entity.objects.GlowMinecart.MinecartType
All Implemented Interfaces:
Serializable, Comparable<GlowMinecart.MinecartType>, Constable
Enclosing class:
GlowMinecart

public static enum GlowMinecart.MinecartType extends Enum<GlowMinecart.MinecartType>
  • Enum Constant Details

  • Method Details

    • values

      public static GlowMinecart.MinecartType[] 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 GlowMinecart.MinecartType 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
    • getMinecartClass

      public Class<? extends GlowMinecart> getMinecartClass()
    • getEntityType

      public org.bukkit.entity.EntityType getEntityType()
    • getEntityClass

      public Class<? extends org.bukkit.entity.Minecart> getEntityClass()
    • getCreator

      public Function<? super org.bukkit.Location,? extends GlowMinecart> getCreator()
    • getMaterial

      public org.bukkit.Material getMaterial()