Class SolarPurificationTower

java.lang.Object
io.github.pylonmc.pylon.core.block.PylonBlock
io.github.pylonmc.pylon.base.content.machines.hydraulics.SolarPurificationTower
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.PylonFluidBufferBlock, io.github.pylonmc.pylon.core.block.base.PylonFluidPointDirectional, io.github.pylonmc.pylon.core.block.base.PylonMultiblock, io.github.pylonmc.pylon.core.block.base.PylonSimpleMultiblock, io.github.pylonmc.pylon.core.block.base.PylonTickingBlock

public class SolarPurificationTower extends io.github.pylonmc.pylon.core.block.PylonBlock implements io.github.pylonmc.pylon.core.block.base.PylonSimpleMultiblock, io.github.pylonmc.pylon.core.block.base.PylonTickingBlock, io.github.pylonmc.pylon.core.block.base.PylonFluidBufferBlock
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

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

    io.github.pylonmc.pylon.core.block.base.PylonFluidBufferBlock.Companion

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

    io.github.pylonmc.pylon.core.block.base.PylonSimpleMultiblock.Companion, io.github.pylonmc.pylon.core.block.base.PylonSimpleMultiblock.MultiblockComponent, io.github.pylonmc.pylon.core.block.base.PylonSimpleMultiblock.MultiblockGhostBlock, io.github.pylonmc.pylon.core.block.base.PylonSimpleMultiblock.PylonMultiblockComponent, io.github.pylonmc.pylon.core.block.base.PylonSimpleMultiblock.VanillaMultiblockComponent

    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
    Modifier and Type
    Field
    Description
    final double
     
    final int
     
    final double
     
    final double
     
    final double
     
    final int
     

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

    Companion

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

    Companion

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

    Companion

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

    Companion
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    @NotNull Map<@NotNull org.joml.Vector3i,@NotNull io.github.pylonmc.pylon.core.block.base.PylonSimpleMultiblock.MultiblockComponent>
     
    @Nullable org.bukkit.block.BlockFace
     
    void
    tick(double deltaSeconds)
     

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

    addFluid, canSetFluid, createFluidBuffer, deleteFluidBuffer, fluidAmount, fluidAmountRequested, fluidCapacity, fluidSpaceRemaining, getSuppliedFluids, hasFluid, onFluidAdded, onFluidRemoved, removeFluid, setFluid, setFluidCapacity

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

    getDirectionalPoint

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

    getBlock, isFormedAndFullyLoaded, onMultiblockFormed, onMultiblockUnformed

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

    checkFormed, getChunksOccupied, getHorizontalRadius, getMaxCorner, getMinCorner, isPartOfMultiblock, setFacing, spawnGhostBlocks, updateGhostBlockColors, validStructures

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

    getTickInterval, isAsync, setAsync, setTickInterval
  • Field Details

    • purificationSpeed

      public final double purificationSpeed
    • purificationEfficiency

      public final double purificationEfficiency
    • hydraulicFluidBuffer

      public final double hydraulicFluidBuffer
    • rainSpeedFraction

      public final double rainSpeedFraction
    • lensLayers

      public final int lensLayers
    • tickInterval

      public final int tickInterval
  • Constructor Details

    • SolarPurificationTower

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

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

    • getComponents

      @NotNull public @NotNull Map<@NotNull org.joml.Vector3i,@NotNull io.github.pylonmc.pylon.core.block.base.PylonSimpleMultiblock.MultiblockComponent> getComponents()
      Specified by:
      getComponents in interface io.github.pylonmc.pylon.core.block.base.PylonSimpleMultiblock
    • tick

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

      @Nullable public @Nullable org.bukkit.block.BlockFace getFacing()
      Specified by:
      getFacing in interface io.github.pylonmc.pylon.core.block.base.PylonDirectionalBlock
      Specified by:
      getFacing in interface io.github.pylonmc.pylon.core.block.base.PylonFluidPointDirectional
      Specified by:
      getFacing in interface io.github.pylonmc.pylon.core.block.base.PylonSimpleMultiblock