Class AbstractRedstoneReceivingModule
java.lang.Object
me.desht.pneumaticcraft.common.tubemodules.AbstractTubeModule
me.desht.pneumaticcraft.common.tubemodules.AbstractRedstoneReceivingModule
- Direct Known Subclasses:
RegulatorModule,SafetyValveModule,VacuumModule
-
Field Summary
Fields inherited from class me.desht.pneumaticcraft.common.tubemodules.AbstractTubeModule
advancedConfig, dir, higherBound, lowerBound, MAX_VALUE, pressureTube, upgraded -
Method Summary
Modifier and TypeMethodDescriptionvoidintfloatbooleanhasGui()Does this module have a gui? Server also needs to know about this, since module GUI's are opened in response to a packet from the server.voidvoidreadFromNBT(net.minecraft.nbt.CompoundTag tag) voidnet.minecraft.nbt.CompoundTagwriteToNBT(net.minecraft.nbt.CompoundTag tag) Methods inherited from class me.desht.pneumaticcraft.common.tubemodules.AbstractTubeModule
canUpgrade, equals, getDirection, getDrops, getHeight, getItem, getRedstoneLevel, getRenderBoundingBox, getShape, getThreshold, getTube, getType, getWidth, hashCode, isFake, isInline, isInlineAndFocused, isUpgraded, markFake, onActivated, onNeighborTileUpdate, onPlaced, onRemoved, sendDescriptionPacket, setChanged, tickClient, tickServer, updateNeighbors, upgrade
-
Method Details
-
readFromNBT
public void readFromNBT(net.minecraft.nbt.CompoundTag tag) - Overrides:
readFromNBTin classAbstractTubeModule
-
writeToNBT
public net.minecraft.nbt.CompoundTag writeToNBT(net.minecraft.nbt.CompoundTag tag) - Overrides:
writeToNBTin classAbstractTubeModule
-
addInfo
- Overrides:
addInfoin classAbstractTubeModule
-
onNeighborBlockUpdate
public void onNeighborBlockUpdate()- Overrides:
onNeighborBlockUpdatein classAbstractTubeModule
-
getReceivingRedstoneLevel
public int getReceivingRedstoneLevel() -
getThreshold
public float getThreshold() -
hasGui
public boolean hasGui()Description copied from class:AbstractTubeModuleDoes this module have a gui? Server also needs to know about this, since module GUI's are opened in response to a packet from the server.- Overrides:
hasGuiin classAbstractTubeModule- Returns:
- true if the module has a gui
-
tickCommon
public void tickCommon()- Overrides:
tickCommonin classAbstractTubeModule
-