net.minecraft.world.gen.loot

public class LootContext

bcl
net.minecraft.class_2782
net.minecraft.world.gen.loot.LootContext
net.minecraft.world.storage.loot.LootContext

Field summary

Modifier and TypeField
private final float
a
field_13188
luck
luck
private final ServerWorld
b
field_13189
world
world
private final LootTables
c
field_13190
lootTables
lootTableManager
private final Entity
d
field_13191
thisEntity
lootedEntity
private final PlayerEntity
e
field_13192
killerPlayer
player
private final DamageSource
f
field_13193
damageSource
damageSource
private final Set<LootTable>
g
field_13194
visitedLootTables
lootTables

Constructor summary

ModifierConstructor
public (float luck, ServerWorld world, LootTables lootTables, Entity thisEntity, PlayerEntity killerPlayer, DamageSource damageSource)

Method summary

Modifier and TypeMethod
public Entity
a()
method_11986()
getThis()
getLootedEntity()
public Entity
b()
method_11989()
getKillerPlayer()
getKillerPlayer()
public Entity
c()
method_11991()
getKiller()
getKiller()
public boolean
a(bck arg0)
method_11987(class_2780 arg0)
addVisitedLootTable(LootTable lootTable)
addLootTable(LootTable lootTableIn)
public void
b(bck arg0)
method_11990(class_2780 arg0)
removeVisitedLootTable(LootTable lootTable)
removeLootTable(LootTable lootTableIn)
public LootTables
e()
method_11992()
getLootTables()
getLootTableManager()
public float
f()
method_11993()
getLuck()
getLuck()
public Entity
a(bcl$b arg0)
method_11988(class_2782$class_2784 arg0)
getTarget(LootContext$EntityTarget target)
getEntity(LootContext$EntityTarget target)