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