LootContextUser .java

net.minecraft.world.level.storage.loot.LootContextUser (interface, 16 lines): members: getReferencedContextParams, validate. imports: ContextKey.

net.minecraft.world.level.storage.lootinterface16 linescommonextends Validatable367 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

LootContextUser.java16 lines · Minecraft 26.3 · verbatim
1
package net.minecraft.world.level.storage.loot;
2
3
import java.util.Set;
4
import net.minecraft.util.context.ContextKey;
5
6
public interface LootContextUser extends Validatable {
7
	default Set<ContextKey<?>> getReferencedContextParams() {
8
		return Set.of();
9
	}
10
11
	@Override
12
	default void validate(final ValidationContext context) {
13
		context.validateContextUsage(this);
14
	}
15
}
16

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