net.minecraft.loot.context

public class LootContext

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

Field summary

Modifier and TypeField
private final LootWorldContext
a
params
field_44881
worldContext
f_urhluvna
parameters
f_78914_
private final Random
b
random
field_923
random
f_gndtbaxx
random
f_78907_
private final RegistryEntryLookup$RegistryLookup
c
lootDataResolver
field_44490
lookup
f_rcybseec
dataLookup
f_278421_
private final Set<LootContext$Entry<?>>
d
visitedElements
field_927
activeEntries
f_rcozkxpd
visitedElements
f_278466_

Constructor summary

ModifierConstructor
(LootWorldContext worldContext, Random random, RegistryEntryLookup$RegistryLookup lookup)

Method summary

Modifier and TypeMethod
public boolean
a(bgt<?> arg0)
hasParameter(ContextKey<?> arg0)
method_300(class_169<?> arg0)
hasParameter(ContextParameter<?> parameter)
m_ylvpnrzu(C_fwhrecir<?> arg0)
contains(ContextKey<?> parameter)
m_356450_(C_345750_<?> arg0)
public <T> T
b(bgt<T> arg0)
getParameter(ContextKey<T> arg0)
method_35508(class_169<T> arg0)
getOrThrow(ContextParameter<T> parameter)
m_vnevydll(C_fwhrecir<T> arg0)
getOrThrow(ContextKey<T> parameter)
m_354277_(C_345750_<T> arg0)
public <T> T
c(bgt<T> arg0)
getOptionalParameter(ContextKey<T> arg0)
method_65013(class_169<T> arg0)
get(ContextParameter<T> parameter)
m_cgaxgrxg(C_fwhrecir<T> arg0)
get(ContextKey<T> parameter)
m_352997_(C_345750_<T> arg0)
public void
a(amj o, Consumer<dhp> arg1)
addDynamicDrops(ResourceLocation arg0, Consumer<ItemStack> arg1)
method_297(class_2960 arg0, Consumer<class_1799> arg1)
drop(Identifier id, Consumer<ItemStack> lootConsumer)
m_tjqtsntr(C_ncpywfca arg0, Consumer<C_sddaxwyk> arg1)
drop(Identifier id, Consumer<ItemStack> lootProcessor)
m_78942_(C_5265_ p_78944_, Consumer<C_1391_> arg1)
public boolean
a(fiy$e<?> arg0)
hasVisitedElement(LootContext$VisitedEntry<?> arg0)
method_51184(class_47$class_8487<?> arg0)
isActive(LootContext$Entry<?> entry)
m_xojwzglq(C_iakykpgh$C_kslhzure<?> arg0)
hasVisitedElement(LootContext$Entry<?> entry)
m_278628_(C_2811_$C_278353_<?> arg0)
public boolean
b(fiy$e<?> arg0)
pushVisitedElement(LootContext$VisitedEntry<?> arg0)
method_298(class_47$class_8487<?> arg0)
markActive(LootContext$Entry<?> entry)
m_htdhqpov(C_iakykpgh$C_kslhzure<?> arg0)
addVisitedElement(LootContext$Entry<?> entry)
m_278759_(C_2811_$C_278353_<?> arg0)
public void
c(fiy$e<?> arg0)
popVisitedElement(LootContext$VisitedEntry<?> arg0)
method_295(class_47$class_8487<?> arg0)
markInactive(LootContext$Entry<?> entry)
m_lccwwrcz(C_iakykpgh$C_kslhzure<?> arg0)
removeVisitedElement(LootContext$Entry<?> entry)
m_278639_(C_2811_$C_278353_<?> arg0)
public RegistryEntryLookup$RegistryLookup
a()
getResolver()
method_51183()
getLookup()
m_bmdlitpa()
getDataLookup()
m_278643_()
public Random
b()
getRandom()
method_294()
getRandom()
m_wajkhgmd()
getRandom()
m_230907_()
public float
c()
getLuck()
method_302()
getLuck()
m_whhxcymq()
getLuck()
m_78945_()
public ServerWorld
d()
getLevel()
method_299()
getWorld()
m_izzeghzt()
getWorld()
m_78952_()
public static LootContext$Entry<LootTable>
a(fjd o)
createVisitedEntry(LootTable arg0)
method_51185(class_52 arg0)
table(LootTable table)
m_idypeamr(C_inwsuliy arg0)
createEntry(LootTable table)
m_278811_(C_2822_ p_279327_)
public static LootContext$Entry<LootCondition>
a(fmh o)
createVisitedEntry(LootItemCondition arg0)
method_51187(class_5341 arg0)
predicate(LootCondition predicate)
m_aetjuquw(C_vqkczpuv arg0)
createEntry(LootCondition condition)
m_278785_(C_3004_ p_279250_)
public static LootContext$Entry<LootFunction>
a(fkm o)
createVisitedEntry(LootItemFunction arg0)
method_51186(class_117 arg0)
itemModifier(LootFunction itemModifier)
m_boycmais(C_tmxhskql arg0)
createEntry(LootFunction function)
m_278853_(C_2928_ p_279163_)