Package net.minecraft.loot.context
Class LootContextType
java.lang.Object
net.minecraft.loot.context.LootContextType
- Mappings:
Namespace Name official dktintermediary net/minecraft/class_176named net/minecraft/loot/context/LootContextType
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Set<LootContextParameter<?>>private Set<LootContextParameter<?>> -
Constructor Summary
ConstructorsConstructorDescriptionLootContextType(Set<LootContextParameter<?>> set, Set<LootContextParameter<?>> set2) -
Method Summary
Modifier and TypeMethodDescriptionstatic LootContextType.Buildercreate()booleanisAllowed(LootContextParameter<?> parameter)toString()voidvalidate(LootTableReporter reporter, LootContextAware parameterConsumer)
-
Field Details
-
required
- Mappings:
Namespace Name Mixin selector official aLdkt;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 bLdkt;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
LootContextType(Set<LootContextParameter<?>> set, Set<LootContextParameter<?>> set2)
-
-
Method Details
-
isAllowed
- Mappings:
Namespace Name Mixin selector official aLdkt;a(Ldks;)Zintermediary method_35553Lnet/minecraft/class_176;method_35553(Lnet/minecraft/class_169;)Znamed isAllowedLnet/minecraft/loot/context/LootContextType;isAllowed(Lnet/minecraft/loot/context/LootContextParameter;)Z
-
getRequired
- Mappings:
Namespace Name Mixin selector official aLdkt;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 bLdkt;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 aLdkt;a(Ldix;Ldiq;)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
-
create
- Mappings:
Namespace Name Mixin selector official cLdkt;c()Ldkt$a;intermediary method_35554Lnet/minecraft/class_176;method_35554()Lnet/minecraft/class_176$class_177;named createLnet/minecraft/loot/context/LootContextType;create()Lnet/minecraft/loot/context/LootContextType$Builder;
-