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 ofDamageReductions
that apply to this item.Methods in org.bukkit.inventory.meta.components with parameters of type BlocksAttacksComponent.DamageReductionModifier and TypeMethodDescriptionboolean
BlocksAttacksComponent.removeDamageReduction
(BlocksAttacksComponent.DamageReduction reduction) Remove the givenBlocksAttacksComponent.DamageReduction
from this item.Method parameters in org.bukkit.inventory.meta.components with type arguments of type BlocksAttacksComponent.DamageReductionModifier and TypeMethodDescriptionvoid
BlocksAttacksComponent.setDamageReductions
(List<BlocksAttacksComponent.DamageReduction> reductions) Set the list ofDamageReductions
to apply to this item.