Interface ScreenRegister

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 ScreenRegister
Author: MrCrayfish
  • Method Summary

    Modifier and Type
    Method
    Description
    <T extends net.minecraft.world.inventory.AbstractContainerMenu, U extends net.minecraft.client.gui.screens.Screen & net.minecraft.client.gui.screens.inventory.MenuAccess<T>>
    void
    apply(net.minecraft.world.inventory.MenuType<T> type, org.apache.commons.lang3.function.TriFunction<T,net.minecraft.world.entity.player.Inventory,net.minecraft.network.chat.Component,U> factory)
     
  • Method Details

    • apply

      <T extends net.minecraft.world.inventory.AbstractContainerMenu, U extends net.minecraft.client.gui.screens.Screen & net.minecraft.client.gui.screens.inventory.MenuAccess<T>> void apply(net.minecraft.world.inventory.MenuType<T> type, org.apache.commons.lang3.function.TriFunction<T,net.minecraft.world.entity.player.Inventory,net.minecraft.network.chat.Component,U> factory)