Class SmelteryOutputHatch

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.SmelteryOutputHatch
All Implemented Interfaces:
io.github.pylonmc.pylon.core.block.base.PylonBreakHandler, io.github.pylonmc.pylon.core.block.base.PylonDirectionalBlock, io.github.pylonmc.pylon.core.block.base.PylonEntityHolderBlock, io.github.pylonmc.pylon.core.block.base.PylonFluidBlock, io.github.pylonmc.pylon.core.block.base.PylonFluidPointDirectional

public final class SmelteryOutputHatch extends SmelteryComponent implements io.github.pylonmc.pylon.core.block.base.PylonEntityHolderBlock, io.github.pylonmc.pylon.core.block.base.PylonFluidBlock
  • 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.PylonEntityHolderBlock

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

    Fields
    Modifier and Type
    Field
    Description
    static final double
     

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

    Companion

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

    Companion
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    @NotNull Map<io.github.pylonmc.pylon.core.fluid.PylonFluid,Double>
    getSuppliedFluids(double deltaSeconds)
     
    void
    onFluidRemoved(@NotNull io.github.pylonmc.pylon.core.fluid.PylonFluid fluid, double amount)
     

    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.PylonBreakHandler

    onBreak

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

    addEntity, addEntity, areAllHeldEntitiesLoaded, getHeldEntities, getHeldEntity, getHeldEntity, getHeldEntityOrThrow, getHeldEntityOrThrow, getHeldEntityUuid, getHeldEntityUuidOrThrow, getHeldPylonEntity, getHeldPylonEntityOrThrow, isHeldEntityPresent, postBreak

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

    fluidAmountRequested, onFluidAdded

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

    getDirectionalPoint, getFacing
  • Field Details

    • FLOW_RATE

      public static final double FLOW_RATE
  • Constructor Details

    • SmelteryOutputHatch

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

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

    • getSuppliedFluids

      @NotNull public @NotNull Map<io.github.pylonmc.pylon.core.fluid.PylonFluid,Double> getSuppliedFluids(double deltaSeconds)
      Specified by:
      getSuppliedFluids in interface io.github.pylonmc.pylon.core.block.base.PylonFluidBlock
    • onFluidRemoved

      public void onFluidRemoved(@NotNull @NotNull io.github.pylonmc.pylon.core.fluid.PylonFluid fluid, double amount)
      Specified by:
      onFluidRemoved in interface io.github.pylonmc.pylon.core.block.base.PylonFluidBlock