net.minecraft.world.level.storage.loot

public class LootContext$Builder

dka$a
net.minecraft.world.level.storage.loot.LootContext$Builder
net.minecraft.class_47$class_48
net.minecraft.unmapped.C_iakykpgh$C_xdyltqvb
net.minecraft.loot.context.LootContext$Builder
net.minecraft.src.C_2811_$C_2813_
net.minecraft.world.level.storage.loot.LootTableInfo$Builder

Field summary

Modifier and TypeField
private final ServerLevel
a
level
field_930
f_cfbqpvot
world
f_78955_
private final Map<LootContextParam<?>, Object>
b
params
field_932
f_cfeuvpzt
parameters
f_78956_
private final Map<ResourceLocation, LootContext$DynamicDrop>
c
dynamicDrops
field_933
f_bqzxnckb
drops
f_78957_
private Random
d
random
field_934
f_cphcdszg
random
f_78958_
private float
e
luck
field_931
f_xjqzhihc
luck
f_78959_

Constructor summary

ModifierConstructor
public (ServerLevel world)

Method summary

Modifier and TypeMethod
public LootContext$Builder
a(Random arg0)
withRandom(Random arg0)
method_311(Random arg0)
m_jssgfdkg(Random arg0)
random(Random random)
m_78977_(Random arg0)
public LootContext$Builder
a(long arg0)
withOptionalRandomSeed(long arg0)
method_304(long arg0)
m_ywgglqaj(long arg0)
random(long seed)
m_78965_(long arg0)
public LootContext$Builder
a(long arg0, Random arg1)
withOptionalRandomSeed(long arg0, Random arg1)
method_310(long arg0, Random arg1)
m_ovbmgfzl(long arg0, Random arg1)
random(long seed, Random random)
m_78967_(long p_78969_, Random arg1)
public LootContext$Builder
a(float arg0)
withLuck(float arg0)
method_303(float arg0)
m_gznhlrdw(float arg0)
luck(float luck)
m_78963_(float arg0)
public <T> LootContext$Builder
a(dme<T> arg0, T arg1)
withParameter(LootContextParam<T> arg0, T arg1)
method_312(class_169<T> arg0, T arg1)
m_nspvjgkk(C_xsaigefq<T> arg0, T arg1)
parameter(LootContextParameter<T> key, T value)
m_78972_(C_2968_<T> p_78974_, T arg1)
public <T> LootContext$Builder
b(dme<T> arg0, T arg1)
withOptionalParameter(LootContextParam<T> arg0, T arg1)
method_306(class_169<T> arg0, T arg1)
m_nxeldkfu(C_xsaigefq<T> arg0, T arg1)
optionalParameter(LootContextParameter<T> key, T value)
m_78984_(C_2968_<T> p_78986_, T arg1)
public LootContext$Builder
a(yh arg0, dka$b arg1)
withDynamicDrop(ResourceLocation arg0, LootContext$DynamicDrop arg1)
method_307(class_2960 arg0, class_47$class_49 arg1)
m_avbccpma(C_ncpywfca arg0, C_iakykpgh$C_shcpbcfd arg1)
putDrop(Identifier id, LootContext$Dropper value)
m_78979_(C_5265_ p_78981_, C_2811_$C_2814_ arg1)
public ServerLevel
a()
getLevel()
method_313()
m_jiwxjvnm()
getWorld()
m_78962_()
public <T> T
a(dme<T> arg0)
getParameter(LootContextParam<T> arg0)
method_308(class_169<T> arg0)
m_qzivilns(C_xsaigefq<T> arg0)
get(LootContextParameter<T> parameter)
m_78970_(C_2968_<T> arg0)
public <T> T
b(dme<T> arg0)
getOptionalParameter(LootContextParam<T> arg0)
method_305(class_169<T> arg0)
m_infnfdqa(C_xsaigefq<T> arg0)
getNullable(LootContextParameter<T> parameter)
m_78982_(C_2968_<T> arg0)
public LootContext
a(dmf arg0)
create(LootContextParamSet arg0)
method_309(class_176 arg0)
m_hoabyrky(C_vczsvjil arg0)
build(LootContextType type)
m_78975_(C_2970_ arg0)