Class BooleanEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<E>
net.minecraft.client.gui.components.ObjectSelectionList.Entry<ConfigScreenList.Entry>
com.simibubi.create.foundation.config.ui.ConfigScreenList.Entry
com.simibubi.create.foundation.config.ui.ConfigScreenList.LabeledEntry
com.simibubi.create.foundation.config.ui.entries.ValueEntry<Boolean>
com.simibubi.create.foundation.config.ui.entries.BooleanEntry
- All Implemented Interfaces:
TickableGuiEventListener,net.minecraft.client.gui.components.events.GuiEventListener,net.minecraft.client.gui.narration.NarrationSupplier
-
Field Summary
Fields inherited from class com.simibubi.create.foundation.config.ui.entries.ValueEntry
editable, resetButton, resetWidth, spec, valueFields inherited from class com.simibubi.create.foundation.config.ui.ConfigScreenList.LabeledEntry
differenceAnimation, highlightAnimation, label, labelTooltip, labelWidthMult, unitFields inherited from class com.simibubi.create.foundation.config.ui.ConfigScreenList.Entry
annotations, listeners, pathFields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
list -
Constructor Summary
ConstructorsConstructorDescriptionBooleanEntry(String label, net.minecraftforge.common.ForgeConfigSpec.ConfigValue<Boolean> value, net.minecraftforge.common.ForgeConfigSpec.ValueSpec spec) -
Method Summary
Modifier and TypeMethodDescriptionvoidonValueChange(Boolean newValue) voidrender(com.mojang.blaze3d.vertex.PoseStack ms, int index, int y, int x, int width, int height, int mouseX, int mouseY, boolean p_230432_9_, float partialTicks) protected voidsetEditable(boolean b) voidtick()Methods inherited from class com.simibubi.create.foundation.config.ui.entries.ValueEntry
bumpCog, bumpCog, getLabelWidth, getValue, isCurrentValueDefault, onReset, onValueChange, setValueMethods inherited from class com.simibubi.create.foundation.config.ui.ConfigScreenList.LabeledEntry
getLabelTooltip, getNarrationMethods inherited from class com.simibubi.create.foundation.config.ui.ConfigScreenList.Entry
charTyped, getGuiListeners, isCurrentValueChanged, keyPressed, mouseClickedMethods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
changeFocus, updateNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isMouseOverMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
changeFocus, isMouseOver, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled
-
Constructor Details
-
BooleanEntry
-
-
Method Details
-
setEditable
protected void setEditable(boolean b) - Overrides:
setEditablein classValueEntry<Boolean>
-
tick
public void tick()- Specified by:
tickin interfaceTickableGuiEventListener- Overrides:
tickin classValueEntry<Boolean>
-
render
public void render(com.mojang.blaze3d.vertex.PoseStack ms, int index, int y, int x, int width, int height, int mouseX, int mouseY, boolean p_230432_9_, float partialTicks) - Overrides:
renderin classValueEntry<Boolean>
-
onValueChange
- Overrides:
onValueChangein classValueEntry<Boolean>
-