MenuConstructor .java

net.minecraft.world.inventory.MenuConstructor (interface, 11 lines): members: createMenu. ann: @FunctionalInterface. imports: Inventory, Player, Nullable.

net.minecraft.world.inventoryinterface11 linescommon346 B

API Surface (0)

No public/protected methods detected (fields or constants only).

Code Graph: Dependencies (3)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

MenuConstructor.java11 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.world.inventory;
2
3
import net.minecraft.world.entity.player.Inventory;
4
import net.minecraft.world.entity.player.Player;
5
import org.jspecify.annotations.Nullable;
6
7
@FunctionalInterface
8
public interface MenuConstructor {
9
	@Nullable AbstractContainerMenu createMenu(int containerId, Inventory inventory, final Player player);
10
}
11

Decompiled Minecraft 26.3 source of MenuConstructor (net/minecraft/world/inventory/MenuConstructor.java) with Mojang official mappings, stored verbatim on the site.