java.lang.Object
io.github.pylonmc.pylon.core.block.PylonBlock
io.github.pylonmc.pylon.base.content.machines.simple.GrindstoneHandle
All Implemented Interfaces:
io.github.pylonmc.pylon.core.block.base.PylonInteractBlock

public class GrindstoneHandle extends io.github.pylonmc.pylon.core.block.PylonBlock implements io.github.pylonmc.pylon.core.block.base.PylonInteractBlock
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.github.pylonmc.pylon.core.block.PylonBlock

    io.github.pylonmc.pylon.core.block.PylonBlock.Companion
  • Field Summary

    Fields inherited from class io.github.pylonmc.pylon.core.block.PylonBlock

    Companion
  • Constructor Summary

    Constructors
    Constructor
    Description
    GrindstoneHandle(org.bukkit.block.Block block, io.github.pylonmc.pylon.core.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)
     

    Methods inherited from class io.github.pylonmc.pylon.core.block.PylonBlock

    getBlock, getBlockTextureEntity, getBlockTextureItem, getDefaultItem, getDefaultWailaTranslationKey, getDisableBlockTextureEntity, getDropItem, getKey, getPickItem, getPylonBlock, getSchema, getSettings, getWaila, isVanillaBlock, postLoad, register, setDisableBlockTextureEntity, setupBlockTexture, updateBlockTexture, write, writeDebugInfo

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GrindstoneHandle

      public GrindstoneHandle(org.bukkit.block.Block block, io.github.pylonmc.pylon.core.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)
      Specified by:
      onInteract in interface io.github.pylonmc.pylon.core.block.base.PylonInteractBlock