public class ActionWidgetDropdown extends ActionWidgetVariable<WidgetComboBox>
widget| Constructor and Description |
|---|
ActionWidgetDropdown() |
ActionWidgetDropdown(WidgetComboBox widget) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDropDownElements() |
net.minecraft.client.gui.screen.Screen |
getGui(GuiRemoteEditor guiRemote) |
java.lang.String |
getId() |
boolean |
getSorted() |
WidgetComboBox |
getWidget() |
int |
getWidth() |
void |
onActionPerformed() |
void |
onKeyTyped() |
void |
onVariableChange() |
void |
readFromNBT(net.minecraft.nbt.CompoundNBT tag,
int guiLeft,
int guiTop) |
void |
setDropDownElements(java.lang.String dropDownElements) |
void |
setSorted(boolean sorted) |
void |
setWidgetPos(int x,
int y) |
void |
setWidth(int width) |
net.minecraft.nbt.CompoundNBT |
toNBT(int guiLeft,
int guiTop) |
getVariableName, setVariableNamecopy, getEnableVariable, getEnablingValue, isEnabled, setEnableVariable, setEnablingValuepublic ActionWidgetDropdown()
public ActionWidgetDropdown(WidgetComboBox widget)
public void readFromNBT(net.minecraft.nbt.CompoundNBT tag,
int guiLeft,
int guiTop)
readFromNBT in class ActionWidgetVariable<WidgetComboBox>public net.minecraft.nbt.CompoundNBT toNBT(int guiLeft,
int guiTop)
toNBT in class ActionWidgetVariable<WidgetComboBox>public java.lang.String getId()
getId in class ActionWidget<WidgetComboBox>public void onKeyTyped()
onKeyTyped in class ActionWidgetVariable<WidgetComboBox>public void onVariableChange()
onVariableChange in class ActionWidgetVariable<WidgetComboBox>public void setWidgetPos(int x,
int y)
setWidgetPos in class ActionWidget<WidgetComboBox>public WidgetComboBox getWidget()
getWidget in class ActionWidget<WidgetComboBox>public void onActionPerformed()
onActionPerformed in class ActionWidgetVariable<WidgetComboBox>public void setDropDownElements(java.lang.String dropDownElements)
public java.lang.String getDropDownElements()
public boolean getSorted()
public void setSorted(boolean sorted)
public void setWidth(int width)
public int getWidth()
public net.minecraft.client.gui.screen.Screen getGui(GuiRemoteEditor guiRemote)
getGui in class ActionWidgetVariable<WidgetComboBox>