java.lang.Object
io.github.pylonmc.pylon.core.item.PylonItem
io.github.pylonmc.pylon.base.content.tools.BrickMold
All Implemented Interfaces:
io.github.pylonmc.pylon.core.item.base.PylonBlockInteractor, io.github.pylonmc.pylon.core.item.base.PylonCooldownable, net.kyori.adventure.key.Keyed, org.bukkit.Keyed

public class BrickMold extends io.github.pylonmc.pylon.core.item.PylonItem implements io.github.pylonmc.pylon.core.item.base.PylonBlockInteractor
  • 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
    Modifier and Type
    Field
    Description
    static final int
     

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

    Companion
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    @NotNull List<@NotNull io.github.pylonmc.pylon.core.i18n.PylonArgument>
     
    void
    onUsedToClickBlock(@NotNull org.bukkit.event.player.PlayerInteractEvent event)
     
    boolean
     

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

    • COOLDOWN_TICKS

      public static final int COOLDOWN_TICKS
  • Constructor Details

    • BrickMold

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

    • onUsedToClickBlock

      public void onUsedToClickBlock(@NotNull @NotNull org.bukkit.event.player.PlayerInteractEvent event)
      Specified by:
      onUsedToClickBlock in interface io.github.pylonmc.pylon.core.item.base.PylonBlockInteractor
    • respectCooldown

      public boolean respectCooldown()
      Specified by:
      respectCooldown in interface io.github.pylonmc.pylon.core.item.base.PylonCooldownable
    • getPlaceholders

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