Uses of Class
org.bukkit.loot.LootContext.Builder
Package | Description |
---|---|
org.bukkit.loot |
Classes relevant to loot table manipulation and generation.
|
-
Uses of LootContext.Builder in org.bukkit.loot
Methods in org.bukkit.loot that return LootContext.Builder Modifier and Type Method Description LootContext.Builder
LootContext.Builder. killer(HumanEntity killer)
Set theHumanEntity
that killedLootContext.getLootedEntity()
.LootContext.Builder
LootContext.Builder. lootedEntity(Entity lootedEntity)
The entity that was killed.LootContext.Builder
LootContext.Builder. lootingModifier(int modifier)
Set theEnchantment.LOOT_BONUS_MOBS
level equivalent to use when generating loot.LootContext.Builder
LootContext.Builder. luck(float luck)
Set how much luck to have when generating loot.