Interface IConfigScreenFactory

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface IConfigScreenFactory
Creates a config screen from a parent screen.
Since:
0.1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.client.gui.screens.Screen
    create(@Nullable net.minecraft.client.gui.screens.Screen parent)
    Create the config screen.
  • Method Details

    • create

      net.minecraft.client.gui.screens.Screen create(@Nullable @Nullable net.minecraft.client.gui.screens.Screen parent)
      Create the config screen.
      Parameters:
      parent - the screen that opened this config screen, or null when there is no parent
      Returns:
      the created config screen
      Since:
      0.1.0