SlotSource .java

net.minecraft.world.item.slot.SlotSource (interface, 12 lines): members: provide, codec. imports: LootContextUser, LootContext, MapCodec.

net.minecraft.world.item.slotinterface12 linescommonextends LootContextUser349 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

SlotSource.java12 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.world.item.slot;
2
3
import com.mojang.serialization.MapCodec;
4
import net.minecraft.world.level.storage.loot.LootContext;
5
import net.minecraft.world.level.storage.loot.LootContextUser;
6
7
public interface SlotSource extends LootContextUser {
8
	MapCodec<? extends SlotSource> codec();
9
10
	SlotCollection provide(LootContext context);
11
}
12

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