Class RegulatorModule
java.lang.Object
me.desht.pneumaticcraft.common.tubemodules.AbstractTubeModule
me.desht.pneumaticcraft.common.tubemodules.AbstractRedstoneReceivingModule
me.desht.pneumaticcraft.common.tubemodules.RegulatorModule
- All Implemented Interfaces:
IInfluenceDispersing
public class RegulatorModule
extends AbstractRedstoneReceivingModule
implements IInfluenceDispersing
-
Field Summary
Fields inherited from class me.desht.pneumaticcraft.common.tubemodules.AbstractTubeModule
advancedConfig, dir, higherBound, lowerBound, MAX_VALUE, pressureTube, upgraded -
Constructor Summary
ConstructorsConstructorDescriptionRegulatorModule(net.minecraft.core.Direction dir, PressureTubeBlockEntity pressureTube) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.item.ItemgetItem()intfloatbooleanisInline()booleanOnly relevant to inline modules, where the inline module may cover more of the tube than just the side it's installed on.voidonAirDispersion(int amount) voidMethods inherited from class me.desht.pneumaticcraft.common.tubemodules.AbstractRedstoneReceivingModule
addInfo, getReceivingRedstoneLevel, hasGui, readFromNBT, tickCommon, writeToNBTMethods inherited from class me.desht.pneumaticcraft.common.tubemodules.AbstractTubeModule
canConnectTo, canUpgrade, equals, getDirection, getDrops, getHeight, getRedstoneLevel, getRenderBoundingBox, getShape, getThreshold, getTube, getType, getWidth, hashCode, isFake, isUpgraded, isValid, markFake, onActivated, onNeighborTileUpdate, onPlaced, onRemoved, sendDescriptionPacket, setChanged, tickClient, tickServer, updateNeighbors, upgrade
-
Constructor Details
-
RegulatorModule
-
-
Method Details
-
getItem
public net.minecraft.world.item.Item getItem()- Specified by:
getItemin classAbstractTubeModule
-
getMaxDispersion
public int getMaxDispersion()- Specified by:
getMaxDispersionin interfaceIInfluenceDispersing
-
onAirDispersion
public void onAirDispersion(int amount) - Specified by:
onAirDispersionin interfaceIInfluenceDispersing
-
isInline
public boolean isInline()- Overrides:
isInlinein classAbstractTubeModule
-
onNeighborBlockUpdate
public void onNeighborBlockUpdate()- Overrides:
onNeighborBlockUpdatein classAbstractRedstoneReceivingModule
-
getThreshold
public float getThreshold()- Overrides:
getThresholdin classAbstractRedstoneReceivingModule
-
isInlineAndFocused
Description copied from class:AbstractTubeModuleOnly relevant to inline modules, where the inline module may cover more of the tube than just the side it's installed on.- Overrides:
isInlineAndFocusedin classAbstractTubeModule
-