net.minecraft.world.level.storage.loot

public class LootContext

cys
net.minecraft.world.level.storage.loot.LootContext
net.minecraft.class_47
net.minecraft.unmapped.C_iakykpgh
net.minecraft.loot.context.LootContext
net.minecraft.loot.LootContext
net.minecraft.server.v1_16_R2.LootTableInfo

Field summary

Modifier and TypeField
private final Random
a
random
field_923
f_gndtbaxx
random
field_216035_a
private final float
b
luck
field_926
f_ivmefixp
luck
field_186498_a
luck
private final ServerLevel
c
level
field_928
f_kobjjsvx
world
field_186499_b
world
private final Function<ResourceLocation, LootTable>
d
lootTables
field_924
f_cxdvsbjl
tableGetter
field_186500_c
private final Set<LootTable>
e
visitedTables
field_927
f_ssicdhjd
activeTables
field_186504_g
private final Function<ResourceLocation, LootItemCondition>
f
conditions
field_20750
f_ktnsllxt
conditionGetter
field_227499_f_
private final Set<LootItemCondition>
g
visitedConditions
field_20751
f_ooledxxq
conditions
field_227500_g_
private final Map<LootContextParam<?>, Object>
h
params
field_925
f_urhluvna
parameters
field_216036_f
private final Map<ResourceLocation, LootContext$DynamicDrop>
i
dynamicDrops
field_929
f_epekxpkr
drops
field_216037_g

Constructor summary

ModifierConstructor
private (Random random, float luck, ServerLevel world, Function<ResourceLocation, LootTable> tableGetter, Function<ResourceLocation, LootItemCondition> conditionSetter, Map<LootContextParam<?>, Object> parameters, Map<ResourceLocation, LootContext$DynamicDrop> drops)

Method summary

Modifier and TypeMethod
public boolean
a(daw<?> arg0)
hasParam(LootContextParam<?> arg0)
method_300(class_169<?> arg0)
m_vbxysawq(C_xsaigefq<?> arg0)
hasParameter(LootContextParameter<?> parameter)
func_216033_a(LootParameter<?> arg0)
hasContextParameter(LootContextParameter<?> arg0)
public void
a(vk arg0, Consumer<bly> arg1)
addDynamicDrops(ResourceLocation arg0, Consumer<ItemStack> arg1)
method_297(class_2960 arg0, Consumer<class_1799> arg1)
m_tjqtsntr(C_ncpywfca arg0, Consumer<C_sddaxwyk> arg1)
drop(Identifier id, Consumer<ItemStack> lootConsumer)
func_216034_a(ResourceLocation arg0, Consumer<ItemStack> arg1)
public <T> T
c(daw<T> arg0)
getParamOrNull(LootContextParam<T> arg0)
method_296(class_169<T> arg0)
m_xpnkgluh(C_xsaigefq<T> arg0)
get(LootContextParameter<T> parameter)
func_216031_c(LootParameter<T> arg0)
getContextParameter(LootContextParameter<T> arg0)
public boolean
a(cyv arg0)
addVisitedTable(LootTable arg0)
method_298(class_52 arg0)
m_uuszvqlx(C_inwsuliy arg0)
markActive(LootTable table)
func_186496_a(LootTable arg0)
public void
b(cyv arg0)
removeVisitedTable(LootTable arg0)
method_295(class_52 arg0)
m_mrfvsbxe(C_inwsuliy arg0)
markInactive(LootTable table)
func_186490_b(LootTable arg0)
public boolean
a(dbl arg0)
addVisitedCondition(LootItemCondition arg0)
method_22555(class_5341 arg0)
m_bbxnwhaq(C_vqkczpuv arg0)
addCondition(LootCondition condition)
func_227501_a_(ILootCondition arg0)
public void
b(dbl arg0)
removeVisitedCondition(LootItemCondition arg0)
method_22557(class_5341 arg0)
m_eldmlfua(C_vqkczpuv arg0)
removeCondition(LootCondition condition)
func_227503_b_(ILootCondition arg0)
public LootTable
a(vk arg0)
getLootTable(ResourceLocation arg0)
method_22556(class_2960 arg0)
m_waenynak(C_ncpywfca arg0)
getSupplier(Identifier id)
func_227502_a_(ResourceLocation arg0)
public LootItemCondition
b(vk arg0)
getCondition(ResourceLocation arg0)
method_22558(class_2960 arg0)
m_ktxckrdf(C_ncpywfca arg0)
getCondition(Identifier id)
func_227504_b_(ResourceLocation arg0)
public Random
a()
getRandom()
method_294()
m_wajkhgmd()
getRandom()
func_216032_b()
public float
b()
getLuck()
method_302()
m_whhxcymq()
getLuck()
func_186491_f()
getLuck()
public ServerLevel
c()
getLevel()
method_299()
m_izzeghzt()
getWorld()
func_202879_g()
getWorld()