Class RedstoneSolderingIron

java.lang.Object
io.github.pylonmc.rebar.item.RebarItem
io.github.pylonmc.pylon.content.assembling.RedstoneSolderingIron
All Implemented Interfaces:
io.github.pylonmc.rebar.item.base.RebarBlockInteractor, io.github.pylonmc.rebar.item.base.RebarCooldownable, net.kyori.adventure.key.Keyed, org.bukkit.Keyed

public class RedstoneSolderingIron extends io.github.pylonmc.rebar.item.RebarItem implements io.github.pylonmc.rebar.item.base.RebarBlockInteractor
  • 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.RebarBlockInteractor

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

    Fields
    Modifier and Type
    Field
    Description
    final int
     
    final int
     
    final String
     

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

    Companion

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

    Companion
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    @NotNull List<@NotNull io.github.pylonmc.rebar.i18n.RebarArgument>
     
    void
    onUsedToClickBlock(@NotNull org.bukkit.event.player.PlayerInteractEvent event, @NotNull org.bukkit.event.EventPriority priority)
     
    boolean
     

    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
  • Field Details

    • toolType

      public final String toolType
    • cooldownTicks

      public final int cooldownTicks
    • durability

      public final int durability
  • Constructor Details

    • RedstoneSolderingIron

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

    • getPlaceholders

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

      public void onUsedToClickBlock(@NotNull @NotNull org.bukkit.event.player.PlayerInteractEvent event, @NotNull @NotNull org.bukkit.event.EventPriority priority)
      Specified by:
      onUsedToClickBlock in interface io.github.pylonmc.rebar.item.base.RebarBlockInteractor
    • respectCooldown

      public boolean respectCooldown()
      Specified by:
      respectCooldown in interface io.github.pylonmc.rebar.item.base.RebarCooldownable