Class HydraulicFarmer
java.lang.Object
io.github.pylonmc.pylon.core.block.PylonBlock
io.github.pylonmc.pylon.base.content.machines.hydraulics.HydraulicFarmer
- 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 HydraulicFarmer
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 ClassesNested 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.PylonFluidBufferBlock
io.github.pylonmc.pylon.core.block.base.PylonFluidBufferBlock.CompanionNested 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.VanillaMultiblockComponentNested classes/interfaces inherited from interface io.github.pylonmc.pylon.core.block.base.PylonTickingBlock
io.github.pylonmc.pylon.core.block.base.PylonTickingBlock.Companion -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doublestatic final intstatic final intFields inherited from class io.github.pylonmc.pylon.core.block.PylonBlock
CompanionFields inherited from interface io.github.pylonmc.pylon.core.block.base.PylonFluidBufferBlock
CompanionFields inherited from interface io.github.pylonmc.pylon.core.block.base.PylonSimpleMultiblock
CompanionFields inherited from interface io.github.pylonmc.pylon.core.block.base.PylonTickingBlock
Companion -
Constructor Summary
ConstructorsConstructorDescriptionHydraulicFarmer(@NotNull org.bukkit.block.Block block, @NotNull io.github.pylonmc.pylon.core.block.context.BlockCreateContext context) HydraulicFarmer(@NotNull org.bukkit.block.Block block, @NotNull org.bukkit.persistence.PersistentDataContainer pdc) -
Method Summary
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, 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.PylonFluidBufferBlock
addFluid, canSetFluid, createFluidBuffer, deleteFluidBuffer, fluidAmount, fluidAmountRequested, fluidCapacity, fluidSpaceRemaining, getSuppliedFluids, hasFluid, onFluidAdded, onFluidRemoved, removeFluid, setFluid, setFluidCapacityMethods inherited from interface io.github.pylonmc.pylon.core.block.base.PylonFluidPointDirectional
getDirectionalPointMethods inherited from interface io.github.pylonmc.pylon.core.block.base.PylonMultiblock
getBlock, isFormedAndFullyLoaded, onMultiblockFormed, onMultiblockUnformedMethods inherited from interface io.github.pylonmc.pylon.core.block.base.PylonSimpleMultiblock
checkFormed, getChunksOccupied, getHorizontalRadius, getMaxCorner, getMinCorner, isPartOfMultiblock, setFacing, spawnGhostBlocks, updateGhostBlockColors, validStructuresMethods inherited from interface io.github.pylonmc.pylon.core.block.base.PylonTickingBlock
getTickInterval, isAsync, setAsync, setTickInterval
-
Field Details
-
RADIUS
public static final int RADIUS -
TICK_INTERVAL
public static final int TICK_INTERVAL -
HYDRAULIC_FLUID_USAGE
public static final double HYDRAULIC_FLUID_USAGE
-
-
Constructor Details
-
HydraulicFarmer
public HydraulicFarmer(@NotNull @NotNull org.bukkit.block.Block block, @NotNull @NotNull io.github.pylonmc.pylon.core.block.context.BlockCreateContext context) -
HydraulicFarmer
public HydraulicFarmer(@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:
getComponentsin interfaceio.github.pylonmc.pylon.core.block.base.PylonSimpleMultiblock
-
tick
public void tick(double deltaSeconds) - Specified by:
tickin interfaceio.github.pylonmc.pylon.core.block.base.PylonTickingBlock
-
getFacing
@Nullable public @Nullable org.bukkit.block.BlockFace getFacing()- Specified by:
getFacingin interfaceio.github.pylonmc.pylon.core.block.base.PylonDirectionalBlock- Specified by:
getFacingin interfaceio.github.pylonmc.pylon.core.block.base.PylonFluidPointDirectional- Specified by:
getFacingin interfaceio.github.pylonmc.pylon.core.block.base.PylonSimpleMultiblock
-