Class VacuumModule
java.lang.Object
me.desht.pneumaticcraft.common.tubemodules.AbstractTubeModule
me.desht.pneumaticcraft.common.tubemodules.AbstractRedstoneReceivingModule
me.desht.pneumaticcraft.common.tubemodules.VacuumModule
- All Implemented Interfaces:
IInfluenceDispersing
-
Field Summary
FieldsFields inherited from class me.desht.pneumaticcraft.common.tubemodules.AbstractTubeModule
advancedConfig, dir, higherBound, lowerBound, MAX_VALUE, pressureTube, upgraded -
Constructor Summary
ConstructorsConstructorDescriptionVacuumModule(net.minecraft.core.Direction dir, PressureTubeBlockEntity pressureTube) -
Method Summary
Modifier and TypeMethodDescriptionbooleannet.minecraft.world.item.ItemgetItem()intintbooleanisInline()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) voidvoidreadFromNBT(net.minecraft.nbt.CompoundTag tag) voidsetLastAmount(int lastAmount) voidvoidnet.minecraft.nbt.CompoundTagwriteToNBT(net.minecraft.nbt.CompoundTag tag) Methods inherited from class me.desht.pneumaticcraft.common.tubemodules.AbstractRedstoneReceivingModule
addInfo, getReceivingRedstoneLevel, getThreshold, hasGuiMethods inherited from class me.desht.pneumaticcraft.common.tubemodules.AbstractTubeModule
equals, getDirection, getDrops, getHeight, getRedstoneLevel, getRenderBoundingBox, getShape, getThreshold, getTube, getType, getWidth, hashCode, isFake, isUpgraded, isValid, markFake, onActivated, onNeighborTileUpdate, onPlaced, onRemoved, sendDescriptionPacket, setChanged, tickClient, updateNeighbors, upgrade
-
Field Details
-
rotation
public float rotation -
oldRotation
public float oldRotation
-
-
Constructor Details
-
VacuumModule
-
-
Method Details
-
getItem
public net.minecraft.world.item.Item getItem()- Specified by:
getItemin classAbstractTubeModule
-
tickCommon
public void tickCommon()- Overrides:
tickCommonin classAbstractRedstoneReceivingModule
-
onNeighborBlockUpdate
public void onNeighborBlockUpdate()- Overrides:
onNeighborBlockUpdatein classAbstractRedstoneReceivingModule
-
tickServer
public void tickServer()- Overrides:
tickServerin classAbstractTubeModule
-
canUpgrade
public boolean canUpgrade()- Overrides:
canUpgradein classAbstractTubeModule
-
isInline
public boolean isInline()- Overrides:
isInlinein classAbstractTubeModule
-
getLastAmount
public int getLastAmount() -
setLastAmount
public void setLastAmount(int lastAmount) -
getMaxDispersion
public int getMaxDispersion()- Specified by:
getMaxDispersionin interfaceIInfluenceDispersing
-
onAirDispersion
public void onAirDispersion(int amount) - Specified by:
onAirDispersionin interfaceIInfluenceDispersing
-
readFromNBT
public void readFromNBT(net.minecraft.nbt.CompoundTag tag) - Overrides:
readFromNBTin classAbstractRedstoneReceivingModule
-
writeToNBT
public net.minecraft.nbt.CompoundTag writeToNBT(net.minecraft.nbt.CompoundTag tag) - Overrides:
writeToNBTin 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
-