Class GrindstoneHandle

java.lang.Object
io.github.pylonmc.rebar.block.RebarBlock
io.github.pylonmc.pylon.content.machines.simple.GrindstoneHandle
All Implemented Interfaces:
io.github.pylonmc.rebar.block.base.RebarInteractBlock, net.kyori.adventure.key.Keyed, org.bukkit.Keyed

public class GrindstoneHandle extends io.github.pylonmc.rebar.block.RebarBlock implements io.github.pylonmc.rebar.block.base.RebarInteractBlock
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.github.pylonmc.rebar.block.RebarBlock

    io.github.pylonmc.rebar.block.RebarBlock.Companion

    Nested classes/interfaces inherited from interface io.github.pylonmc.rebar.block.base.RebarInteractBlock

    io.github.pylonmc.rebar.block.base.RebarInteractBlock.Companion
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final io.github.pylonmc.rebar.util.RandomizedSound
     
    final io.github.pylonmc.rebar.util.RandomizedSound
     

    Fields inherited from class io.github.pylonmc.rebar.block.RebarBlock

    Companion

    Fields inherited from interface io.github.pylonmc.rebar.block.base.RebarInteractBlock

    Companion
  • Constructor Summary

    Constructors
    Constructor
    Description
    GrindstoneHandle(org.bukkit.block.Block block, io.github.pylonmc.rebar.block.context.BlockCreateContext context)
     
    GrindstoneHandle(org.bukkit.block.Block block, org.bukkit.persistence.PersistentDataContainer pdc)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onInteract(@NotNull org.bukkit.event.player.PlayerInteractEvent event, @NotNull org.bukkit.event.EventPriority priority)
     

    Methods inherited from class io.github.pylonmc.rebar.block.RebarBlock

    getBlock, getBlockTextureEntity, getBlockTextureItem, getBlockTextureProperties, getDefaultItem, getDefaultWailaTranslationKey, getDisableBlockTextureEntity, getDropItem, getKey, getLoreTranslationKey, getNameTranslationKey, getPickItem, getRebarBlock, getRebarBlockKeyKey, getRebarBlockPositionKey, getRebarBlockTextureEntityKey, getSchema, getSettings, getWaila, isVanillaBlock, postInitialise, postLoad, refreshBlockTextureItem, register, scheduleBlockTextureItemRefresh, setDisableBlockTextureEntity, setupBlockTexture, write, writeDebugInfo

    Methods inherited from class Object

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

    Methods inherited from interface org.bukkit.Keyed

    key
  • Field Details

    • sound

      public final io.github.pylonmc.rebar.util.RandomizedSound sound
    • failSound

      public final io.github.pylonmc.rebar.util.RandomizedSound failSound
  • Constructor Details

    • GrindstoneHandle

      public GrindstoneHandle(org.bukkit.block.Block block, io.github.pylonmc.rebar.block.context.BlockCreateContext context)
    • GrindstoneHandle

      public GrindstoneHandle(org.bukkit.block.Block block, org.bukkit.persistence.PersistentDataContainer pdc)
  • Method Details

    • onInteract

      public void onInteract(@NotNull @NotNull org.bukkit.event.player.PlayerInteractEvent event, @NotNull @NotNull org.bukkit.event.EventPriority priority)
      Specified by:
      onInteract in interface io.github.pylonmc.rebar.block.base.RebarInteractBlock