Interface SpellPartCustomizationScreen.Factory<T, S extends net.minecraft.client.gui.screens.Screen & SpellPartCustomizationScreen>

Type Parameters:
T - A Function to get the initial value.
S - A BiConsumer to set the value when the screen is closed.
Enclosing interface:
SpellPartCustomizationScreen
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 static interface SpellPartCustomizationScreen.Factory<T, S extends net.minecraft.client.gui.screens.Screen & SpellPartCustomizationScreen>
  • Method Summary

    Modifier and Type
    Method
    Description
    create(Function<net.minecraft.core.component.DataComponentType<T>, @Nullable T> valueGetter, BiConsumer<net.minecraft.core.component.DataComponentType<T>, @Nullable T> valueSetter)
     
  • Method Details

    • create

      S create(Function<net.minecraft.core.component.DataComponentType<T>, @Nullable T> valueGetter, BiConsumer<net.minecraft.core.component.DataComponentType<T>, @Nullable T> valueSetter)