@@ -0,0 +1,2374 @@
+package info.u_team.u_team_core.gui.elements;%0A%0Aimport com.mojang.blaze3d.matrix.MatrixStack;%0A%0Aimport info.u_team.u_team_core.api.gui.*;%0Aimport info.u_team.u_team_core.util.WidgetUtil;%0Aimport net.minecraft.client.Minecraft;%0Aimport net.minecraft.util.text.ITextComponent;%0A%0Apublic class ScalableSlider extends USlider implements IScaleable, IScaleProvider %7B%0A%09%0A%09protected float scale;%0A%09%0A%09public ScalableSlider(int x, int y, int width, int height, ITextComponent prefix, ITextComponent suffix, double minValue, double maxValue, double value, boolean decimalPrecision, boolean drawDescription, float scale) %7B%0A%09%09this(x, y, width, height, prefix, suffix, minValue, maxValue, value, decimalPrecision, drawDescription, scale, EMTPY_SLIDER);%0A%09%7D%0A%09%0A%09public ScalableSlider(int x, int y, int width, int height, ITextComponent prefix, ITextComponent suffix, double minValue, double maxValue, double value, boolean decimalPrecision, boolean drawDescription, float scale, ISlider slider) %7B%0A%09%09this(x, y, width, height, prefix, suffix, minValue, maxValue, value, decimalPrecision, drawDescription, scale, slider, EMPTY_TOOLTIP);%0A%09%7D%0A%09%0A%09public ScalableSlider(int x, int y, int width, int height, ITextComponent prefix, ITextComponent suffix, double minValue, double maxValue, double value, boolean decimalPrecision, boolean drawDescription, float scale, ITooltip tooltip) %7B%0A%09%09this(x, y, width, height, prefix, suffix, minValue, maxValue, value, decimalPrecision, drawDescription, scale, EMTPY_SLIDER, tooltip);%0A%09%7D%0A%09%0A%09public ScalableSlider(int x, int y, int width, int height, ITextComponent prefix, ITextComponent suffix, double minValue, double maxValue, double value, boolean decimalPrecision, boolean drawDescription, float scale, ISlider slider, ITooltip tooltip) %7B%0A%09%09super(x, y, width, height, prefix, suffix, minValue, maxValue, value, decimalPrecision, drawDescription, slider, tooltip);%0A%09%09this.scale = scale;%0A%09%7D%0A%09%0A%09public float getScale() %7B%0A%09%09return scale;%0A%09%7D%0A%09%0A%09public void setScale(float scale) %7B%0A%09%09this.scale = scale;%0A%09%7D%0A%09%0A%09@Override%0A%09public void renderForeground(MatrixStack matrixStack, Minecraft minecraft, int mouseX, int mouseY, float partialTicks) %7B%0A%09%09WidgetUtil.renderScaledText(this, matrixStack, minecraft, mouseX, mouseY, partialTicks);%0A%09%7D%0A%09%0A%09@Override%0A%09public float getCurrentScale(MatrixStack matrixStack, int mouseX, int mouseY, float partialTicks) %7B%0A%09%09return scale;%0A%09%7D%0A%7D%0A

Implement scalable slider