Package net.minecraft.loot.context
Class LootContextType.Builder
java.lang.Object
net.minecraft.loot.context.LootContextType.Builder
- Enclosing class:
- LootContextType
public static class LootContextType.Builder extends Object
-
Field Summary
Fields Modifier and Type Field Description private Set<LootContextParameter<?>>allowedprivate Set<LootContextParameter<?>>required -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description LootContextType.Builderallow(LootContextParameter<?> parameter)LootContextTypebuild()LootContextType.Builderrequire(LootContextParameter<?> parameter)
-
Field Details
-
required
-
allowed
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
require
-
allow
-
build
-