Class HydraulicCoreDrill
java.lang.Object
io.github.pylonmc.pylon.core.block.PylonBlock
io.github.pylonmc.pylon.base.content.machines.simple.CoreDrill
io.github.pylonmc.pylon.base.content.machines.hydraulics.HydraulicCoreDrill
- 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.PylonMultiblock,io.github.pylonmc.pylon.core.block.base.PylonSimpleMultiblock,io.github.pylonmc.pylon.core.block.base.PylonTickingBlock
public class HydraulicCoreDrill
extends CoreDrill
implements io.github.pylonmc.pylon.core.block.base.PylonTickingBlock
-
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.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 intfinal doublestatic final io.github.pylonmc.pylon.core.config.ConfigFields inherited from class io.github.pylonmc.pylon.base.content.machines.simple.CoreDrill
cycling, drillMaterial, output, rotationDuration, rotationsPerCycleFields inherited from class io.github.pylonmc.pylon.core.block.PylonBlock
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
ConstructorsConstructorDescriptionHydraulicCoreDrill(@NotNull org.bukkit.block.Block block, @NotNull io.github.pylonmc.pylon.core.block.context.BlockCreateContext context) HydraulicCoreDrill(@NotNull org.bukkit.block.Block block, @NotNull org.bukkit.persistence.PersistentDataContainer pdc) -
Method Summary
Methods inherited from class io.github.pylonmc.pylon.base.content.machines.simple.CoreDrill
cycle, getCycleDuration, getDrillDisplay, getDrillDisplayMatrix, getRotationDuration, getRotationsPerCycle, isCyclingMethods 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.PylonMultiblock
getBlock, isFormedAndFullyLoaded, onMultiblockFormed, onMultiblockUnformedMethods inherited from interface io.github.pylonmc.pylon.core.block.base.PylonSimpleMultiblock
checkFormed, getChunksOccupied, getFacing, 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
-
settings
public static final io.github.pylonmc.pylon.core.config.Config settings -
HYDRAULIC_FLUID_USAGE
public static final int HYDRAULIC_FLUID_USAGE -
hydraulicFluidPerCycle
public final double hydraulicFluidPerCycle
-
-
Constructor Details
-
HydraulicCoreDrill
public HydraulicCoreDrill(@NotNull @NotNull org.bukkit.block.Block block, @NotNull @NotNull io.github.pylonmc.pylon.core.block.context.BlockCreateContext context) -
HydraulicCoreDrill
public HydraulicCoreDrill(@NotNull @NotNull org.bukkit.block.Block block, @NotNull @NotNull org.bukkit.persistence.PersistentDataContainer pdc)
-
-
Method Details
-
getComponents
@NotNull public @NotNull Map<org.joml.Vector3i,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
-
finishCycle
protected void finishCycle()- Overrides:
finishCyclein classCoreDrill
-