Interface LecternMenuRegistry.MenuProviderFactory

Enclosing class:
LecternMenuRegistry
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 LecternMenuRegistry.MenuProviderFactory
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable net.minecraft.world.MenuProvider
    create(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.level.block.entity.LecternBlockEntity blockEntity, net.minecraft.world.item.ItemStack stack)
     
  • Method Details

    • create

      @Nullable @Nullable net.minecraft.world.MenuProvider create(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player, net.minecraft.world.level.block.entity.LecternBlockEntity blockEntity, net.minecraft.world.item.ItemStack stack)