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.CompanionNested classes/interfaces inherited from interface io.github.pylonmc.rebar.block.base.RebarInteractBlock
io.github.pylonmc.rebar.block.base.RebarInteractBlock.Companion -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal io.github.pylonmc.rebar.util.RandomizedSoundfinal io.github.pylonmc.rebar.util.RandomizedSoundFields inherited from class io.github.pylonmc.rebar.block.RebarBlock
CompanionFields inherited from interface io.github.pylonmc.rebar.block.base.RebarInteractBlock
Companion -
Constructor Summary
ConstructorsConstructorDescriptionGrindstoneHandle(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 TypeMethodDescriptionvoidonInteract(@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, writeDebugInfoMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
onInteractin interfaceio.github.pylonmc.rebar.block.base.RebarInteractBlock
-