net.minecraft.world.level.storage.loot

public class LootContext

coy
net.minecraft.world.level.storage.loot.LootContext
net.minecraft.class_47
net.minecraft.loot.context.LootContext
net.minecraft.world.storage.loot.LootContext
net.minecraft.server.v1_14_R1.LootTableInfo

Field summary

Modifier and TypeField
private final Random
a
random
field_923
random
field_216035_a
private final float
b
luck
field_926
luck
field_186498_a
private final ServerLevel
c
level
field_928
world
field_186499_b
private final LootTables
d
lootTables
field_924
manager
field_186500_c
private final Set<LootTable>
e
visitedTables
field_927
suppliers
field_186504_g
private final Map<LootContextParam<?>, Object>
f
params
field_925
parameters
field_216036_f
private final Map<ResourceLocation, LootContext$DynamicDrop>
g
dynamicDrops
field_929
drops
field_216037_g

Constructor summary

ModifierConstructor
private (Random random, float luck, ServerLevel world, LootTables manager, Map<LootContextParam<?>, Object> parameters, Map<ResourceLocation, LootContext$DynamicDrop> drops)

Method summary

Modifier and TypeMethod
public boolean
a(cqw<?> arg0)
hasParam(LootContextParam<?> arg0)
method_300(class_169<?> arg0)
hasParameter(LootContextParameter<?> parameter)
func_216033_a(LootParameter<?> arg0)
hasContextParameter(LootContextParameter<?> arg0)
public void
a(qv arg0, Consumer<bcj> arg1)
addDynamicDrops(ResourceLocation arg0, Consumer<ItemStack> arg1)
method_297(class_2960 arg0, Consumer<class_1799> arg1)
drop(Identifier id, Consumer<ItemStack> itemDropper)
func_216034_a(ResourceLocation arg0, Consumer<ItemStack> arg1)
public <T> T
c(cqw<T> arg0)
getParamOrNull(LootContextParam<T> arg0)
method_296(class_169<T> arg0)
get(LootContextParameter<T> parameter)
func_216031_c(LootParameter<T> arg0)
getContextParameter(LootContextParameter<T> arg0)
public boolean
a(cpb arg0)
addVisitedTable(LootTable arg0)
method_298(class_52 arg0)
addDrop(LootTable supplier)
func_186496_a(LootTable arg0)
public void
b(cpb arg0)
removeVisitedTable(LootTable arg0)
method_295(class_52 arg0)
removeDrop(LootTable supplier)
func_186490_b(LootTable arg0)
public LootTables
a()
getLootTables()
method_301()
getLootManager()
func_186497_e()
public Random
b()
getRandom()
method_294()
getRandom()
func_216032_b()
public float
c()
getLuck()
method_302()
getLuck()
func_186491_f()
public ServerLevel
d()
getLevel()
method_299()
getWorld()
func_202879_g()