Class BeheadingSword

java.lang.Object
io.github.pylonmc.pylon.core.item.PylonItem
io.github.pylonmc.pylon.base.content.combat.BeheadingSword
All Implemented Interfaces:
io.github.pylonmc.pylon.core.item.base.PylonWeapon, net.kyori.adventure.key.Keyed, org.bukkit.Keyed

public class BeheadingSword extends io.github.pylonmc.pylon.core.item.PylonItem implements io.github.pylonmc.pylon.core.item.base.PylonWeapon
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.github.pylonmc.pylon.core.item.PylonItem

    io.github.pylonmc.pylon.core.item.PylonItem.Companion
  • Field Summary

    Fields inherited from class io.github.pylonmc.pylon.core.item.PylonItem

    Companion
  • Constructor Summary

    Constructors
    Constructor
    Description
    BeheadingSword(@NotNull org.bukkit.inventory.ItemStack stack)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull List<io.github.pylonmc.pylon.core.i18n.PylonArgument>
     
    void
    onUsedToKillEntity(@NotNull org.bukkit.event.entity.EntityDeathEvent event)
     

    Methods inherited from class io.github.pylonmc.pylon.core.item.PylonItem

    equals, fromStack, getAddon, getKey, getPylonBlock, getResearch, getResearchBypassPermission, getSchema, getSettings, getSettings, getStack, hashCode, isDisabled, isPylonItem, place, register, register, suppressNameWarnings

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.bukkit.Keyed

    key

    Methods inherited from interface io.github.pylonmc.pylon.core.item.base.PylonWeapon

    onUsedToDamageEntity
  • Constructor Details

    • BeheadingSword

      public BeheadingSword(@NotNull @NotNull org.bukkit.inventory.ItemStack stack)
  • Method Details

    • onUsedToKillEntity

      public void onUsedToKillEntity(@NotNull @NotNull org.bukkit.event.entity.EntityDeathEvent event)
      Specified by:
      onUsedToKillEntity in interface io.github.pylonmc.pylon.core.item.base.PylonWeapon
    • getPlaceholders

      @NotNull public @NotNull List<io.github.pylonmc.pylon.core.i18n.PylonArgument> getPlaceholders()
      Overrides:
      getPlaceholders in class io.github.pylonmc.pylon.core.item.PylonItem