Class SmelteryHopper
java.lang.Object
io.github.pylonmc.rebar.block.RebarBlock
io.github.pylonmc.pylon.content.machines.smelting.SmelteryComponent
io.github.pylonmc.pylon.content.machines.smelting.SmelteryHopper
- All Implemented Interfaces:
io.github.pylonmc.rebar.block.base.RebarBreakHandler, io.github.pylonmc.rebar.block.base.RebarLogisticBlock, io.github.pylonmc.rebar.block.base.RebarTickingBlock, io.github.pylonmc.rebar.block.base.RebarVanillaInventoryBlock, net.kyori.adventure.key.Keyed, org.bukkit.Keyed
public final class SmelteryHopper
extends SmelteryComponent
implements io.github.pylonmc.rebar.block.base.RebarTickingBlock, io.github.pylonmc.rebar.block.base.RebarVanillaInventoryBlock, io.github.pylonmc.rebar.block.base.RebarLogisticBlock, io.github.pylonmc.rebar.block.base.RebarBreakHandler
-
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.RebarLogisticBlock
io.github.pylonmc.rebar.block.base.RebarLogisticBlock.CompanionNested classes/interfaces inherited from interface io.github.pylonmc.rebar.block.base.RebarTickingBlock
io.github.pylonmc.rebar.block.base.RebarTickingBlock.CompanionNested classes/interfaces inherited from interface io.github.pylonmc.rebar.block.base.RebarVanillaInventoryBlock
io.github.pylonmc.rebar.block.base.RebarVanillaInventoryBlock.Companion -
Field Summary
Fields inherited from class io.github.pylonmc.rebar.block.RebarBlock
CompanionFields inherited from interface io.github.pylonmc.rebar.block.base.RebarLogisticBlock
CompanionFields inherited from interface io.github.pylonmc.rebar.block.base.RebarTickingBlock
CompanionFields inherited from interface io.github.pylonmc.rebar.block.base.RebarVanillaInventoryBlock
Companion -
Constructor Summary
ConstructorsConstructorDescriptionSmelteryHopper(@NotNull org.bukkit.block.Block block, @NotNull io.github.pylonmc.rebar.block.context.BlockCreateContext context) SmelteryHopper(@NotNull org.bukkit.block.Block block, @NotNull org.bukkit.persistence.PersistentDataContainer pdc) -
Method Summary
Modifier and TypeMethodDescriptionvoidonBreak(@NotNull List<@NotNull org.bukkit.inventory.ItemStack> drops, @NotNull io.github.pylonmc.rebar.block.context.BlockBreakContext context) voidonItemMoveFrom(org.bukkit.event.inventory.InventoryMoveItemEvent event, @NotNull org.bukkit.event.EventPriority priority) voidvoidtick()Methods inherited from class SmelteryComponent
getControllerMethods 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, 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
keyMethods inherited from interface io.github.pylonmc.rebar.block.base.RebarBreakHandler
postBreak, preBreakMethods inherited from interface io.github.pylonmc.rebar.block.base.RebarLogisticBlock
createLogisticGroup, createLogisticGroup, createLogisticGroup, createLogisticGroup, getBlock, getLogisticGroup, getLogisticGroupOrThrow, getLogisticGroupsMethods inherited from interface io.github.pylonmc.rebar.block.base.RebarTickingBlock
getTickInterval, isAsync, setAsync, setTickIntervalMethods inherited from interface io.github.pylonmc.rebar.block.base.RebarVanillaInventoryBlock
onInventoryOpen, onItemMoveTo
-
Constructor Details
-
SmelteryHopper
public SmelteryHopper(@NotNull @NotNull org.bukkit.block.Block block, @NotNull @NotNull io.github.pylonmc.rebar.block.context.BlockCreateContext context) -
SmelteryHopper
public SmelteryHopper(@NotNull @NotNull org.bukkit.block.Block block, @NotNull @NotNull org.bukkit.persistence.PersistentDataContainer pdc)
-
-
Method Details
-
postInitialise
public void postInitialise()- Overrides:
postInitialisein classio.github.pylonmc.rebar.block.RebarBlock
-
onItemMoveFrom
public void onItemMoveFrom(org.bukkit.event.inventory.InventoryMoveItemEvent event, @NotNull @NotNull org.bukkit.event.EventPriority priority) - Specified by:
onItemMoveFromin interfaceio.github.pylonmc.rebar.block.base.RebarVanillaInventoryBlock
-
onBreak
public void onBreak(@NotNull @NotNull List<@NotNull org.bukkit.inventory.ItemStack> drops, @NotNull @NotNull io.github.pylonmc.rebar.block.context.BlockBreakContext context) - Specified by:
onBreakin interfaceio.github.pylonmc.rebar.block.base.RebarBreakHandler
-
tick
public void tick()- Specified by:
tickin interfaceio.github.pylonmc.rebar.block.base.RebarTickingBlock
-