public enum EnumNPCType extends java.lang.Enum<EnumNPCType>
Enum Constant and Description |
---|
ChattingNPC |
Doctor |
NurseJoy |
OldFisherman |
QuestGiver |
Relearner |
Shopkeeper |
TCGTrader |
Trader |
Trainer |
TransferTutor |
Tutor |
Modifier and Type | Method and Description |
---|---|
NPCEntity |
constructNew(net.minecraft.world.World world) |
java.lang.String |
getDefaultName() |
static EnumNPCType |
getFromOrdinal(int ordinal)
Finds the NPC enum from its enum ordinal.
|
static EnumNPCType |
getFromOrdinal(short ordinal)
Finds the NPC enum from its enum ordinal.
|
static EnumNPCType |
getFromString(java.lang.String npcType) |
static EnumNPCType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumNPCType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumNPCType Trainer
public static final EnumNPCType ChattingNPC
public static final EnumNPCType Relearner
public static final EnumNPCType Tutor
public static final EnumNPCType TransferTutor
public static final EnumNPCType Trader
public static final EnumNPCType Shopkeeper
public static final EnumNPCType NurseJoy
public static final EnumNPCType Doctor
public static final EnumNPCType OldFisherman
public static final EnumNPCType QuestGiver
public static final EnumNPCType TCGTrader
public static EnumNPCType[] values()
for (EnumNPCType c : EnumNPCType.values()) System.out.println(c);
public static EnumNPCType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getDefaultName()
public static EnumNPCType getFromOrdinal(short ordinal)
ordinal
- The ordinal to find an NPC enum from.public static EnumNPCType getFromOrdinal(int ordinal)
ordinal
- The ordinal to find an NPC enum from.public static EnumNPCType getFromString(java.lang.String npcType)
public NPCEntity constructNew(net.minecraft.world.World world)