Package net.minecraft.loot.context
Class LootContextType
java.lang.Object
net.minecraft.loot.context.LootContextType
- Mappings:
Namespace Name official dls
intermediary net/minecraft/class_176
named net/minecraft/loot/context/LootContextType
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Set<LootContextParameter<?>>
private final Set<LootContextParameter<?>>
-
Constructor Summary
ConstructorDescriptionLootContextType
(Set<LootContextParameter<?>> required, Set<LootContextParameter<?>> allowed) -
Method Summary
Modifier and TypeMethodDescriptionstatic LootContextType.Builder
create()
boolean
isAllowed
(LootContextParameter<?> parameter) toString()
void
validate
(LootTableReporter reporter, LootContextAware parameterConsumer)
-
Field Details
-
required
- Mappings:
Namespace Name Mixin selector official a
Ldls;a:Ljava/util/Set;
intermediary field_1216
Lnet/minecraft/class_176;field_1216:Ljava/util/Set;
named required
Lnet/minecraft/loot/context/LootContextType;required:Ljava/util/Set;
-
allowed
- Mappings:
Namespace Name Mixin selector official b
Ldls;b:Ljava/util/Set;
intermediary field_1215
Lnet/minecraft/class_176;field_1215:Ljava/util/Set;
named allowed
Lnet/minecraft/loot/context/LootContextType;allowed:Ljava/util/Set;
-
-
Constructor Details
-
LootContextType
LootContextType(Set<LootContextParameter<?>> required, Set<LootContextParameter<?>> allowed) - Mappings:
Namespace Name Mixin selector official <init>
Ldls;<init>(Ljava/util/Set;Ljava/util/Set;)V
intermediary <init>
Lnet/minecraft/class_176;<init>(Ljava/util/Set;Ljava/util/Set;)V
named <init>
Lnet/minecraft/loot/context/LootContextType;<init>(Ljava/util/Set;Ljava/util/Set;)V
-
-
Method Details
-
isAllowed
- Mappings:
Namespace Name Mixin selector official a
Ldls;a(Ldlr;)Z
intermediary method_35553
Lnet/minecraft/class_176;method_35553(Lnet/minecraft/class_169;)Z
named isAllowed
Lnet/minecraft/loot/context/LootContextType;isAllowed(Lnet/minecraft/loot/context/LootContextParameter;)Z
-
getRequired
- Mappings:
Namespace Name Mixin selector official a
Ldls;a()Ljava/util/Set;
intermediary method_778
Lnet/minecraft/class_176;method_778()Ljava/util/Set;
named getRequired
Lnet/minecraft/loot/context/LootContextType;getRequired()Ljava/util/Set;
-
getAllowed
- Mappings:
Namespace Name Mixin selector official b
Ldls;b()Ljava/util/Set;
intermediary method_777
Lnet/minecraft/class_176;method_777()Ljava/util/Set;
named getAllowed
Lnet/minecraft/loot/context/LootContextType;getAllowed()Ljava/util/Set;
-
toString
-
validate
- Mappings:
Namespace Name Mixin selector official a
Ldls;a(Ldjv;Ldjo;)V
intermediary method_776
Lnet/minecraft/class_176;method_776(Lnet/minecraft/class_58;Lnet/minecraft/class_46;)V
named validate
Lnet/minecraft/loot/context/LootContextType;validate(Lnet/minecraft/loot/LootTableReporter;Lnet/minecraft/loot/context/LootContextAware;)V
-
create
- Mappings:
Namespace Name Mixin selector official c
Ldls;c()Ldls$a;
intermediary method_35554
Lnet/minecraft/class_176;method_35554()Lnet/minecraft/class_176$class_177;
named create
Lnet/minecraft/loot/context/LootContextType;create()Lnet/minecraft/loot/context/LootContextType$Builder;
-