stringsetting fully functional
This commit is contained in:
parent
72eb688172
commit
4b1e0b4fa9
4 changed files with 432 additions and 34 deletions
|
@ -19,9 +19,9 @@ public class BooleanSetting extends Setting
|
|||
{
|
||||
super.render(drawContext, x, y, mouseX, mouseY, textRenderer);
|
||||
drawContext.drawTextWithShadow(textRenderer, Text.literal(name), x+2, y+8, 0xFFFFFF);
|
||||
drawContext.fill(x+175, y+7, x+185, y+17, 0xFFFFFFFF);
|
||||
drawContext.fill(x+176, y+8, x+184, y+16, 0xFF222222);
|
||||
drawContext.fill(x+177, y+9, x+183, y+15, value ? 0xFF55FFFF : 0xFF222222);
|
||||
drawContext.fill(x+180, y+7, x+190, y+17, 0xFFFFFFFF);
|
||||
drawContext.fill(x+181, y+8, x+189, y+16, 0xFF222222);
|
||||
drawContext.fill(x+182, y+9, x+188, y+15, value ? 0xFF55FFFF : 0xFF222222);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue