Class GuiConfig<T extends net.minecraft.world.inventory.AbstractContainerMenu>

java.lang.Object
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<GuiConfig<T>,net.minecraft.world.inventory.MenuType<T>,ModBase<?>>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfig<GuiConfig<T>,net.minecraft.world.inventory.MenuType<T>>
org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigForge<GuiConfig<T>,net.minecraft.world.inventory.MenuType<T>>
org.cyclops.cyclopscore.config.extendedconfig.GuiConfig<T>
All Implemented Interfaces:
Comparable<org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<GuiConfig<T>,net.minecraft.world.inventory.MenuType<T>,ModBase<?>>>
Direct Known Subclasses:
ContainerInfoBookTestConfig

@Deprecated public abstract class GuiConfig<T extends net.minecraft.world.inventory.AbstractContainerMenu> extends ExtendedConfigForge<GuiConfig<T>,net.minecraft.world.inventory.MenuType<T>>
Deprecated.
Config for client-side guis and server-side containers.
See Also:
  • ExtendedConfigCommon
  • Constructor Details

    • GuiConfig

      public GuiConfig(ModBase<?> mod, String namedId, Function<GuiConfig<T>,? extends net.minecraft.world.inventory.MenuType<T>> elementConstructor)
      Deprecated.
      Create a new config
      Parameters:
      mod - The mod instance.
      namedId - A unique name id
      elementConstructor - The element constructor.
  • Method Details

    • getTranslationKey

      public String getTranslationKey()
      Deprecated.
      Specified by:
      getTranslationKey in class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<GuiConfig<T extends net.minecraft.world.inventory.AbstractContainerMenu>,net.minecraft.world.inventory.MenuType<T extends net.minecraft.world.inventory.AbstractContainerMenu>,ModBase<?>>
    • getFullTranslationKey

      public String getFullTranslationKey()
      Deprecated.
      Overrides:
      getFullTranslationKey in class org.cyclops.cyclopscore.config.extendedconfig.ExtendedConfigCommon<GuiConfig<T extends net.minecraft.world.inventory.AbstractContainerMenu>,net.minecraft.world.inventory.MenuType<T extends net.minecraft.world.inventory.AbstractContainerMenu>,ModBase<?>>
    • getConfigurableType

      public ConfigurableType getConfigurableType()
      Deprecated.
      Specified by:
      getConfigurableType in class ExtendedConfig<GuiConfig<T extends net.minecraft.world.inventory.AbstractContainerMenu>,net.minecraft.world.inventory.MenuType<T extends net.minecraft.world.inventory.AbstractContainerMenu>>
    • getRegistry

      public net.minecraft.core.Registry<? super net.minecraft.world.inventory.MenuType<T>> getRegistry()
      Deprecated.
      Specified by:
      getRegistry in class ExtendedConfigForge<GuiConfig<T extends net.minecraft.world.inventory.AbstractContainerMenu>,net.minecraft.world.inventory.MenuType<T extends net.minecraft.world.inventory.AbstractContainerMenu>>
      Returns:
      The registry in which this should be registered.
    • getScreenFactory

      public abstract <U extends net.minecraft.client.gui.screens.Screen & net.minecraft.client.gui.screens.inventory.MenuAccess<T>> net.minecraft.client.gui.screens.MenuScreens.ScreenConstructor<T,U> getScreenFactory()
      Deprecated.
    • onRegisterMenuScreens

      public void onRegisterMenuScreens(net.neoforged.neoforge.client.event.RegisterMenuScreensEvent event)
      Deprecated.