public static enum GlowMinecart.MinecartType extends Enum<GlowMinecart.MinecartType>
Enum Constant and Description |
---|
CHEST |
COMMAND |
FURNACE |
HOPPER |
RIDEABLE |
SPAWNER |
TNT |
Modifier and Type | Method and Description |
---|---|
Function<? super org.bukkit.Location,? extends GlowMinecart> |
getCreator() |
Class<? extends org.bukkit.entity.Minecart> |
getEntityClass() |
org.bukkit.entity.EntityType |
getEntityType() |
Class<? extends GlowMinecart> |
getMinecartClass() |
static GlowMinecart.MinecartType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GlowMinecart.MinecartType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GlowMinecart.MinecartType RIDEABLE
public static final GlowMinecart.MinecartType CHEST
public static final GlowMinecart.MinecartType FURNACE
public static final GlowMinecart.MinecartType TNT
public static final GlowMinecart.MinecartType SPAWNER
public static final GlowMinecart.MinecartType HOPPER
public static final GlowMinecart.MinecartType COMMAND
public static GlowMinecart.MinecartType[] values()
for (GlowMinecart.MinecartType c : GlowMinecart.MinecartType.values()) System.out.println(c);
public static GlowMinecart.MinecartType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Class<? extends GlowMinecart> getMinecartClass()
public org.bukkit.entity.EntityType getEntityType()
public Class<? extends org.bukkit.entity.Minecart> getEntityClass()
public Function<? super org.bukkit.Location,? extends GlowMinecart> getCreator()
Copyright © 2021. All rights reserved.