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
FieldsModifier and TypeFieldDescriptionbooleanfinal intintintintbooleanintfinal intintFields inherited from class net.mcreator.element.GeneratableElement
formatVersion -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThis method should take care of generating additional mod element resources for cases such as GUI mod elementintintintbooleanbooleanbooleanMethods inherited from class net.mcreator.element.GeneratableElement
generateModElementPicture, getAdditionalTemplateData, getModElement, isUnknown, performQuickValidation, setModElement, wasConversionAppliedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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() -
hasSliderEvents
public boolean hasSliderEvents() -
hasSlotEvents
public boolean hasSlotEvents() -
getInventorySlotsX
public int getInventorySlotsX() -
getInventorySlotsY
public int getInventorySlotsY() -
finalizeModElementGeneration
public void finalizeModElementGeneration()Description copied from class:GeneratableElementThis method should take care of generating additional mod element resources for cases such as GUI mod element- Overrides:
finalizeModElementGenerationin classGeneratableElement
-
getComponents
- Specified by:
getComponentsin interfaceIGUI
-