net.minecraft.loot.entry

public abstract class SimpleLeafEntry

extends LeafEntry

All mapped superinterfaces:

EntryCombiner, LootTableReportable

net.minecraft.world.level.storage.loot.entries.SingleEntryContainerBase
net.minecraft.class_1_1370
net.minecraft.loot.entry.SimpleLeafEntry

Field summary

Modifier and TypeField
private final LootChoice
entry
field_1_9298
choice

Constructor summary

ModifierConstructor
protected (int weight, int quality, Optional<RegistryEntry<LootCondition>> condition, Optional<RegistryEntry<LootFunction>> modifier)

Method summary

Modifier and TypeMethod
public abstract com.mojang.serialization.MapCodec<? extends SimpleLeafEntry>
codec()
method_1_748()
getMapCodec()
protected abstract void
createItemStack(Consumer<ItemStack> output, LootContext context)
method_433(Consumer<class_1799> arg0, class_47 arg1)
generateLoot(Consumer<ItemStack> lootConsumer, LootContext context)
public final boolean
expandRaw(LootContext context, Consumer<LootPoolEntry> output)
method_1_8962(class_47 arg0, Consumer<class_82> arg1)
expandInternal(LootContext arg0, Consumer<LootChoice> arg1)