net.minecraft.loot.entry

public class DynamicEntry

extends LeafEntry

All mapped superinterfaces:

EntryCombiner, LootTableReportable

net.minecraft.world.level.storage.loot.entries.DynamicLoot
net.minecraft.world.level.storage.loot.entries.DynamicLoot
net.minecraft.class_67
net.minecraft.loot.entry.DynamicEntry

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<DynamicEntry>
MAP_CODEC
MAP_CODEC
field_45798
CODEC
private final Identifier
name
name
field_980
name

Constructor summary

ModifierConstructor
private (Identifier name, int weight, int quality, List<LootCondition> conditions, List<LootFunction> functions)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<DynamicEntry>
codec()
codec()
method_1_748()
getMapCodec()
public void
createItemStack(Consumer<ItemStack> output, LootContext context)
createItemStack(Consumer<ItemStack> output, LootContext context)
method_433(Consumer<class_1799> arg0, class_47 arg1)
generateLoot(Consumer<ItemStack> arg0, LootContext arg1)
public static LeafEntry$Builder<?>
dynamicEntry(Identifier name)
dynamicEntry(Identifier name)
method_390(class_2960 arg0)
builder(Identifier name)