public abstract class TubeModuleRedstoneReceiving extends TubeModule
advancedConfig, dir, higherBound, lowerBound, MAX_VALUE, pressureTube, shouldDrop, upgraded| Modifier and Type | Method and Description |
|---|---|
void |
addInfo(java.util.List<net.minecraft.util.text.ITextComponent> curInfo) |
int |
getReceivingRedstoneLevel() |
float |
getThreshold() |
boolean |
hasGui()
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.
|
void |
onNeighborBlockUpdate() |
void |
readFromNBT(net.minecraft.nbt.CompoundNBT tag) |
void |
update() |
net.minecraft.nbt.CompoundNBT |
writeToNBT(net.minecraft.nbt.CompoundNBT tag) |
canUpgrade, equals, getDirection, getDrops, getHeight, getItem, getRedstoneLevel, getRenderBoundingBox, getShape, getThreshold, getTube, getType, getWidth, hashCode, isFake, isInline, isUpgraded, markFake, onActivated, onNeighborTileUpdate, onPlaced, onRemoved, sendDescriptionPacket, setDirection, setTube, updateNeighbors, upgradepublic void readFromNBT(net.minecraft.nbt.CompoundNBT tag)
readFromNBT in class TubeModulepublic net.minecraft.nbt.CompoundNBT writeToNBT(net.minecraft.nbt.CompoundNBT tag)
writeToNBT in class TubeModulepublic void addInfo(java.util.List<net.minecraft.util.text.ITextComponent> curInfo)
addInfo in class TubeModulepublic void onNeighborBlockUpdate()
onNeighborBlockUpdate in class TubeModulepublic int getReceivingRedstoneLevel()
public float getThreshold()
public boolean hasGui()
TubeModulehasGui in class TubeModulepublic void update()
update in class TubeModule