Package net.mcreator.element
Class ModElementType<GE extends GeneratableElement>
java.lang.Object
net.mcreator.element.ModElementType<GE>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
-
Field Summary
Modifier and TypeFieldDescriptionstatic ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> static ModElementType
<?> -
Constructor Summary
ConstructorDescriptionModElementType
(String registryName, Character shortcut, ModElementType.ModElementGUIProvider<GE> modElementGUIProvider, Class<? extends GE> modElementStorageClass) -
Method Summary
Modifier and TypeMethodDescriptioncoveredOn
(GeneratorFlavor... supportedFlavors) boolean
This method returns the list of flavors that this element type is covered on.getIcon()
getModElementGUI
(MCreator mcreator, ModElement modElement, boolean editingMode) int
hashCode()
toString()
-
Field Details
-
ADVANCEMENT
-
ARMOR
-
ATTRIBUTE
-
BIOME
-
BLOCK
-
COMMAND
-
DAMAGETYPE
-
DIMENSION
-
CODE
-
ENCHANTMENT
-
FEATURE
-
FLUID
-
FUNCTION
-
GAMERULE
-
GUI
-
ITEM
-
ITEMEXTENSION
-
KEYBIND
-
LIVINGENTITY
-
LOOTTABLE
-
OVERLAY
-
PAINTING
-
PARTICLE
-
PLANT
-
POTION
-
POTIONEFFECT
-
PROCEDURE
-
PROJECTILE
-
RECIPE
-
STRUCTURE
-
TAB
-
TOOL
-
VILLAGERPROFESSION
-
VILLAGERTRADE
-
UNKNOWN
-
-
Constructor Details
-
ModElementType
-
-
Method Details
-
getRegistryName
-
getPluralName
-
getShortcut
-
getReadableName
-
getDescription
-
getIcon
-
getModElementGUI
public ModElementGUI<GE> getModElementGUI(MCreator mcreator, ModElement modElement, boolean editingMode) -
getModElementStorageClass
-
coveredOn
-
getCoveredFlavors
This method returns the list of flavors that this element type is covered on. Covered means that this MET is expected to be supported by the returned flavors.Generator definitions of flavors not returned here can still support this MET by defining the MET definition.
The use of this return value is for generator selector to show red cross on METs that certain flavor should support, but doesn't.
- Returns:
- List of covered flavors, if not set, all flavors are covered
-
toString
-
equals
-
hashCode
public int hashCode()
-