Class GuiVolumeSlider
java.lang.Object
net.minecraft.client.gui.GuiComponent
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
info.u_team.music_player.gui.controls.GuiVolumeSlider
- All Implemented Interfaces:
info.u_team.u_team_core.api.gui.BackgroundColorProvider,info.u_team.u_team_core.api.gui.PerspectiveRenderable,info.u_team.u_team_core.api.gui.Scalable,info.u_team.u_team_core.api.gui.ScaleProvider,info.u_team.u_team_core.api.gui.TextProvider,info.u_team.u_team_core.api.gui.TextSettingsProvider,info.u_team.u_team_core.api.gui.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
public class GuiVolumeSlider
extends info.u_team.u_team_core.gui.elements.USlider
-
Nested Class Summary
Nested classes/interfaces inherited from class info.u_team.u_team_core.gui.elements.AbstractSliderLogic
info.u_team.u_team_core.gui.elements.AbstractSliderLogic.OnSliderChangeNested classes/interfaces inherited from interface net.minecraft.client.gui.narration.NarratableEntry
net.minecraft.client.gui.narration.NarratableEntry.NarrationPriorityNested classes/interfaces inherited from interface info.u_team.u_team_core.api.gui.TextSettingsProvider
info.u_team.u_team_core.api.gui.TextSettingsProvider.TextRenderType -
Field Summary
Fields inherited from class info.u_team.u_team_core.gui.elements.USlider
disabledTextColor, EMPTY_SLIDER, LIGHT_GRAY, scale, sliderBackgroundColor, sliderBackgroundTextureProvider, sliderColor, sliderTextureProvider, textColor, WHITEFields inherited from class info.u_team.u_team_core.gui.elements.AbstractSliderLogic
decimalPrecision, drawDescription, maxValue, minValue, precision, prefix, slider, suffixFields inherited from class net.minecraft.client.gui.components.AbstractSliderButton
TEXT_MARGIN, TEXTURE_BORDER_X, TEXTURE_BORDER_Y, TEXTURE_HEIGHT, TEXTURE_WIDTH, valueFields inherited from class net.minecraft.client.gui.components.AbstractWidget
ACCESSIBILITY_TEXTURE, active, alpha, height, isHovered, visible, WIDGETS_LOCATION, widthFields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, LIGHT_DIRT_BACKGROUND, STATS_ICON_LOCATIONFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
ConstructorsConstructorDescriptionGuiVolumeSlider(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, info.u_team.u_team_core.gui.elements.AbstractSliderLogic.OnSliderChange slider) -
Method Summary
Methods inherited from class info.u_team.u_team_core.gui.elements.USlider
getCurrentBackgroundColor, getCurrentScale, getCurrentSliderColor, getCurrentText, getCurrentTextColor, getDisabledTextColor, getScale, getSliderBackgroundColor, getSliderColor, getTextColor, renderBackground, renderForeground, renderWidget, renderWidgetTexture, setDisabledTextColor, setScale, setSliderBackgroundColor, setSliderColor, setTextColorMethods inherited from class info.u_team.u_team_core.gui.elements.AbstractSliderLogic
applyValue, getValue, getValueInt, getValueLong, onDrag, setSlider, setSlider, setValue, updateMessage, updateSliderTextMethods inherited from class net.minecraft.client.gui.components.AbstractSliderButton
createNarrationMessage, keyPressed, playDownSound, setFocused, updateWidgetNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractWidget
clicked, createTooltipPositioner, defaultButtonNarrationText, getHeight, getMessage, getRectangle, getTabOrderGroup, getWidth, getX, getY, isActive, isFocused, isHovered, isHoveredOrFocused, isMouseOver, isValidClickButton, mouseClicked, mouseDragged, mouseReleased, narrationPriority, nextFocusPath, render, renderScrollingString, renderScrollingString, renderTexture, setAlpha, setMessage, setTabOrderGroup, setTooltip, setTooltipDelay, setWidth, setX, setY, updateNarration, visitWidgets, wrapDefaultNarrationMessageMethods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blit, blitNineSliced, blitNineSliced, blitNineSliced, blitOutlineBlack, blitRepeating, disableScissor, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, enableScissor, fill, fill, fillGradient, fillGradient, fillGradient, hLine, renderOutline, vLineMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
charTyped, getCurrentFocusPath, keyReleased, mouseMoved, mouseScrolledMethods inherited from interface net.minecraft.client.gui.layouts.LayoutElement
setPositionMethods inherited from interface info.u_team.u_team_core.api.gui.PerspectiveRenderable
renderMethods inherited from interface info.u_team.u_team_core.api.gui.TextSettingsProvider
getCurrentTextFont, getCurrentTextRenderType
-
Constructor Details
-
GuiVolumeSlider
public GuiVolumeSlider(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, info.u_team.u_team_core.gui.elements.AbstractSliderLogic.OnSliderChange slider)
-
-
Method Details
-
onClick
public void onClick(double mouseX, double mouseY) - Overrides:
onClickin classnet.minecraft.client.gui.components.AbstractSliderButton
-
onRelease
public void onRelease(double mouseX, double mouseY) - Overrides:
onReleasein classnet.minecraft.client.gui.components.AbstractSliderButton
-