net.minecraft.world.level.storage.loot

public class LootParams

dzq
net.minecraft.world.level.storage.loot.LootParams
net.minecraft.class_8567
net.minecraft.unmapped.C_nzsnkdtl
net.minecraft.loot.context.LootContextParameterSet
net.minecraft.loot.context.LootContextParameterSet
net.minecraft.src.C_286926_
net.minecraft.world.level.storage.loot.LootParams

Field summary

Modifier and TypeField
private final ServerLevel
a
level
field_44883
f_chykuhna
world
world
f_286983_
private final Map<LootContextParam<?>, Object>
b
params
field_44884
f_qhizdbwi
parameters
parameters
f_286977_
private final Map<ResourceLocation, LootParams$DynamicDrop>
c
dynamicDrops
field_44885
f_aficxuty
dynamicDrops
dynamicDrops
f_286955_
private final float
d
luck
field_44886
f_dwivgzyo
luck
luck
f_286957_

Constructor summary

ModifierConstructor
public (ServerLevel world, Map<LootContextParam<?>, Object> parameters, Map<ResourceLocation, LootParams$DynamicDrop> dynamicDrops, float luck)

Method summary

Modifier and TypeMethod
public ServerLevel
a()
getLevel()
method_51863()
m_spcgjjtv()
getWorld()
getWorld()
m_287182_()
public boolean
a(ebt<?> arg0)
hasParam(LootContextParam<?> arg0)
method_51865(class_169<?> arg0)
m_fcjbplvq(C_xsaigefq<?> arg0)
contains(LootContextParameter<?> parameter)
contains(LootContextParameter<?> parameter)
m_287166_(C_2968_<?> arg0)
public <T> T
b(ebt<T> arg0)
getParameter(LootContextParam<T> arg0)
method_51867(class_169<T> arg0)
m_rxvgvonh(C_xsaigefq<T> arg0)
get(LootContextParameter<T> parameter)
get(LootContextParameter<T> parameter)
m_287156_(C_2968_<T> arg0)
public <T> T
c(ebt<T> arg0)
getOptionalParameter(LootContextParam<T> arg0)
method_51868(class_169<T> arg0)
m_aayoxygg(C_xsaigefq<T> arg0)
method_51868(LootContextParameter<T> parameter)
getOptionalParameter(LootContextParameter<T> parameter)
m_287251_(C_2968_<T> arg0)
public <T> T
d(ebt<T> arg0)
getParamOrNull(LootContextParam<T> arg0)
method_51869(class_169<T> arg0)
m_fzicnyvu(C_xsaigefq<T> arg0)
getOptional(LootContextParameter<T> parameter)
getParameterOrNull(LootContextParameter<T> parameter)
m_287267_(C_2968_<T> arg0)
public void
a(acq arg0, Consumer<cfz> arg1)
addDynamicDrops(ResourceLocation arg0, Consumer<ItemStack> arg1)
method_51864(class_2960 arg0, Consumer<class_1799> arg1)
m_akasmvkf(C_ncpywfca arg0, Consumer<C_sddaxwyk> arg1)
addDynamicDrops(Identifier id, Consumer<ItemStack> lootConsumer)
addDynamicDrops(Identifier id, Consumer<ItemStack> lootConsumer)
m_287256_(C_5265_ p_287711_, Consumer<C_1391_> arg1)
public float
b()
getLuck()
method_51866()
m_kiqemlmv()
getLuck()
getLuck()
m_287164_()