public class LootContextParameters extends Object
Modifier and Type | Field and Description |
---|---|
static LootContextParameter<BlockEntity> |
BLOCK_ENTITY |
static LootContextParameter<BlockState> |
BLOCK_STATE |
static LootContextParameter<DamageSource> |
DAMAGE_SOURCE |
static LootContextParameter<Entity> |
DIRECT_KILLER_ENTITY |
static LootContextParameter<Float> |
EXPLOSION_RADIUS |
static LootContextParameter<Entity> |
KILLER_ENTITY |
static LootContextParameter<PlayerEntity> |
LAST_DAMAGE_PLAYER |
static LootContextParameter<Vec3d> |
ORIGIN |
static LootContextParameter<Entity> |
THIS_ENTITY |
static LootContextParameter<ItemStack> |
TOOL |
Constructor and Description |
---|
LootContextParameters() |
Modifier and Type | Method and Description |
---|---|
private static <T> LootContextParameter<T> |
register(String name) |
public static final LootContextParameter<Entity> THIS_ENTITY
public static final LootContextParameter<PlayerEntity> LAST_DAMAGE_PLAYER
public static final LootContextParameter<DamageSource> DAMAGE_SOURCE
public static final LootContextParameter<Entity> KILLER_ENTITY
public static final LootContextParameter<Entity> DIRECT_KILLER_ENTITY
public static final LootContextParameter<Vec3d> ORIGIN
public static final LootContextParameter<BlockState> BLOCK_STATE
public static final LootContextParameter<BlockEntity> BLOCK_ENTITY
public static final LootContextParameter<ItemStack> TOOL
public static final LootContextParameter<Float> EXPLOSION_RADIUS
private static <T> LootContextParameter<T> register(String name)