接口的使用
org.bukkit.inventory.meta.components.AttackRangeComponent
使用AttackRangeComponent的程序包
-
org.bukkit.inventory.meta中AttackRangeComponent的使用
修饰符和类型方法说明ItemMeta.getAttackRange()Gets the attack range component set on this item, or creates an empty instance.修饰符和类型方法说明voidItemMeta.setAttackRange(@Nullable AttackRangeComponent component) Sets the attack range component.