Package net.mcreator.element.types
Class GUI
java.lang.Object
net.mcreator.element.GeneratableElement
net.mcreator.element.types.GUI
- All Implemented Interfaces:
IGUI
-
Nested Class Summary
Nested classes/interfaces inherited from class net.mcreator.element.GeneratableElement
GeneratableElement.GSONAdapter, GeneratableElement.Unknown
-
Field Summary
Modifier and TypeFieldDescriptionboolean
final int
int
int
int
boolean
int
final int
int
Fields inherited from class net.mcreator.element.GeneratableElement
formatVersion
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
This method should take care of generating additional mod element resources for cases such as GUI mod elementint
int
int
boolean
boolean
Methods inherited from class net.mcreator.element.GeneratableElement
generateModElementPicture, getAdditionalTemplateData, getModElement, isUnknown, performQuickValidation, setModElement, wasConversionApplied
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.mcreator.element.types.interfaces.IGUI
getComponentsOfType, getFixedTextLabels, getFixedTooltips
-
Field Details
-
type
public int type -
width
public int width -
height
public int height -
inventoryOffsetX
public int inventoryOffsetX -
inventoryOffsetY
public int inventoryOffsetY -
renderBgLayer
public boolean renderBgLayer -
doesPauseGame
public boolean doesPauseGame -
components
-
onOpen
-
onTick
-
onClosed
-
gridSettings
-
W
public final transient int W -
H
public final transient int H
-
-
Constructor Details
-
GUI
-
-
Method Details
-
getMaxSlotID
public int getMaxSlotID() -
hasButtonEvents
public boolean hasButtonEvents() -
hasSlotEvents
public boolean hasSlotEvents() -
getInventorySlotsX
public int getInventorySlotsX() -
getInventorySlotsY
public int getInventorySlotsY() -
finalizeModElementGeneration
public void finalizeModElementGeneration()Description copied from class:GeneratableElement
This method should take care of generating additional mod element resources for cases such as GUI mod element- Overrides:
finalizeModElementGeneration
in classGeneratableElement
-
getComponents
- Specified by:
getComponents
in interfaceIGUI
-