net.minecraft.world.level.storage.loot

public class LootParams$Builder

evv$a
net.minecraft.world.level.storage.loot.LootParams$Builder
net.minecraft.class_8567$class_8568
net.minecraft.loot.context.LootWorldContext$Builder
net.minecraft.world.level.storage.loot.LootParams$a

Field summary

Modifier and TypeField
private final ServerLevel
a
level
field_44887
world
private final ContextMap$Builder
b
params
field_44888
parameters
private final Map<ResourceLocation, LootParams$DynamicDrop>
c
dynamicDrops
field_44889
dynamicDrops
private float
d
luck
field_44890
luck

Constructor summary

ModifierConstructor
public (ServerLevel world)

Method summary

Modifier and TypeMethod
public ServerLevel
a()
getLevel()
method_51870()
getWorld()
public <T> LootParams$Builder
a(bai<T> arg0, T arg1)
withParameter(ContextKey<T> arg0, T arg1)
method_51874(class_169<T> arg0, T arg1)
add(ContextParameter<T> parameter, T value)
public <T> LootParams$Builder
b(bai<T> arg0, T arg1)
withOptionalParameter(ContextKey<T> arg0, T arg1)
method_51877(class_169<T> arg0, T arg1)
addOptional(ContextParameter<T> parameter, T value)
public <T> T
a(bai<T> arg0)
getParameter(ContextKey<T> arg0)
method_51873(class_169<T> arg0)
get(ContextParameter<T> parameter)
public <T> T
b(bai<T> arg0)
getOptionalParameter(ContextKey<T> arg0)
method_51876(class_169<T> arg0)
getOptional(ContextParameter<T> parameter)
public LootParams$Builder
a(akv arg0, evv$b arg1)
withDynamicDrop(ResourceLocation arg0, LootParams$DynamicDrop arg1)
method_51872(class_2960 arg0, class_8567$class_49 arg1)
addDynamicDrop(Identifier id, LootWorldContext$DynamicDrop dynamicDrop)
public LootParams$Builder
a(float arg0)
withLuck(float arg0)
method_51871(float arg0)
luck(float luck)
public LootParams
a(baj arg0)
create(ContextKeySet arg0)
method_51875(class_176 arg0)
build(ContextType contextType)