java.lang.Object
io.github.pylonmc.pylon.core.block.PylonBlock
io.github.pylonmc.pylon.base.content.machines.smelting.SmelteryComponent
io.github.pylonmc.pylon.base.content.machines.smelting.SmelteryHopper
All Implemented Interfaces:
io.github.pylonmc.pylon.core.block.base.PylonTickingBlock, io.github.pylonmc.pylon.core.block.base.PylonVanillaContainerBlock

public final class SmelteryHopper extends SmelteryComponent implements io.github.pylonmc.pylon.core.block.base.PylonTickingBlock, io.github.pylonmc.pylon.core.block.base.PylonVanillaContainerBlock
  • Nested Class Summary

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

    io.github.pylonmc.pylon.core.block.PylonBlock.Companion

    Nested classes/interfaces inherited from interface io.github.pylonmc.pylon.core.block.base.PylonTickingBlock

    io.github.pylonmc.pylon.core.block.base.PylonTickingBlock.Companion
  • Field Summary

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

    Companion

    Fields inherited from interface io.github.pylonmc.pylon.core.block.base.PylonTickingBlock

    Companion
  • Constructor Summary

    Constructors
    Constructor
    Description
    SmelteryHopper(@NotNull org.bukkit.block.Block block, @NotNull io.github.pylonmc.pylon.core.block.context.BlockCreateContext context)
     
    SmelteryHopper(@NotNull org.bukkit.block.Block block, @NotNull org.bukkit.persistence.PersistentDataContainer pdc)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onItemMoveFrom(org.bukkit.event.inventory.InventoryMoveItemEvent event)
     
    void
    tick(double deltaSeconds)
     

    Methods inherited from class io.github.pylonmc.pylon.base.content.machines.smelting.SmelteryComponent

    getController

    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

    Methods inherited from interface io.github.pylonmc.pylon.core.block.base.PylonTickingBlock

    getTickInterval, isAsync, setAsync, setTickInterval

    Methods inherited from interface io.github.pylonmc.pylon.core.block.base.PylonVanillaContainerBlock

    onInventoryOpen, onItemMoveTo
  • Constructor Details

    • SmelteryHopper

      public SmelteryHopper(@NotNull @NotNull org.bukkit.block.Block block, @NotNull @NotNull io.github.pylonmc.pylon.core.block.context.BlockCreateContext context)
    • SmelteryHopper

      public SmelteryHopper(@NotNull @NotNull org.bukkit.block.Block block, @NotNull @NotNull org.bukkit.persistence.PersistentDataContainer pdc)
  • Method Details

    • onItemMoveFrom

      public void onItemMoveFrom(org.bukkit.event.inventory.InventoryMoveItemEvent event)
      Specified by:
      onItemMoveFrom in interface io.github.pylonmc.pylon.core.block.base.PylonVanillaContainerBlock
    • tick

      public void tick(double deltaSeconds)
      Specified by:
      tick in interface io.github.pylonmc.pylon.core.block.base.PylonTickingBlock