net.minecraft.world.level.storage.loot

public class LootContext$Builder

cys$a
net.minecraft.world.level.storage.loot.LootContext$Builder
net.minecraft.class_47$class_48
net.minecraft.loot.context.LootContext$Builder
net.minecraft.loot.LootContext$Builder
net.minecraft.server.v1_16_R2.LootTableInfo$Builder

Field summary

Modifier and TypeField
private final ServerLevel
a
level
field_930
world
field_186474_a
private final Map<LootContextParam<?>, Object>
b
params
field_932
parameters
field_216025_b
private final Map<ResourceLocation, LootContext$DynamicDrop>
c
dynamicDrops
field_933
drops
field_216026_c
private Random
d
random
field_934
random
field_216027_d
private float
e
luck
field_931
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)
random(Random random)
func_216023_a(Random arg0)
public LootContext$Builder
a(long arg0)
withOptionalRandomSeed(long arg0)
method_304(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)
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)
luck(float luck)
func_186469_a(float arg0)
public <T> LootContext$Builder
a(daw<T> arg0, T arg1)
withParameter(LootContextParam<T> arg0, T arg1)
method_312(class_169<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(daw<T> arg0, T arg1)
withOptionalParameter(LootContextParam<T> arg0, T arg1)
method_306(class_169<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(vk arg0, cys$b arg1)
withDynamicDrop(ResourceLocation arg0, LootContext$DynamicDrop arg1)
method_307(class_2960 arg0, class_47$class_49 arg1)
putDrop(Identifier id, LootContext$Dropper value)
func_216017_a(ResourceLocation arg0, LootContext$IDynamicDropProvider arg1)
public ServerLevel
a()
getLevel()
method_313()
getWorld()
func_216018_a()
public <T> T
a(daw<T> arg0)
getParameter(LootContextParam<T> arg0)
method_308(class_169<T> arg0)
get(LootContextParameter<T> parameter)
func_216024_a(LootParameter<T> arg0)
public <T> T
b(daw<T> arg0)
getOptionalParameter(LootContextParam<T> arg0)
method_305(class_169<T> arg0)
getNullable(LootContextParameter<T> parameter)
func_216019_b(LootParameter<T> arg0)
public LootContext
a(dax arg0)
create(LootContextParamSet arg0)
method_309(class_176 arg0)
build(LootContextType type)
func_216022_a(LootParameterSet arg0)
build(LootContextParameterSet arg0)