Files

68 lines
1.4 KiB
Markdown

# UITrackpadComponent.limit
[← UITrackpadComponent](index.md) · [← Master](../../wiki.md)
Parça 3/3 · [önceki](limit-2.md)
Parameters:
normal - Value change per pixel when no modifiers is held.
weak - Value change per pixel when alt is held.
strong - Value change per pixel when shift is held.
increment
public UITrackpadComponent increment(double increment)
Changes the incremental value of this trackpad fields, i.e. how much being added or subtracted when
user presses < and > buttons on the sides of the trackpad value.
Parameters:
increment - Value change per click on increment buttons.
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