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.CompanionNested classes/interfaces inherited from interface io.github.pylonmc.pylon.core.block.base.PylonEntityHolderBlock
io.github.pylonmc.pylon.core.block.base.PylonEntityHolderBlock.Companion -
Field Summary
FieldsFields inherited from class io.github.pylonmc.pylon.core.block.PylonBlock
CompanionFields inherited from interface io.github.pylonmc.pylon.core.block.base.PylonEntityHolderBlock
Companion -
Constructor Summary
ConstructorsConstructorDescriptionSmelteryOutputHatch(@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 TypeMethodDescriptiongetSuppliedFluids(double deltaSeconds) voidonFluidRemoved(@NotNull io.github.pylonmc.pylon.core.fluid.PylonFluid fluid, double amount) Methods inherited from class io.github.pylonmc.pylon.base.content.machines.smelting.SmelteryComponent
getControllerMethods 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, writeDebugInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.pylonmc.pylon.core.block.base.PylonBreakHandler
onBreakMethods inherited from interface io.github.pylonmc.pylon.core.block.base.PylonEntityHolderBlock
addEntity, addEntity, areAllHeldEntitiesLoaded, getHeldEntities, getHeldEntity, getHeldEntity, getHeldEntityOrThrow, getHeldEntityOrThrow, getHeldEntityUuid, getHeldEntityUuidOrThrow, getHeldPylonEntity, getHeldPylonEntityOrThrow, isHeldEntityPresent, postBreakMethods inherited from interface io.github.pylonmc.pylon.core.block.base.PylonFluidBlock
fluidAmountRequested, onFluidAddedMethods 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:
getSuppliedFluidsin interfaceio.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:
onFluidRemovedin interfaceio.github.pylonmc.pylon.core.block.base.PylonFluidBlock
-