Package net.minecraft.loot.context
Class LootContextType
java.lang.Object
net.minecraft.loot.context.LootContextType
public class LootContextType extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLootContextType.Builder -
Field Summary
Fields Modifier and Type Field Description private Set<LootContextParameter<?>>allowedprivate Set<LootContextParameter<?>>required -
Constructor Summary
Constructors Modifier Constructor Description privateLootContextType(Set<LootContextParameter<?>> required, Set<LootContextParameter<?>> allowed) -
Method Summary
Modifier and Type Method Description Set<LootContextParameter<?>>getAllowed()Set<LootContextParameter<?>>getRequired()StringtoString()voidvalidate(LootTableReporter reporter, LootContextAware parameterConsumer)
-
Field Details
-
required
-
allowed
-
-
Constructor Details
-
LootContextType
private LootContextType(Set<LootContextParameter<?>> required, Set<LootContextParameter<?>> allowed)
-
-
Method Details