Klasse USlider

java.lang.Object
net.minecraft.client.gui.components.AbstractWidget
net.minecraft.client.gui.components.AbstractSliderButton
info.u_team.u_team_core.gui.elements.AbstractSliderLogic
info.u_team.u_team_core.gui.elements.USlider
Alle implementierten Schnittstellen:
BackgroundColorProvider, PerspectiveRenderable, Scalable, ScaleProvider, TextProvider, TextSettingsProvider, WidgetRenderable, net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.Renderable, net.minecraft.client.gui.components.TabOrderedElement, net.minecraft.client.gui.layouts.LayoutElement, net.minecraft.client.gui.narration.NarratableEntry, net.minecraft.client.gui.narration.NarrationSupplier

  • Felddetails

    • EMPTY_SLIDER

      protected static final AbstractSliderLogic.OnSliderChange EMPTY_SLIDER
    • WHITE

      protected static final RGBA WHITE
    • LIGHT_GRAY

      protected static final RGBA LIGHT_GRAY
    • sliderBackgroundTextureProvider

      protected TextureProvider sliderBackgroundTextureProvider
    • sliderBackgroundColor

      protected RGBA sliderBackgroundColor
    • sliderTextureProvider

      protected TextureProvider sliderTextureProvider
    • sliderColor

      protected RGBA sliderColor
    • textColor

      protected RGBA textColor
    • disabledTextColor

      protected RGBA disabledTextColor
    • scale

      protected float scale
  • Konstruktordetails

    • USlider

      public USlider(int x, int y, int width, int height, net.minecraft.network.chat.Component prefix, net.minecraft.network.chat.Component suffix, double minValue, double maxValue, double value, boolean decimalPrecision, boolean drawDescription)
    • USlider

      public USlider(int x, int y, int width, int height, net.minecraft.network.chat.Component prefix, net.minecraft.network.chat.Component suffix, double minValue, double maxValue, double value, boolean decimalPrecision, boolean drawDescription, AbstractSliderLogic.OnSliderChange slider)
  • Methodendetails

    • getSliderBackgroundColor

      public RGBA getSliderBackgroundColor()
    • setSliderBackgroundColor

      public void setSliderBackgroundColor(RGBA sliderBackgroundColor)
    • getSliderColor

      public RGBA getSliderColor()
    • setSliderColor

      public void setSliderColor(RGBA sliderColor)
    • getTextColor

      public RGBA getTextColor()
    • setTextColor

      public void setTextColor(RGBA textColor)
    • getDisabledTextColor

      public RGBA getDisabledTextColor()
    • setDisabledTextColor

      public void setDisabledTextColor(RGBA disabledTextColor)
    • getScale

      public float getScale()
      Angegeben von:
      getScale in Schnittstelle Scalable
    • setScale

      public void setScale(float scale)
      Angegeben von:
      setScale in Schnittstelle Scalable
    • renderWidget

      public void renderWidget(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
      Setzt außer Kraft:
      renderWidget in Klasse net.minecraft.client.gui.components.AbstractSliderButton
    • renderWidgetTexture

      public void renderWidgetTexture(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
      Angegeben von:
      renderWidgetTexture in Schnittstelle WidgetRenderable
    • renderBehind

      public void renderBehind(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
      Angegeben von:
      renderBehind in Schnittstelle PerspectiveRenderable
    • renderBefore

      public void renderBefore(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
      Angegeben von:
      renderBefore in Schnittstelle PerspectiveRenderable
    • getCurrentBackgroundColor

      public RGBA getCurrentBackgroundColor(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
      Angegeben von:
      getCurrentBackgroundColor in Schnittstelle BackgroundColorProvider
    • getCurrentSliderColor

      public RGBA getCurrentSliderColor(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
    • getCurrentText

      public net.minecraft.network.chat.Component getCurrentText()
      Angegeben von:
      getCurrentText in Schnittstelle TextProvider
    • getCurrentTextColor

      public RGBA getCurrentTextColor(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
      Angegeben von:
      getCurrentTextColor in Schnittstelle TextSettingsProvider
    • getCurrentScale

      public float getCurrentScale(net.minecraft.client.gui.GuiGraphics guiGraphics, int mouseX, int mouseY, float partialTick)
      Angegeben von:
      getCurrentScale in Schnittstelle ScaleProvider