net.minecraft.world.level.storage.loot

public class LootParams$Builder

ecw$a
net.minecraft.world.level.storage.loot.LootParams$Builder
net.minecraft.class_8567$class_8568
net.minecraft.loot.context.LootContextParameterSet$Builder
net.minecraft.src.C_286926_$C_286924_
net.minecraft.world.level.storage.loot.LootParams$a

Field summary

Modifier and TypeField
private final ServerLevel
a
level
field_44887
world
f_286934_
private final Map<LootContextParam<?>, Object>
b
params
field_44888
parameters
f_286945_
private final Map<ResourceLocation, LootParams$DynamicDrop>
c
dynamicDrops
field_44889
dynamicDrops
f_286986_
private float
d
luck
field_44890
luck
f_287000_

Constructor summary

ModifierConstructor
public (ServerLevel world)

Method summary

Modifier and TypeMethod
public ServerLevel
a()
getLevel()
method_51870()
getWorld()
m_287258_()
public <T> LootParams$Builder
a(eey<T> arg0, T arg1)
withParameter(LootContextParam<T> arg0, T arg1)
method_51874(class_169<T> arg0, T arg1)
add(LootContextParameter<T> parameter, T value)
m_287286_(C_2968_<T> p_287606_, T arg1)
public <T> LootParams$Builder
b(eey<T> arg0, T arg1)
withOptionalParameter(LootContextParam<T> arg0, T arg1)
method_51877(class_169<T> arg0, T arg1)
addOptional(LootContextParameter<T> parameter, T value)
m_287289_(C_2968_<T> p_287630_, T arg1)
public <T> T
a(eey<T> arg0)
getParameter(LootContextParam<T> arg0)
method_51873(class_169<T> arg0)
get(LootContextParameter<T> parameter)
m_287261_(C_2968_<T> arg0)
public <T> T
b(eey<T> arg0)
getOptionalParameter(LootContextParam<T> arg0)
method_51876(class_169<T> arg0)
getOptional(LootContextParameter<T> parameter)
m_287159_(C_2968_<T> arg0)
public LootParams$Builder
a(aew arg0, ecw$b arg1)
withDynamicDrop(ResourceLocation arg0, LootParams$DynamicDrop arg1)
method_51872(class_2960 arg0, class_8567$class_49 arg1)
addDynamicDrop(Identifier id, LootContextParameterSet$DynamicDrop dynamicDrop)
m_287145_(C_5265_ p_287724_, C_286926_$C_286929_ arg1)
public LootParams$Builder
a(float arg0)
withLuck(float arg0)
method_51871(float arg0)
luck(float luck)
m_287239_(float arg0)
public LootParams
a(eez arg0)
create(LootContextParamSet arg0)
method_51875(class_176 arg0)
build(LootContextType contextType)
m_287235_(C_2970_ arg0)