net.minecraft.loot.context

public class LootWorldContext

net.minecraft.world.level.storage.loot.LootParams
net.minecraft.class_8567
net.minecraft.loot.context.LootWorldContext

Field summary

Modifier and TypeField
private final ServerWorld
level
field_44883
world
private final ContextParameterMap
params
field_44884
parameters
private final Map<Identifier, LootWorldContext$DynamicDrop>
dynamicDrops
field_44885
dynamicDrops
private final float
luck
field_44886
luck

Constructor summary

ModifierConstructor
public (ServerWorld world, ContextParameterMap parameters, Map<Identifier, LootWorldContext$DynamicDrop> dynamicDrops, float luck)

Method summary

Modifier and TypeMethod
public ServerWorld
getLevel()
method_51863()
getWorld()
public ContextParameterMap
contextMap()
method_65014()
getParameters()
public void
addDynamicDrops(Identifier location, Consumer<ItemStack> output)
method_51864(class_2960 arg0, Consumer<class_1799> arg1)
addDynamicDrops(Identifier id, Consumer<ItemStack> lootConsumer)
public float
getLuck()
method_51866()
getLuck()