Package com.pixelmonmod.pixelmon.enums
Enum Class CustomModel
- All Implemented Interfaces:
Serializable
,Comparable<CustomModel>
,Constable
This is an Enum for storing custom models. If a Model class tries to
initialize a custom model itself, the model will load upon joining the game,
which is totally uncool
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.model.Model
getModel()
Lazy loads the modelstatic CustomModel
Returns the enum constant of this class with the specified name.static CustomModel[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PILLAR_PLATFORM
-
PILLAR_COLUMN
-
PILLAR_COLUMN_FRACTURED_BOTTOM
-
PILLAR_COLUMN_FRACTURED_TOP
-
POKE_BALL
-
CHERISH_BALL
-
GREAT_BALL
-
HEAVY_BALL
-
MASTER_BALL
-
NET_BALL
-
TIMER_BALL
-
BEAST_BALL
-
MEGA_BRACELET_ORAS
-
MEGA_BRACELET_ORAS_STONE
-
MEGA_GLASSES
-
MEGA_ANCHOR
-
MEGA_BOOST_NECKLACE
-
DYNAMAX_BAND
-
MACH_BIKE
-
ACRO_BIKE
-
DYNAMAX_CLOUDS
-
SPHERE_SIMPLE
-
OVAL_CHARM
-
SHINY_CHARM
-
EXP_CHARM
-
CATCHING_CHARM
-
MARK_CHARM
-
SPHERE
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getModel
public net.minecraft.client.model.Model getModel()Lazy loads the model- Returns:
- The mdoel
-