类的使用
org.bukkit.loot.LootContext.Builder
使用LootContext.Builder的程序包
-
org.bukkit.loot中LootContext.Builder的使用
修饰符和类型方法说明LootContext.Builder.killer(@Nullable HumanEntity killer) LootContext.Builder.lootedEntity(@Nullable Entity lootedEntity) 被杀死的实体。LootContext.Builder.lootingModifier(int modifier) 已过时。不再起作用LootContext.Builder.luck(float luck) 设置生成战利品时的幸运值。