Uses of Interface
org.bukkit.inventory.meta.components.BlocksAttacksComponent.DamageReduction
Packages that use BlocksAttacksComponent.DamageReduction
Package
Description
Isolated components which may form part of item meta.
-
Uses of BlocksAttacksComponent.DamageReduction in org.bukkit.inventory.meta.components
Methods in org.bukkit.inventory.meta.components that return BlocksAttacksComponent.DamageReductionModifier and TypeMethodDescriptionBlocksAttacksComponent.addDamageReduction(Collection<DamageType> types, float base, float factor, float horizontalBlockingAngle) Add a new damage reduction to this component, which blocks specific types of attacks.BlocksAttacksComponent.addDamageReduction(DamageType type, float base, float factor, float horizontalBlockingAngle) Add a new damage reduction to this component, which blocks specific types of attacks.BlocksAttacksComponent.addDamageReduction(Tag<DamageType> tag, float base, float factor, float horizontalBlockingAngle) Add a new damage reduction to this component, which blocks specific types of attacks.Methods in org.bukkit.inventory.meta.components that return types with arguments of type BlocksAttacksComponent.DamageReductionModifier and TypeMethodDescriptionBlocksAttacksComponent.getDamageReductions()Get the list ofDamageReductionsthat apply to this item.Methods in org.bukkit.inventory.meta.components with parameters of type BlocksAttacksComponent.DamageReductionModifier and TypeMethodDescriptionbooleanBlocksAttacksComponent.removeDamageReduction(BlocksAttacksComponent.DamageReduction reduction) Remove the givenBlocksAttacksComponent.DamageReductionfrom this item.Method parameters in org.bukkit.inventory.meta.components with type arguments of type BlocksAttacksComponent.DamageReductionModifier and TypeMethodDescriptionvoidBlocksAttacksComponent.setDamageReductions(List<BlocksAttacksComponent.DamageReduction> reductions) Set the list ofDamageReductionsto apply to this item.