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$a
intermediary net/minecraft/class_176$class_177
named net/minecraft/loot/context/LootContextType$Builder
-
Field Summary
Fields Modifier and Type Field Description private Set<LootContextParameter<?>>
allowed
private Set<LootContextParameter<?>>
required
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description LootContextType.Builder
allow(LootContextParameter<?> parameter)
LootContextType
build()
LootContextType.Builder
require(LootContextParameter<?> parameter)
-
Field Details
-
required
- Mappings:
Namespace Name Mixin selector official a
Ldgm$a;a:Ljava/util/Set;
intermediary field_1218
Lnet/minecraft/class_176$class_177;field_1218:Ljava/util/Set;
named required
Lnet/minecraft/loot/context/LootContextType$Builder;required:Ljava/util/Set;
-
allowed
- Mappings:
Namespace Name Mixin selector official b
Ldgm$a;b:Ljava/util/Set;
intermediary field_1217
Lnet/minecraft/class_176$class_177;field_1217:Ljava/util/Set;
named allowed
Lnet/minecraft/loot/context/LootContextType$Builder;allowed:Ljava/util/Set;
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
require
- Mappings:
Namespace Name Mixin selector official a
Ldgm$a;a(Ldgl;)Ldgm$a;
intermediary method_781
Lnet/minecraft/class_176$class_177;method_781(Lnet/minecraft/class_169;)Lnet/minecraft/class_176$class_177;
named require
Lnet/minecraft/loot/context/LootContextType$Builder;require(Lnet/minecraft/loot/context/LootContextParameter;)Lnet/minecraft/loot/context/LootContextType$Builder;
-
allow
- Mappings:
Namespace Name Mixin selector official b
Ldgm$a;b(Ldgl;)Ldgm$a;
intermediary method_780
Lnet/minecraft/class_176$class_177;method_780(Lnet/minecraft/class_169;)Lnet/minecraft/class_176$class_177;
named allow
Lnet/minecraft/loot/context/LootContextType$Builder;allow(Lnet/minecraft/loot/context/LootContextParameter;)Lnet/minecraft/loot/context/LootContextType$Builder;
-
build
- Mappings:
Namespace Name Mixin selector official a
Ldgm$a;a()Ldgm;
intermediary method_782
Lnet/minecraft/class_176$class_177;method_782()Lnet/minecraft/class_176;
named build
Lnet/minecraft/loot/context/LootContextType$Builder;build()Lnet/minecraft/loot/context/LootContextType;
-