Class ActionWidgetLabel
java.lang.Object
me.desht.pneumaticcraft.client.gui.remote.actionwidget.ActionWidget<WidgetLabelVariable>
me.desht.pneumaticcraft.client.gui.remote.actionwidget.ActionWidgetLabel
- All Implemented Interfaces:
IActionWidgetLabeled
public class ActionWidgetLabel
extends ActionWidget<WidgetLabelVariable>
implements IActionWidgetLabeled
-
Field Summary
Fields inherited from class me.desht.pneumaticcraft.client.gui.remote.actionwidget.ActionWidget
widget -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.client.gui.screens.ScreengetGui(RemoteEditorScreen guiRemote) getId()net.minecraft.network.chat.ComponentgetText()List<net.minecraft.network.chat.Component>voidreadFromNBT(net.minecraft.nbt.CompoundTag tag, int guiLeft, int guiTop) voidsetText(net.minecraft.network.chat.Component text) voidsetTooltip(List<net.minecraft.network.chat.Component> text) voidsetWidgetPos(int x, int y) net.minecraft.nbt.CompoundTagtoNBT(int guiLeft, int guiTop) Methods inherited from class me.desht.pneumaticcraft.client.gui.remote.actionwidget.ActionWidget
copy, getEnableVariable, getEnablingValue, getWidget, isEnabled, setEnableVariable, setEnablingValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface me.desht.pneumaticcraft.client.gui.remote.actionwidget.IActionWidgetLabeled
deserializeTextComponent
-
Constructor Details
-
ActionWidgetLabel
-
ActionWidgetLabel
public ActionWidgetLabel()
-
-
Method Details
-
toNBT
public net.minecraft.nbt.CompoundTag toNBT(int guiLeft, int guiTop) - Overrides:
toNBTin classActionWidget<WidgetLabelVariable>
-
readFromNBT
public void readFromNBT(net.minecraft.nbt.CompoundTag tag, int guiLeft, int guiTop) - Overrides:
readFromNBTin classActionWidget<WidgetLabelVariable>
-
getId
- Specified by:
getIdin classActionWidget<WidgetLabelVariable>
-
setText
public void setText(net.minecraft.network.chat.Component text) - Specified by:
setTextin interfaceIActionWidgetLabeled
-
getText
public net.minecraft.network.chat.Component getText()- Specified by:
getTextin interfaceIActionWidgetLabeled
-
getGui
- Overrides:
getGuiin classActionWidget<WidgetLabelVariable>
-
setWidgetPos
public void setWidgetPos(int x, int y) - Specified by:
setWidgetPosin classActionWidget<WidgetLabelVariable>
-
setTooltip
- Specified by:
setTooltipin interfaceIActionWidgetLabeled
-
getTooltip
- Specified by:
getTooltipin interfaceIActionWidgetLabeled
-