public class ModuleFlowDetector extends TubeModuleRedstoneEmitting implements IInfluenceDispersing
| Modifier and Type | Field and Description |
|---|---|
float |
oldRotation |
float |
rotation |
redstoneadvancedConfig, dir, higherBound, lowerBound, MAX_VALUE, pressureTube, shouldDrop, upgraded| Constructor and Description |
|---|
ModuleFlowDetector(ItemTubeModule item) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInfo(java.util.List<net.minecraft.util.text.ITextComponent> curInfo) |
boolean |
canUpgrade() |
int |
getMaxDispersion() |
boolean |
isInline() |
void |
onAirDispersion(int amount) |
void |
readFromNBT(net.minecraft.nbt.CompoundNBT tag) |
void |
update() |
net.minecraft.nbt.CompoundNBT |
writeToNBT(net.minecraft.nbt.CompoundNBT tag) |
getRedstoneLevelequals, getDirection, getDrops, getHeight, getItem, getRenderBoundingBox, getShape, getThreshold, getTube, getType, getWidth, hasGui, hashCode, isFake, isUpgraded, markFake, onActivated, onNeighborBlockUpdate, onNeighborTileUpdate, onPlaced, onRemoved, sendDescriptionPacket, setDirection, setTube, updateNeighbors, upgradepublic ModuleFlowDetector(ItemTubeModule item)
public void update()
update in class TubeModuleRedstoneEmittingpublic int getMaxDispersion()
getMaxDispersion in interface IInfluenceDispersingpublic void onAirDispersion(int amount)
onAirDispersion in interface IInfluenceDispersingpublic void addInfo(java.util.List<net.minecraft.util.text.ITextComponent> curInfo)
addInfo in class TubeModuleRedstoneEmittingpublic boolean isInline()
isInline in class TubeModulepublic void readFromNBT(net.minecraft.nbt.CompoundNBT tag)
readFromNBT in class TubeModuleRedstoneEmittingpublic net.minecraft.nbt.CompoundNBT writeToNBT(net.minecraft.nbt.CompoundNBT tag)
writeToNBT in class TubeModuleRedstoneEmittingpublic boolean canUpgrade()
canUpgrade in class TubeModule