Enum Class Mods
- All Implemented Interfaces:
Serializable,Comparable<Mods>,Constable
A helper class for mods that Create has built in compatibility for.
Not considered part of Create's API, addons wishing to add to this should make
their own instead, with their own helper methods in the generation classes.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanbooleanboolean -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceLocationasResource(String id) net.minecraft.resources.ResourceLocationdeepslateOreOf(String type) getId()net.minecraft.resources.ResourceLocationnet.minecraft.resources.ResourceLocationnet.minecraft.resources.ResourceLocationstatic ModsReturns the enum constant of this class with the specified name.static Mods[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MEK
-
TH
-
IE
-
FD
-
ARS_N
-
BSK
-
BTN
-
FA
-
HEX
-
ID
-
BYG
-
SG
-
TIC
-
AP
-
Q
-
BOP
-
TF
-
ECO
-
IC2
-
ATM
-
ATM_2
-
AUTUM
-
DRUIDCRAFT
-
ENDER
-
PVJ
-
UA
-
BEF
-
ENV
-
SUP
-
AM
-
NEA
-
AE2
-
MC
-
BB
-
SILENT_GEMS
-
SF
-
OREGANIZED
-
GS
-
VH
-
IX
-
GOOD
-
BMK
-
NE
-
RU
-
EO
-
IF
-
ENS
-
AET
-
HH
-
VMP
-
WSP
-
D_AET
-
A_AET
-
AET_R
-
GOTD
-
UUE
-
UG
-
DD
-
ARS_E
-
-
Field Details
-
reversedMetalPrefix
public boolean reversedMetalPrefix -
strippedIsSuffix
public boolean strippedIsSuffix -
omitWoodSuffix
public boolean omitWoodSuffix
-
-
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
-
ingotOf
-
nuggetOf
-
oreOf
-
deepslateOreOf
-
asResource
-
recipeId
-
getId
-