61 lines
1.1 KiB
Markdown
61 lines
1.1 KiB
Markdown
# UIStackComponent.UIStackComponent
|
|
|
|
[← UIStackComponent](index.md) · [← Master](../../wiki.md)
|
|
|
|
Parça 2/2 · [önceki](UIStackComponent.md)
|
|
|
|
c.getSubject().openUI(ui);
|
|
}
|
|
|
|
|
|
stack
|
|
|
|
public UIStackComponent stack(ItemStack stack)
|
|
|
|
Set item stack component's item. See the example in stack(IScriptItemStack).
|
|
|
|
getDefaultUpdateDelay
|
|
|
|
protected int getDefaultUpdateDelay()
|
|
|
|
Overrides:
|
|
getDefaultUpdateDelay in class UIComponent
|
|
|
|
applyProperty
|
|
|
|
protected void applyProperty(UIContext context,
|
|
java.lang.String key,
|
|
GuiElement element)
|
|
|
|
Overrides:
|
|
applyProperty in class UIComponent
|
|
|
|
create
|
|
|
|
public GuiElement create(Minecraft mc,
|
|
UIContext context)
|
|
|
|
Specified by:
|
|
create in class UIComponent
|
|
|
|
populateData
|
|
|
|
public void populateData(NBTTagCompound tag)
|
|
|
|
Overrides:
|
|
populateData in class UIComponent
|
|
|
|
serializeNBT
|
|
|
|
public void serializeNBT(NBTTagCompound tag)
|
|
|
|
Overrides:
|
|
serializeNBT in class UIComponent
|
|
|
|
deserializeNBT
|
|
|
|
public void deserializeNBT(NBTTagCompound tag)
|
|
|
|
Overrides:
|
|
deserializeNBT in class UIComponent
|