boop
This commit is contained in:
parent
5981e5ce50
commit
3de1c7130a
13 changed files with 107 additions and 43 deletions
|
@ -4,7 +4,6 @@ import net.minecraft.client.MinecraftClient;
|
|||
import net.minecraft.client.font.TextRenderer;
|
||||
import net.minecraft.client.gui.DrawableHelper;
|
||||
import net.minecraft.client.util.math.MatrixStack;
|
||||
import net.minecraft.text.Text;
|
||||
|
||||
public class Setting
|
||||
{
|
||||
|
@ -17,7 +16,7 @@ public class Setting
|
|||
this.x = x;
|
||||
this.y = y;
|
||||
DrawableHelper.fill(matrices, x, y, x+192, y+24, hovered(mouseX, mouseY) ? 0xFF444444: 0xFF222222);
|
||||
DrawableHelper.drawTextWithShadow(matrices, textRenderer, Text.literal(name), x+2, y+2, 0xFFFFFF);
|
||||
|
||||
}
|
||||
|
||||
public void mouseClicked(double mouseX, double mouseY, int button) { }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue