java.lang.Object
io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem
io.github.thebusybiscuit.slimefun4.implementation.items.armor.SlimefunArmorPiece
All Implemented Interfaces:
Placeable
Direct Known Subclasses:
ElytraCap, HazmatArmorPiece, LongFallBoots, RainbowArmorPiece

public class SlimefunArmorPiece extends SlimefunItem
  • Constructor Details

    • SlimefunArmorPiece

      @ParametersAreNonnullByDefault public SlimefunArmorPiece(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, org.bukkit.inventory.ItemStack[] recipe, @Nullable org.bukkit.potion.PotionEffect[] effects)
  • Method Details

    • getPotionEffects

      public org.bukkit.potion.PotionEffect[] getPotionEffects()
      An Array of PotionEffects which get applied to a Player wearing this SlimefunArmorPiece.
      Returns:
      An array of effects