net.minecraft.world.level.storage.loot.parameters

public class LootContextParams

dto
net.minecraft.world.level.storage.loot.parameters.LootContextParams
net.minecraft.class_181
net.minecraft.loot.context.LootContextParameters
net.minecraft.src.C_2974_
net.minecraft.world.level.storage.loot.parameters.LootContextParameters

Field summary

Modifier and TypeField
public static final LootContextParam<Entity>
a
THIS_ENTITY
field_1226
THIS_ENTITY
f_81455_
public static final LootContextParam<Player>
b
LAST_DAMAGE_PLAYER
field_1233
LAST_DAMAGE_PLAYER
f_81456_
public static final LootContextParam<DamageSource>
c
DAMAGE_SOURCE
field_1231
DAMAGE_SOURCE
f_81457_
public static final LootContextParam<Entity>
d
KILLER_ENTITY
field_1230
KILLER_ENTITY
f_81458_
public static final LootContextParam<Entity>
e
DIRECT_KILLER_ENTITY
field_1227
DIRECT_KILLER_ENTITY
f_81459_
public static final LootContextParam<Vec3>
f
ORIGIN
field_24424
ORIGIN
f_81460_
public static final LootContextParam<BlockState>
g
BLOCK_STATE
field_1224
BLOCK_STATE
f_81461_
public static final LootContextParam<BlockEntity>
h
BLOCK_ENTITY
field_1228
BLOCK_ENTITY
f_81462_
public static final LootContextParam<ItemStack>
i
TOOL
field_1229
TOOL
f_81463_
public static final LootContextParam<Float>
j
EXPLOSION_RADIUS
field_1225
EXPLOSION_RADIUS
f_81464_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static <T> LootContextParam<T>
a(String arg0)
create(String arg0)
method_798(String arg0)
register(String name)
m_81466_(String p_81467_)