Class EnchantableListEntry

java.lang.Object
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<johnsmith.configoverhauled.api.client.gui.entry.AbstractConfigEntry>
johnsmith.configoverhauled.api.client.gui.entry.AbstractConfigEntry
johnsmith.configoverhauled.impl.client.gui.entry.OptionEntry<List<ItemOrItems>, net.minecraft.client.gui.components.Button>
johnsmith.configoverhauled.impl.client.gui.entry.AbstractRegistryEntry<net.minecraft.world.item.Item, List<ItemOrItems>>
johnsmith.enchantmentcore.client.gui.entry.EnchantableListEntry
All Implemented Interfaces:
johnsmith.configoverhauled.api.client.gui.entry.ConfigEntry, net.minecraft.client.gui.components.events.ContainerEventHandler, net.minecraft.client.gui.components.events.GuiEventListener, net.minecraft.client.gui.components.TabOrderedElement, net.minecraft.client.gui.layouts.LayoutElement

public class EnchantableListEntry extends johnsmith.configoverhauled.impl.client.gui.entry.AbstractRegistryEntry<net.minecraft.world.item.Item, List<ItemOrItems>>
  • Field Summary

    Fields inherited from class johnsmith.configoverhauled.impl.client.gui.entry.AbstractRegistryEntry

    iconProvider, nameProvider, registry

    Fields inherited from class johnsmith.configoverhauled.impl.client.gui.entry.OptionEntry

    detailButton, isLocked, labelComponent, minecraft, onValueChanged, parentScreen, property, resetButton, tooltip, widget
  • Constructor Summary

    Constructors
    Constructor
    Description
    EnchantableListEntry(johnsmith.configoverhauled.api.Property<List<ItemOrItems>> property, johnsmith.configoverhauled.api.client.gui.screen.ConfigScreen parentScreen, net.minecraft.client.Minecraft minecraft, Runnable onValueChanged)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected net.minecraft.network.chat.Component
     
    protected void
     
    protected void
     

    Methods inherited from class johnsmith.configoverhauled.impl.client.gui.entry.AbstractRegistryEntry

    applySelection, createWidget, extractContent

    Methods inherited from class johnsmith.configoverhauled.impl.client.gui.entry.OptionEntry

    canReset, children, createDetailButton, determineLockState, getDetailButtonLabel, getDetailButtonTooltip, getMaxLabelWidth, hasDetailPopup, isDefault, isModified, matchesSearch, narratables, openDetailPopup, resetToDefault, setValue, updateResetButton

    Methods inherited from class net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry

    focusPathAtIndex, getFocused, isDragging, mouseClicked, nextFocusPath, setDragging, setFocused

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.client.gui.components.events.ContainerEventHandler

    charTyped, getBorderForArrowNavigation, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, preeditUpdated, setFocused

    Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener

    getRectangle, isMouseOver, mouseMoved, shouldTakeFocusAfterInteraction

    Methods inherited from interface net.minecraft.client.gui.layouts.LayoutElement

    setPosition

    Methods inherited from interface net.minecraft.client.gui.components.TabOrderedElement

    getTabOrderGroup
  • Constructor Details

    • EnchantableListEntry

      public EnchantableListEntry(johnsmith.configoverhauled.api.Property<List<ItemOrItems>> property, johnsmith.configoverhauled.api.client.gui.screen.ConfigScreen parentScreen, net.minecraft.client.Minecraft minecraft, Runnable onValueChanged)
  • Method Details

    • openSelectionScreen

      protected void openSelectionScreen()
      Specified by:
      openSelectionScreen in class johnsmith.configoverhauled.impl.client.gui.entry.AbstractRegistryEntry<net.minecraft.world.item.Item, List<ItemOrItems>>
    • updateWidgetValue

      protected void updateWidgetValue()
      Specified by:
      updateWidgetValue in class johnsmith.configoverhauled.impl.client.gui.entry.OptionEntry<List<ItemOrItems>, net.minecraft.client.gui.components.Button>
    • getDefaultValueTooltip

      protected net.minecraft.network.chat.Component getDefaultValueTooltip()
      Overrides:
      getDefaultValueTooltip in class johnsmith.configoverhauled.impl.client.gui.entry.OptionEntry<List<ItemOrItems>, net.minecraft.client.gui.components.Button>