WorldlyContainer .java

net.minecraft.world.WorldlyContainer (interface, 14 lines): members: canPlaceItemThroughFace, canTakeItemThroughFace, getSlotsForFace. imports: Direction.

net.minecraft.worldinterface14 linescommonextends Container437 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

WorldlyContainer.java14 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.world;
2
3
import net.minecraft.core.Direction;
4
import net.minecraft.world.item.ItemStack;
5
import org.jspecify.annotations.Nullable;
6
7
public interface WorldlyContainer extends Container {
8
	int[] getSlotsForFace(Direction direction);
9
10
	boolean canPlaceItemThroughFace(int slot, ItemStack itemStack, @Nullable Direction direction);
11
12
	boolean canTakeItemThroughFace(int slot, ItemStack itemStack, Direction direction);
13
}
14

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