@Environment(value=CLIENT) public class EditGameRulesScreen.BooleanRuleWidget extends EditGameRulesScreen.class_5400
| Modifier and Type | Field and Description |
|---|---|
private ButtonWidget |
toggleButton |
field_25630| Constructor and Description |
|---|
BooleanRuleWidget(Text name,
List<StringRenderable> description,
String ruleName,
GameRules.BooleanRule booleanRule) |
| Modifier and Type | Method and Description |
|---|---|
private MutableText |
createBooleanRuleText(Text text,
boolean value) |
void |
render(MatrixStack matrixStack,
int int2,
int int3,
int int4,
int int5,
int int6,
int int7,
int int8,
boolean bool,
float float2) |
children, method_29989getFocused, isDragging, setDragging, setFocusedisMouseOverclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, focusOn, hoveredElement, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusisMouseOver, mouseMovedprivate final ButtonWidget toggleButton
public BooleanRuleWidget(Text name, List<StringRenderable> description, String ruleName, GameRules.BooleanRule booleanRule)
private MutableText createBooleanRuleText(Text text, boolean value)
public void render(MatrixStack matrixStack, int int2, int int3, int int4, int int5, int int6, int int7, int int8, boolean bool, float float2)
render in class EntryListWidget.Entry<EditGameRulesScreen.AbstractRuleWidget>