Package | Description |
---|---|
org.bukkit.loot |
Modifier and Type | Method | Description |
---|---|---|
LootContext.Builder |
LootContext.Builder.killer(HumanEntity killer) |
Set the
HumanEntity that killed
LootContext.getLootedEntity() . |
LootContext.Builder |
LootContext.Builder.lootedEntity(Entity lootedEntity) |
The entity that was killed.
|
LootContext.Builder |
LootContext.Builder.lootingModifier(int modifier) |
Set the
Enchantment.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.
|
Copyright © 2018. All rights reserved.