类的使用
org.bukkit.loot.LootContext.Builder
使用LootContext.Builder的程序包
-
org.bukkit.loot中LootContext.Builder的使用
修饰符和类型方法说明LootContext.Builder.killer(@Nullable HumanEntity killer) Set theHumanEntitythat 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.