Package net.minecraft
Class class_12287
java.lang.Object
net.minecraft.loot.entry.LootPoolEntry
net.minecraft.loot.entry.LeafEntry
net.minecraft.class_12287
- All Implemented Interfaces:
EntryCombiner
- Mappings:
Namespace Name named net/minecraft/class_12287intermediary net/minecraft/class_12287official fni
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.loot.entry.LeafEntry
LeafEntry.Builder<T extends LeafEntry.Builder<T>>, LeafEntry.Choice, LeafEntry.Factory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<class_12287> private final class_12275Fields inherited from class net.minecraft.loot.entry.LeafEntry
DEFAULT_QUALITY, DEFAULT_WEIGHT, functions, quality, weightFields inherited from class net.minecraft.loot.entry.LootPoolEntry
conditionsFields inherited from interface net.minecraft.loot.entry.EntryCombiner
ALWAYS_FALSE, ALWAYS_TRUE -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateclass_12287(class_12275 class_12275, int int2, int int3, List<LootCondition> list, List<LootFunction> list2) -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateLoot(Consumer<ItemStack> lootConsumer, LootContext context) getType()voidvalidate(LootTableReporter reporter) Methods inherited from class net.minecraft.loot.entry.LeafEntry
addLeafFields, builder, expandMethods inherited from class net.minecraft.loot.entry.LootPoolEntry
addConditionsField, testMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.loot.entry.EntryCombiner
and, or
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODECLnet/minecraft/class_12287;CODEC:Lcom/mojang/serialization/MapCodec;intermediary field_64182Lnet/minecraft/class_12287;field_64182:Lcom/mojang/serialization/MapCodec;official aLfni;a:Lcom/mojang/serialization/MapCodec;
-
field_64183
- Mappings:
Namespace Name Mixin selector named field_64183Lnet/minecraft/class_12287;field_64183:Lnet/minecraft/class_12275;intermediary field_64183Lnet/minecraft/class_12287;field_64183:Lnet/minecraft/class_12275;official jLfni;j:Ldtr;
-
-
Constructor Details
-
class_12287
private class_12287(class_12275 class_12275, int int2, int int3, List<LootCondition> list, List<LootFunction> list2)
-
-
Method Details
-
getType
- Specified by:
getTypein classLootPoolEntry- Mappings:
Namespace Name Mixin selector named getTypeLnet/minecraft/loot/entry/LootPoolEntry;getType()Lnet/minecraft/loot/entry/LootPoolEntryType;intermediary method_29318Lnet/minecraft/class_79;method_29318()Lnet/minecraft/class_5338;official aLfnd;a()Lfne;
-
generateLoot
- Specified by:
generateLootin classLeafEntry- Mappings:
Namespace Name Mixin selector named generateLootLnet/minecraft/loot/entry/LeafEntry;generateLoot(Ljava/util/function/Consumer;Lnet/minecraft/loot/context/LootContext;)Vintermediary method_433Lnet/minecraft/class_85;method_433(Ljava/util/function/Consumer;Lnet/minecraft/class_47;)Vofficial aLfnf;a(Ljava/util/function/Consumer;Lfmm;)V
-
validate
-