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 class
LootContextType.Builder
-
Field Summary
Fields Modifier and Type Field Description private Set<LootContextParameter<?>>
allowed
private Set<LootContextParameter<?>>
required
-
Constructor Summary
Constructors Modifier Constructor Description private
LootContextType(Set<LootContextParameter<?>> required, Set<LootContextParameter<?>> allowed)
-
Method Summary
Modifier and Type Method Description Set<LootContextParameter<?>>
getAllowed()
Set<LootContextParameter<?>>
getRequired()
String
toString()
void
validate(LootTableReporter reporter, LootContextAware parameterConsumer)
-
Field Details
-
required
-
allowed
-
-
Constructor Details
-
LootContextType
private LootContextType(Set<LootContextParameter<?>> required, Set<LootContextParameter<?>> allowed)
-
-
Method Details