net.minecraft.world.level.storage.loot

public class LootContext

ewp
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 LootParams
a
params
field_44881
f_urhluvna
worldContext
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 worldContext, RandomSource random, HolderGetter$Provider lookup)

Method summary

Modifier and TypeMethod
public boolean
a(bbn<?> arg0)
hasParameter(ContextKey<?> arg0)
method_300(class_169<?> arg0)
m_ylvpnrzu(C_fwhrecir<?> arg0)
hasParameter(ContextParameter<?> parameter)
contains(ContextKey<?> parameter)
m_356450_(C_345750_<?> arg0)
public <T> T
b(bbn<T> arg0)
getParameter(ContextKey<T> arg0)
method_35508(class_169<T> arg0)
m_vnevydll(C_fwhrecir<T> arg0)
requireParameter(ContextParameter<T> parameter)
getOrThrow(ContextKey<T> parameter)
m_354277_(C_345750_<T> arg0)
public <T> T
c(bbn<T> arg0)
getOptionalParameter(ContextKey<T> arg0)
method_65013(class_169<T> arg0)
m_cgaxgrxg(C_fwhrecir<T> arg0)
get(ContextParameter<T> parameter)
get(ContextKey<T> parameter)
m_352997_(C_345750_<T> arg0)
public void
a(alz arg0, Consumer<cxp> 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 boolean
a(ewp$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(ewp$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(ewp$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(ewu 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(ezy 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(eyd 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_)