net.minecraft.world.gen.loot

public class LootContext$Builder

coo$a
net.minecraft.class_47$class_48
net.minecraft.world.gen.loot.LootContext$Builder
net.minecraft.world.storage.loot.LootContext$Builder
net.minecraft.world.storage.loot.LootContext$Builder

Field summary

Modifier and TypeField
private final ServerWorld
a
field_930
world
field_186474_a
world
private final Map<LootContextParameter<?>, Object>
b
field_932
parameters
field_216025_b
field_216025_b
private final Map<Identifier, LootContext$DynamicDrop>
c
field_933
dynamicDrops
field_216026_c
field_216026_c
private Random
d
field_934
random
field_216027_d
rand
private float
e
field_931
luck
field_186475_b
luck

Constructor summary

ModifierConstructor
public (ServerWorld world)

Method summary

Modifier and TypeMethod
public LootContext$Builder
a(Random arg0)
method_311(Random arg0)
setRandom(Random random)
func_216023_a(Random arg0)
withRandom(Random randomIn)
public LootContext$Builder
a(long arg0)
method_304(long arg0)
setOptionalRandomSeed(long seed)
func_216016_a(long arg0)
withSeed(long seed)
public LootContext$Builder
a(long arg0, Random arg1)
method_310(long arg0, Random arg1)
setOptionalRandomSeed(long seed, Random orElse)
func_216020_a(long arg0, Random arg1)
withSeededRandom(long seed, Random arg1)
public LootContext$Builder
a(float arg0)
method_303(float arg0)
setLuck(float luck)
func_186469_a(float arg0)
withLuck(float luckIn)
public <T> LootContext$Builder
a(cqm<T> arg0, T arg1)
method_312(class_169<T> arg0, T arg1)
setParameter(LootContextParameter<T> parameter, T value)
func_216015_a(LootParameter<T> arg0, T arg1)
withParameter(LootParameter<T> parameter, T value)
public <T> LootContext$Builder
b(cqm<T> arg0, T arg1)
method_306(class_169<T> arg0, T arg1)
setOptionalParameter(LootContextParameter<T> parameter, T value)
func_216021_b(LootParameter<T> arg0, T arg1)
withNullableParameter(LootParameter<T> parameter, T value)
public LootContext$Builder
a(qs arg0, coo$b arg1)
method_307(class_2960 arg0, class_47$class_49 arg1)
setDynamicDrop(Identifier key, LootContext$DynamicDrop drop)
func_216017_a(ResourceLocation arg0, LootContext$IDynamicDropProvider arg1)
withDynamicDrop(ResourceLocation arg0, LootContext$IDynamicDropProvider arg1)
public ServerWorld
a()
method_313()
getWorld()
func_216018_a()
getWorld()
public <T> T
a(cqm<T> arg0)
method_308(class_169<T> arg0)
getParameter(LootContextParameter<T> parameter)
func_216024_a(LootParameter<T> arg0)
assertPresent(LootParameter<T> parameter)
public <T> T
b(cqm<T> arg0)
method_305(class_169<T> arg0)
getOptionalParameter(LootContextParameter<T> parameter)
func_216019_b(LootParameter<T> arg0)
get(LootParameter<T> parameter)
public LootContext
a(cqn arg0)
method_309(class_176 arg0)
build(LootContextParameterSet parameters)
func_216022_a(LootParameterSet arg0)
build(LootParameterSet parameterSet)