public static class FilteringRuleOptionsScreen.BooleanRuleEntry extends FilteringRuleOptionsScreen.RuleEntry
| Constructor and Description |
|---|
BooleanRuleEntry(int width,
boolean b,
FilteringRule<?> rule,
java.util.function.Function<java.lang.Boolean,net.minecraft.util.text.ITextComponent> textFunction) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<? extends net.minecraft.client.gui.IGuiEventListener> |
children() |
boolean |
getBoolean() |
int |
getItemHeight() |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrices,
int index,
int y,
int x,
int entryWidth,
int entryHeight,
int mouseX,
int mouseY,
boolean isHovered,
float delta) |
getRulegetFocused, isDragging, setDragging, setFocusedgetMorePossibleHeight, getParent, isMouseOver, setParentblit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic BooleanRuleEntry(int width,
boolean b,
FilteringRule<?> rule,
java.util.function.Function<java.lang.Boolean,net.minecraft.util.text.ITextComponent> textFunction)
public boolean getBoolean()
public void render(com.mojang.blaze3d.matrix.MatrixStack matrices,
int index,
int y,
int x,
int entryWidth,
int entryHeight,
int mouseX,
int mouseY,
boolean isHovered,
float delta)
render in class me.shedaniel.clothconfig2.forge.gui.widget.DynamicEntryListWidget.Entry<FilteringRuleOptionsScreen.RuleEntry>public int getItemHeight()
getItemHeight in class me.shedaniel.clothconfig2.forge.gui.widget.DynamicEntryListWidget.Entry<FilteringRuleOptionsScreen.RuleEntry>public java.util.List<? extends net.minecraft.client.gui.IGuiEventListener> children()