Package net.minecraft.loot.entry
Class LootPoolEntry
java.lang.Object
net.minecraft.loot.entry.LootPoolEntry
- All Implemented Interfaces:
EntryCombiner
- Direct Known Subclasses:
CombinedEntry
,LeafEntry
- Mappings:
Namespace Name named net/minecraft/loot/entry/LootPoolEntry
intermediary net/minecraft/class_79
official erm
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
LootPoolEntry.Builder<T extends LootPoolEntry.Builder<T>>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Predicate
<LootContext> protected final List
<LootCondition> Fields inherited from interface net.minecraft.loot.entry.EntryCombiner
ALWAYS_FALSE, ALWAYS_TRUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static <T extends LootPoolEntry>
com.mojang.datafixers.Products.P1<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>, List<LootCondition>> addConditionsField
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> instance) abstract LootPoolEntryType
getType()
protected final boolean
test
(LootContext context) void
validate
(LootTableReporter reporter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.loot.entry.EntryCombiner
and, expand, or
-
Field Details
-
conditions
- Mappings:
Namespace Name Mixin selector named conditions
Lnet/minecraft/loot/entry/LootPoolEntry;conditions:Ljava/util/List;
intermediary field_988
Lnet/minecraft/class_79;field_988:Ljava/util/List;
official e
Lerm;e:Ljava/util/List;
-
conditionPredicate
- Mappings:
Namespace Name Mixin selector named conditionPredicate
Lnet/minecraft/loot/entry/LootPoolEntry;conditionPredicate:Ljava/util/function/Predicate;
intermediary field_989
Lnet/minecraft/class_79;field_989:Ljava/util/function/Predicate;
official a
Lerm;a:Ljava/util/function/Predicate;
-
-
Constructor Details
-
LootPoolEntry
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/loot/entry/LootPoolEntry;<init>(Ljava/util/List;)V
intermediary <init>
Lnet/minecraft/class_79;<init>(Ljava/util/List;)V
official <init>
Lerm;<init>(Ljava/util/List;)V
-
-
Method Details
-
addConditionsField
protected static <T extends LootPoolEntry> com.mojang.datafixers.Products.P1<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<T>,List<LootCondition>> addConditionsField(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<T> instance) - Mappings:
Namespace Name Mixin selector named addConditionsField
Lnet/minecraft/loot/entry/LootPoolEntry;addConditionsField(Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P1;
intermediary method_53287
Lnet/minecraft/class_79;method_53287(Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P1;
official a
Lerm;a(Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P1;
-
validate
- Mappings:
Namespace Name Mixin selector named validate
Lnet/minecraft/loot/entry/LootPoolEntry;validate(Lnet/minecraft/loot/LootTableReporter;)V
intermediary method_415
Lnet/minecraft/class_79;method_415(Lnet/minecraft/class_58;)V
official a
Lerm;a(Lerc;)V
-
test
- Mappings:
Namespace Name Mixin selector named test
Lnet/minecraft/loot/entry/LootPoolEntry;test(Lnet/minecraft/loot/context/LootContext;)Z
intermediary method_414
Lnet/minecraft/class_79;method_414(Lnet/minecraft/class_47;)Z
official a
Lerm;a(Leqw;)Z
-
getType
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/loot/entry/LootPoolEntry;getType()Lnet/minecraft/loot/entry/LootPoolEntryType;
intermediary method_29318
Lnet/minecraft/class_79;method_29318()Lnet/minecraft/class_5338;
official a
Lerm;a()Lern;
-