类的使用
org.bukkit.loot.LootContext.Builder
-
org.bukkit.loot中LootContext.Builder的使用
修饰符和类型方法说明LootContext.Builder.killer
(@Nullable HumanEntity killer) Set theHumanEntity
that killedLootContext.getLootedEntity()
.LootContext.Builder.lootedEntity
(@Nullable Entity lootedEntity) The entity that was killed.LootContext.Builder.lootingModifier
(int modifier) 已过时。no longer functionalLootContext.Builder.luck
(float luck) Set how much luck to have when generating loot.