类 SpawnerEntry.Equipment
java.lang.Object
org.bukkit.block.spawner.SpawnerEntry.Equipment
- 封闭类:
- SpawnerEntry
表示应用于生成实体的装备战利品表。
原文:Represents the equipment loot table applied to a spawned entity.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明获取实体每个槽位掉落概率的可变映射。获取实体的战利品表。void设置实体的战利品表。
-
构造器详细资料
-
Equipment
-
-
方法详细资料
-
setEquipmentLootTable
设置实体的战利品表。
要移除战利品表,使用null。 原文:Set the loot table for the entity.
To remove a loot table use null. -
getEquipmentLootTable
获取实体的战利品表。
原文:Gets the loot table for the entity.
If an entity does not have a loot table, this will return null, NOT an empty loot table.- 返回:
- 这个实体的战利品表。 原文:the loot table for this entity.
-
getDropChances
获取实体每个槽位掉落概率的可变映射。 如果非null,实体的掉落概率将被给定的值覆盖。 原文:Gets a mutable map of the drop chances for each slot of the entity. If non-null, the entity's drop chances will be overridden with the given value.- 返回:
- 掉落概率的可变映射 原文:mutable map of drop chances
-