接口的使用
org.bukkit.inventory.meta.components.KineticWeaponComponent.Condition
-
org.bukkit.inventory.meta.components中KineticWeaponComponent.Condition的使用
修饰符和类型方法说明KineticWeaponComponent.getDamageConditions()Gets the conditions required for the weapon to damage the target.KineticWeaponComponent.getDismountConditions()Gets the conditions required for the weapon to dismount the target.KineticWeaponComponent.getKnockbackConditions()Gets the conditions required for the weapon to knockback the target.修饰符和类型方法说明voidKineticWeaponComponent.setDamageConditions(@Nullable KineticWeaponComponent.Condition condition) Sets the conditions required for the weapon to damage the target.voidKineticWeaponComponent.setDismountConditions(@Nullable KineticWeaponComponent.Condition condition) Sets the conditions required for the weapon to dismount the target.voidKineticWeaponComponent.setKnockbackConditions(@Nullable KineticWeaponComponent.Condition condition) Sets the conditions required for the weapon to knockback the target.