net.minecraft.loot.context

public class LootContext

coy
net.minecraft.world.level.storage.loot.LootContext
net.minecraft.class_47
net.minecraft.loot.context.LootContext
net.minecraft.unmapped.C_iakykpgh
net.minecraft.world.gen.loot.LootContext
net.minecraft.world.storage.loot.LootContext
net.minecraft.world.storage.loot.LootContext

Field summary

Modifier and TypeField
private final Random
a
random
field_923
random
f_gndtbaxx
random
field_216035_a
random
private final float
b
luck
field_926
luck
f_ivmefixp
luck
field_186498_a
luck
private final ServerWorld
c
level
field_928
world
f_kobjjsvx
world
field_186499_b
world
private final LootManager
d
lootTables
field_924
manager
f_cxdvsbjl
lootTables
field_186500_c
lootTableManager
private final Set<LootTable>
e
visitedTables
field_927
suppliers
f_ssicdhjd
visitedLootTables
field_186504_g
lootTables
private final Map<LootContextParameter<?>, Object>
f
params
field_925
parameters
f_urhluvna
f_22515907
field_216036_f
parameters
private final Map<Identifier, LootContext$Dropper>
g
dynamicDrops
field_929
drops
f_epekxpkr
f_36270948
field_216037_g
field_216037_g

Constructor summary

ModifierConstructor
private (Random random, float luck, ServerWorld world, LootManager manager, Map<LootContextParameter<?>, Object> parameters, Map<Identifier, LootContext$Dropper> drops)

Method summary

Modifier and TypeMethod
public boolean
a(cqw<?> arg0)
hasParam(LootContextParam<?> arg0)
method_300(class_169<?> arg0)
hasParameter(LootContextParameter<?> parameter)
m_vbxysawq(C_xsaigefq<?> arg0)
m_90953964(LootContextParameter<?> arg0)
func_216033_a(LootParameter<?> arg0)
has(LootParameter<?> parameter)
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)
m_tjqtsntr(C_ncpywfca arg0, Consumer<C_sddaxwyk> arg1)
m_33400648(Identifier arg0, Consumer<ItemStack> arg1)
func_216034_a(ResourceLocation arg0, Consumer<ItemStack> arg1)
generateDynamicDrop(ResourceLocation name, Consumer<ItemStack> consumer)
public <T> T
c(cqw<T> arg0)
getParamOrNull(LootContextParam<T> arg0)
method_296(class_169<T> arg0)
get(LootContextParameter<T> parameter)
m_xpnkgluh(C_xsaigefq<T> arg0)
m_16290666(LootContextParameter<T> arg0)
func_216031_c(LootParameter<T> arg0)
get(LootParameter<T> parameter)
public boolean
a(cpb arg0)
addVisitedTable(LootTable arg0)
method_298(class_52 arg0)
addDrop(LootTable supplier)
m_uuszvqlx(C_inwsuliy arg0)
addVisitedLootTable(LootTable lootTable)
func_186496_a(LootTable arg0)
addLootTable(LootTable lootTableIn)
public void
b(cpb arg0)
removeVisitedTable(LootTable arg0)
method_295(class_52 arg0)
removeDrop(LootTable supplier)
m_mrfvsbxe(C_inwsuliy arg0)
removeVisitedLootTable(LootTable lootTable)
func_186490_b(LootTable arg0)
removeLootTable(LootTable lootTableIn)
public LootManager
a()
getLootTables()
method_301()
getLootManager()
m_rowpmsww()
getLootTables()
func_186497_e()
getLootTableManager()
public Random
b()
getRandom()
method_294()
getRandom()
m_wajkhgmd()
getRandom()
func_216032_b()
getRandom()
public float
c()
getLuck()
method_302()
getLuck()
m_whhxcymq()
getLuck()
func_186491_f()
getLuck()
public ServerWorld
d()
getLevel()
method_299()
getWorld()
m_izzeghzt()
getWorld()
func_202879_g()
func_202879_g()