net.minecraft.world.level.storage.loot

public class LootContext

dvr
net.minecraft.world.level.storage.loot.LootContext
net.minecraft.class_47
net.minecraft.unmapped.C_iakykpgh
net.minecraft.loot.context.LootContext
net.minecraft.loot.context.LootContext
net.minecraft.src.C_2811_
net.minecraft.world.level.storage.loot.LootTableInfo

Field summary

Modifier and TypeField
private final RandomSource
a
random
field_923
f_gndtbaxx
random
random
f_78907_
private final float
b
luck
field_926
f_ivmefixp
luck
luck
f_78908_
private final ServerLevel
c
level
field_928
f_kobjjsvx
world
world
f_78909_
private final Function<ResourceLocation, LootTable>
d
lootTables
field_924
f_cxdvsbjl
tableGetter
tableGetter
f_78910_
private final Set<LootTable>
e
visitedTables
field_927
f_ssicdhjd
activeTables
activeTables
f_78911_
private final Function<ResourceLocation, LootItemCondition>
f
conditions
field_20750
f_ktnsllxt
conditionGetter
conditionGetter
f_78912_
private final Set<LootItemCondition>
g
visitedConditions
field_20751
f_ooledxxq
conditions
conditions
f_78913_
private final Map<LootContextParam<?>, Object>
h
params
field_925
f_urhluvna
parameters
parameters
f_78914_
private final Map<ResourceLocation, LootContext$DynamicDrop>
i
dynamicDrops
field_929
f_epekxpkr
drops
drops
f_78915_

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(dxw<?> arg0)
hasParam(LootContextParam<?> arg0)
method_300(class_169<?> arg0)
m_vbxysawq(C_xsaigefq<?> arg0)
hasParameter(LootContextParameter<?> parameter)
hasParameter(LootContextParameter<?> parameter)
m_78936_(C_2968_<?> arg0)
public <T> T
b(dxw<T> arg0)
getParam(LootContextParam<T> arg0)
method_35508(class_169<T> arg0)
m_ubbeilnd(C_xsaigefq<T> arg0)
requireParameter(LootContextParameter<T> parameter)
requireParameter(LootContextParameter<T> parameter)
m_165124_(C_2968_<T> arg0)
public void
a(acf arg0, Consumer<cdt> 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)
drop(Identifier id, Consumer<ItemStack> lootConsumer)
m_78942_(C_5265_ p_78944_, Consumer<C_1391_> arg1)
public <T> T
c(dxw<T> arg0)
getParamOrNull(LootContextParam<T> arg0)
method_296(class_169<T> arg0)
m_xpnkgluh(C_xsaigefq<T> arg0)
get(LootContextParameter<T> parameter)
get(LootContextParameter<T> parameter)
m_78953_(C_2968_<T> arg0)
public boolean
a(dvu arg0)
addVisitedTable(LootTable arg0)
method_298(class_52 arg0)
m_uuszvqlx(C_inwsuliy arg0)
markActive(LootTable table)
markActive(LootTable table)
m_78934_(C_2822_ arg0)
public void
b(dvu arg0)
removeVisitedTable(LootTable arg0)
method_295(class_52 arg0)
m_mrfvsbxe(C_inwsuliy arg0)
markInactive(LootTable table)
markInactive(LootTable table)
m_78946_(C_2822_ arg0)
public boolean
a(dyl arg0)
addVisitedCondition(LootItemCondition arg0)
method_22555(class_5341 arg0)
m_bbxnwhaq(C_vqkczpuv arg0)
addCondition(LootCondition condition)
addCondition(LootCondition condition)
m_78938_(C_3004_ arg0)
public void
b(dyl arg0)
removeVisitedCondition(LootItemCondition arg0)
method_22557(class_5341 arg0)
m_eldmlfua(C_vqkczpuv arg0)
removeCondition(LootCondition condition)
removeCondition(LootCondition condition)
m_78948_(C_3004_ arg0)
public LootTable
a(acf arg0)
getLootTable(ResourceLocation arg0)
method_22556(class_2960 arg0)
m_waenynak(C_ncpywfca arg0)
getTable(Identifier id)
getTable(Identifier id)
m_78940_(C_5265_ arg0)
public LootItemCondition
b(acf arg0)
getCondition(ResourceLocation arg0)
method_22558(class_2960 arg0)
m_ktxckrdf(C_ncpywfca arg0)
getCondition(Identifier id)
getCondition(Identifier id)
m_78950_(C_5265_ arg0)
public RandomSource
a()
getRandom()
method_294()
m_wajkhgmd()
getRandom()
getRandom()
m_230907_()
public float
b()
getLuck()
method_302()
m_whhxcymq()
getLuck()
getLuck()
m_78945_()
public ServerLevel
c()
getLevel()
method_299()
m_izzeghzt()
getWorld()
getWorld()
m_78952_()