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
- Mappings:
Namespace Name official dgm$aintermediary net/minecraft/class_176$class_177named net/minecraft/loot/context/LootContextType$Builder
-
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
- Mappings:
Namespace Name Mixin selector official aLdgm$a;a:Ljava/util/Set;intermediary field_1218Lnet/minecraft/class_176$class_177;field_1218:Ljava/util/Set;named requiredLnet/minecraft/loot/context/LootContextType$Builder;required:Ljava/util/Set;
-
allowed
- Mappings:
Namespace Name Mixin selector official bLdgm$a;b:Ljava/util/Set;intermediary field_1217Lnet/minecraft/class_176$class_177;field_1217:Ljava/util/Set;named allowedLnet/minecraft/loot/context/LootContextType$Builder;allowed:Ljava/util/Set;
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
require
- Mappings:
Namespace Name Mixin selector official aLdgm$a;a(Ldgl;)Ldgm$a;intermediary method_781Lnet/minecraft/class_176$class_177;method_781(Lnet/minecraft/class_169;)Lnet/minecraft/class_176$class_177;named requireLnet/minecraft/loot/context/LootContextType$Builder;require(Lnet/minecraft/loot/context/LootContextParameter;)Lnet/minecraft/loot/context/LootContextType$Builder;
-
allow
- Mappings:
Namespace Name Mixin selector official bLdgm$a;b(Ldgl;)Ldgm$a;intermediary method_780Lnet/minecraft/class_176$class_177;method_780(Lnet/minecraft/class_169;)Lnet/minecraft/class_176$class_177;named allowLnet/minecraft/loot/context/LootContextType$Builder;allow(Lnet/minecraft/loot/context/LootContextParameter;)Lnet/minecraft/loot/context/LootContextType$Builder;
-
build
- Mappings:
Namespace Name Mixin selector official aLdgm$a;a()Ldgm;intermediary method_782Lnet/minecraft/class_176$class_177;method_782()Lnet/minecraft/class_176;named buildLnet/minecraft/loot/context/LootContextType$Builder;build()Lnet/minecraft/loot/context/LootContextType;
-