Package net.minecraft.loot.context
Class LootContextType
java.lang.Object
net.minecraft.loot.context.LootContextType
public class LootContextType extends Object
- Mappings:
Namespace Name official dgmintermediary net/minecraft/class_176named net/minecraft/loot/context/LootContextType
-
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
- Mappings:
Namespace Name Mixin selector official aLdgm;a:Ljava/util/Set;intermediary field_1216Lnet/minecraft/class_176;field_1216:Ljava/util/Set;named requiredLnet/minecraft/loot/context/LootContextType;required:Ljava/util/Set;
-
allowed
- Mappings:
Namespace Name Mixin selector official bLdgm;b:Ljava/util/Set;intermediary field_1215Lnet/minecraft/class_176;field_1215:Ljava/util/Set;named allowedLnet/minecraft/loot/context/LootContextType;allowed:Ljava/util/Set;
-
-
Constructor Details
-
LootContextType
private LootContextType(Set<LootContextParameter<?>> required, Set<LootContextParameter<?>> allowed)- Mappings:
Namespace Name Mixin selector official <init>Ldgm;<init>(Ljava/util/Set;Ljava/util/Set;)Vintermediary <init>Lnet/minecraft/class_176;<init>(Ljava/util/Set;Ljava/util/Set;)Vnamed <init>Lnet/minecraft/loot/context/LootContextType;<init>(Ljava/util/Set;Ljava/util/Set;)V
-
-
Method Details
-
getRequired
- Mappings:
Namespace Name Mixin selector official aLdgm;a()Ljava/util/Set;intermediary method_778Lnet/minecraft/class_176;method_778()Ljava/util/Set;named getRequiredLnet/minecraft/loot/context/LootContextType;getRequired()Ljava/util/Set;
-
getAllowed
- Mappings:
Namespace Name Mixin selector official bLdgm;b()Ljava/util/Set;intermediary method_777Lnet/minecraft/class_176;method_777()Ljava/util/Set;named getAllowedLnet/minecraft/loot/context/LootContextType;getAllowed()Ljava/util/Set;
-
toString
-
validate
- Mappings:
Namespace Name Mixin selector official aLdgm;a(Ldeq;Ldej;)Vintermediary method_776Lnet/minecraft/class_176;method_776(Lnet/minecraft/class_58;Lnet/minecraft/class_46;)Vnamed validateLnet/minecraft/loot/context/LootContextType;validate(Lnet/minecraft/loot/LootTableReporter;Lnet/minecraft/loot/context/LootContextAware;)V
-