@ApiStatus.Internal public class FilteringEntry extends me.shedaniel.clothconfig2.forge.api.AbstractConfigListEntry<java.util.List<EntryStack>>
| Constructor and Description |
|---|
FilteringEntry(int width,
java.util.List<EntryStack> configFiltered,
java.util.List<FilteringRule<?>> rules,
java.util.List<EntryStack> defaultValue,
java.util.function.Consumer<java.util.List<EntryStack>> saveConsumer,
java.util.function.Consumer<java.util.List<FilteringRule<?>>> rulesSaveConsumer) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<? extends net.minecraft.client.gui.IGuiEventListener> |
children() |
java.util.Optional<java.util.List<EntryStack>> |
getDefaultValue() |
java.util.List<EntryStack> |
getValue() |
boolean |
isEdited() |
void |
render(com.mojang.blaze3d.matrix.MatrixStack matrices,
int index,
int y,
int x,
int entryWidth,
int entryHeight,
int mouseX,
int mouseY,
boolean isSelected,
float delta) |
void |
save() |
getFieldName, getPreferredTextColor, isEditable, isRequiresRestart, setEditable, setRequiresRestartaddTooltip, getConfigError, getConfigScreen, getDisplayedFieldName, getError, getInitialReferenceOffset, getItemHeight, getReferencableEntries, getReferenceProviderEntries, getScreen, lateRender, provideReferenceEntry, requestReferenceRebuilding, setErrorSupplier, setReferencableEntries, setReferenceProviderEntries, setScreen, updateSelectedgetFocused, 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 FilteringEntry(int width,
java.util.List<EntryStack> configFiltered,
java.util.List<FilteringRule<?>> rules,
java.util.List<EntryStack> defaultValue,
java.util.function.Consumer<java.util.List<EntryStack>> saveConsumer,
java.util.function.Consumer<java.util.List<FilteringRule<?>>> rulesSaveConsumer)
public java.util.List<EntryStack> getValue()
getValue in class me.shedaniel.clothconfig2.forge.api.AbstractConfigEntry<java.util.List<EntryStack>>public java.util.Optional<java.util.List<EntryStack>> getDefaultValue()
getDefaultValue in class me.shedaniel.clothconfig2.forge.api.AbstractConfigEntry<java.util.List<EntryStack>>public void save()
save in class me.shedaniel.clothconfig2.forge.api.AbstractConfigEntry<java.util.List<EntryStack>>public void render(com.mojang.blaze3d.matrix.MatrixStack matrices,
int index,
int y,
int x,
int entryWidth,
int entryHeight,
int mouseX,
int mouseY,
boolean isSelected,
float delta)
render in class me.shedaniel.clothconfig2.forge.gui.widget.DynamicEntryListWidget.Entry<me.shedaniel.clothconfig2.forge.api.AbstractConfigEntry<java.util.List<EntryStack>>>public java.util.List<? extends net.minecraft.client.gui.IGuiEventListener> children()
public boolean isEdited()
isEdited in class me.shedaniel.clothconfig2.forge.api.AbstractConfigEntry<java.util.List<EntryStack>>