net.minecraft.world.level.storage.loot

public class LootContext

eqj
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.IntRange

Field summary

Modifier and TypeField
private final LootParams
a
params
field_44881
f_urhluvna
parameters
parameters
f_78914_
private final RandomSource
b
random
field_923
f_gndtbaxx
random
random
f_78907_
private final HolderGetter$Provider
c
lootDataResolver
field_44490
f_rcybseec
lookup
dataLookup
f_278421_
private final Set<LootContext$VisitedEntry<?>>
d
visitedElements
field_927
f_rcozkxpd
activeEntries
visitedElements
f_278466_

Constructor summary

ModifierConstructor
(LootParams parameters, RandomSource random, HolderGetter$Provider lookup)

Method summary

Modifier and TypeMethod
public boolean
a(etc<?> 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(etc<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(alf arg0, Consumer<cuq> 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(etc<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(eqj$c<?> arg0)
hasVisitedElement(LootContext$VisitedEntry<?> arg0)
method_51184(class_47$class_8487<?> arg0)
m_xojwzglq(C_iakykpgh$C_kslhzure<?> arg0)
isActive(LootContext$Entry<?> entry)
hasVisitedElement(LootContext$Entry<?> entry)
m_278628_(C_2811_$C_278353_<?> arg0)
public boolean
b(eqj$c<?> arg0)
pushVisitedElement(LootContext$VisitedEntry<?> arg0)
method_298(class_47$class_8487<?> arg0)
m_htdhqpov(C_iakykpgh$C_kslhzure<?> arg0)
markActive(LootContext$Entry<?> entry)
addVisitedElement(LootContext$Entry<?> entry)
m_278759_(C_2811_$C_278353_<?> arg0)
public void
c(eqj$c<?> arg0)
popVisitedElement(LootContext$VisitedEntry<?> arg0)
method_295(class_47$class_8487<?> arg0)
m_lccwwrcz(C_iakykpgh$C_kslhzure<?> arg0)
markInactive(LootContext$Entry<?> entry)
removeVisitedElement(LootContext$Entry<?> entry)
m_278639_(C_2811_$C_278353_<?> arg0)
public HolderGetter$Provider
a()
getResolver()
method_51183()
m_bmdlitpa()
getLookup()
getDataLookup()
m_278643_()
public RandomSource
b()
getRandom()
method_294()
m_wajkhgmd()
getRandom()
getRandom()
m_230907_()
public float
c()
getLuck()
method_302()
m_whhxcymq()
getLuck()
getLuck()
m_78945_()
public ServerLevel
d()
getLevel()
method_299()
m_izzeghzt()
getWorld()
getWorld()
m_78952_()
public static LootContext$VisitedEntry<LootTable>
a(eqo arg0)
createVisitedEntry(LootTable arg0)
method_51185(class_52 arg0)
m_idypeamr(C_inwsuliy arg0)
table(LootTable table)
createEntry(LootTable table)
m_278811_(C_2822_ p_279327_)
public static LootContext$VisitedEntry<LootItemCondition>
a(ett arg0)
createVisitedEntry(LootItemCondition arg0)
method_51187(class_5341 arg0)
m_aetjuquw(C_vqkczpuv arg0)
predicate(LootCondition predicate)
createEntry(LootCondition condition)
m_278785_(C_3004_ p_279250_)
public static LootContext$VisitedEntry<LootItemFunction>
a(erw arg0)
createVisitedEntry(LootItemFunction arg0)
method_51186(class_117 arg0)
m_boycmais(C_tmxhskql arg0)
itemModifier(LootFunction itemModifier)
createEntry(LootFunction function)
m_278853_(C_2928_ p_279163_)