Class BeheadingSword

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

public class BeheadingSword extends io.github.pylonmc.rebar.item.RebarItem implements io.github.pylonmc.rebar.item.base.RebarWeapon
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.github.pylonmc.rebar.item.RebarItem

    io.github.pylonmc.rebar.item.RebarItem.Companion

    Nested classes/interfaces inherited from interface io.github.pylonmc.rebar.item.base.RebarWeapon

    io.github.pylonmc.rebar.item.base.RebarWeapon.Companion
  • Field Summary

    Fields inherited from class io.github.pylonmc.rebar.item.RebarItem

    Companion

    Fields inherited from interface io.github.pylonmc.rebar.item.base.RebarWeapon

    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.rebar.i18n.RebarArgument>
     
    void
    onUsedToKillEntity(@NotNull org.bukkit.event.entity.EntityDeathEvent event, @NotNull org.bukkit.event.EventPriority priority)
     

    Methods inherited from class io.github.pylonmc.rebar.item.RebarItem

    equals, fromStack, fromStack, getAddon, getKey, getRebarBlock, getResearch, getResearchBypassPermission, getSchema, getSettings, getSettings, getStack, hashCode, isDisabled, isRebarItem, isRebarItem, place, prePlace, register, register, suppressNameWarnings

    Methods inherited from class 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.rebar.item.base.RebarWeapon

    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, @NotNull @NotNull org.bukkit.event.EventPriority priority)
      Specified by:
      onUsedToKillEntity in interface io.github.pylonmc.rebar.item.base.RebarWeapon
    • getPlaceholders

      @NotNull public @NotNull List<io.github.pylonmc.rebar.i18n.RebarArgument> getPlaceholders()
      Overrides:
      getPlaceholders in class io.github.pylonmc.rebar.item.RebarItem