net.minecraft.world.level.storage.loot

public class LootContext$Builder

dat$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.loot.LootContext$Builder
net.minecraft.server.v1_16_R1.LootTableInfo$Builder

Field summary

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

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)
func_216023_a(Random arg0)
public LootContext$Builder
a(long arg0)
withOptionalRandomSeed(long arg0)
method_304(long arg0)
m_ywgglqaj(long arg0)
random(long seed)
func_216016_a(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)
func_216020_a(long arg0, Random arg1)
public LootContext$Builder
a(float arg0)
withLuck(float arg0)
method_303(float arg0)
m_gznhlrdw(float arg0)
luck(float luck)
func_186469_a(float arg0)
public <T> LootContext$Builder
a(dcx<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)
func_216015_a(LootParameter<T> arg0, T arg1)
set(LootContextParameter<T> arg0, T arg1)
public <T> LootContext$Builder
b(dcx<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)
func_216021_b(LootParameter<T> arg0, T arg1)
setOptional(LootContextParameter<T> arg0, T arg1)
public LootContext$Builder
a(uh arg0, dat$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)
func_216017_a(ResourceLocation arg0, LootContext$IDynamicDropProvider arg1)
public ServerLevel
a()
getLevel()
method_313()
m_jiwxjvnm()
getWorld()
func_216018_a()
public <T> T
a(dcx<T> arg0)
getParameter(LootContextParam<T> arg0)
method_308(class_169<T> arg0)
m_qzivilns(C_xsaigefq<T> arg0)
get(LootContextParameter<T> parameter)
func_216024_a(LootParameter<T> arg0)
public <T> T
b(dcx<T> arg0)
getOptionalParameter(LootContextParam<T> arg0)
method_305(class_169<T> arg0)
m_infnfdqa(C_xsaigefq<T> arg0)
getNullable(LootContextParameter<T> parameter)
func_216019_b(LootParameter<T> arg0)
public LootContext
a(dcy arg0)
create(LootContextParamSet arg0)
method_309(class_176 arg0)
m_hoabyrky(C_vczsvjil arg0)
build(LootContextType type)
func_216022_a(LootParameterSet arg0)
build(LootContextParameterSet arg0)