Package net.minecraft.loot.context
Class LootContextType
java.lang.Object
net.minecraft.loot.context.LootContextType
- Mappings:
Namespace Name named net/minecraft/loot/context/LootContextTypeintermediary net/minecraft/class_176official ete
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Set<LootContextParameter<?>> private final Set<LootContextParameter<?>> -
Constructor Summary
ConstructorsConstructorDescriptionLootContextType(Set<LootContextParameter<?>> required, Set<LootContextParameter<?>> allowed) -
Method Summary
Modifier and TypeMethodDescriptionstatic LootContextType.Buildercreate()booleanisAllowed(LootContextParameter<?> parameter) toString()voidvalidate(LootTableReporter reporter, LootContextAware parameterConsumer)
-
Field Details
-
required
- Mappings:
Namespace Name Mixin selector named requiredLnet/minecraft/loot/context/LootContextType;required:Ljava/util/Set;intermediary field_1216Lnet/minecraft/class_176;field_1216:Ljava/util/Set;official aLete;a:Ljava/util/Set;
-
allowed
- Mappings:
Namespace Name Mixin selector named allowedLnet/minecraft/loot/context/LootContextType;allowed:Ljava/util/Set;intermediary field_1215Lnet/minecraft/class_176;field_1215:Ljava/util/Set;official bLete;b:Ljava/util/Set;
-
-
Constructor Details
-
LootContextType
LootContextType(Set<LootContextParameter<?>> required, Set<LootContextParameter<?>> allowed) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/loot/context/LootContextType;<init>(Ljava/util/Set;Ljava/util/Set;)Vintermediary <init>Lnet/minecraft/class_176;<init>(Ljava/util/Set;Ljava/util/Set;)Vofficial <init>Lete;<init>(Ljava/util/Set;Ljava/util/Set;)V
-
-
Method Details
-
isAllowed
- Mappings:
Namespace Name Mixin selector named isAllowedLnet/minecraft/loot/context/LootContextType;isAllowed(Lnet/minecraft/loot/context/LootContextParameter;)Zintermediary method_35553Lnet/minecraft/class_176;method_35553(Lnet/minecraft/class_169;)Zofficial aLete;a(Letd;)Z
-
getRequired
- Mappings:
Namespace Name Mixin selector named getRequiredLnet/minecraft/loot/context/LootContextType;getRequired()Ljava/util/Set;intermediary method_778Lnet/minecraft/class_176;method_778()Ljava/util/Set;official aLete;a()Ljava/util/Set;
-
getAllowed
- Mappings:
Namespace Name Mixin selector named getAllowedLnet/minecraft/loot/context/LootContextType;getAllowed()Ljava/util/Set;intermediary method_777Lnet/minecraft/class_176;method_777()Ljava/util/Set;official bLete;b()Ljava/util/Set;
-
toString
-
validate
- Mappings:
Namespace Name Mixin selector named validateLnet/minecraft/loot/context/LootContextType;validate(Lnet/minecraft/loot/LootTableReporter;Lnet/minecraft/loot/context/LootContextAware;)Vintermediary method_776Lnet/minecraft/class_176;method_776(Lnet/minecraft/class_58;Lnet/minecraft/class_46;)Vofficial aLete;a(Leqq;Leql;)V
-
create
- Mappings:
Namespace Name Mixin selector named createLnet/minecraft/loot/context/LootContextType;create()Lnet/minecraft/loot/context/LootContextType$Builder;intermediary method_35554Lnet/minecraft/class_176;method_35554()Lnet/minecraft/class_176$class_177;official cLete;c()Lete$a;
-