Package net.mcreator.element.parts.gui
Class OutputSlot
java.lang.Object
net.mcreator.element.parts.gui.GUIComponent
net.mcreator.element.parts.gui.Slot
net.mcreator.element.parts.gui.OutputSlot
- All Implemented Interfaces:
Comparable<GUIComponent>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.mcreator.element.parts.gui.GUIComponent
GUIComponent.AnchorPoint, GUIComponent.GSONAdapter, GUIComponent.Unknown
-
Field Summary
Fields inherited from class net.mcreator.element.parts.gui.Slot
color, disablePickup, dropItemsWhenNotBound, id, onSlotChanged, onStackTransfer, onTakenFromSlot
Fields inherited from class net.mcreator.element.parts.gui.GUIComponent
anchorPoint, locked, uuid, x, y
-
Constructor Summary
ConstructorDescriptionOutputSlot
(int id, int x, int y, Color color, LogicProcedure disablePickup, boolean dropItemsWhenNotBound, Procedure onSlotChanged, Procedure onTakenFromSlot, Procedure onStackTransfer) -
Method Summary
Methods inherited from class net.mcreator.element.parts.gui.Slot
getHeight, getWeight, getWidth, paintComponent
Methods inherited from class net.mcreator.element.parts.gui.GUIComponent
compareTo, equals, getAnchorPoint, getX, getY, gx, gy, hashCode, isSizeKnown, toString
-
Constructor Details
-
OutputSlot
public OutputSlot(int id, int x, int y, Color color, LogicProcedure disablePickup, boolean dropItemsWhenNotBound, Procedure onSlotChanged, Procedure onTakenFromSlot, Procedure onStackTransfer)
-
-
Method Details
-
getName
Description copied from class:GUIComponent
Returns the name of the component. Name should be Java and registry name compatible.The name should be unique for the components that need it.
- Specified by:
getName
in classGUIComponent
- Returns:
- Component name
-