public class ModuleAirGrate extends TubeModule
advancedConfig, dir, higherBound, lowerBound, MAX_VALUE, pressureTube, shouldDrop, upgraded| Constructor and Description |
|---|
ModuleAirGrate(ItemTubeModule itemTubeModule) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInfo(java.util.List<net.minecraft.util.text.ITextComponent> curInfo) |
java.lang.String |
getEntityFilterString() |
net.minecraft.util.math.AxisAlignedBB |
getRenderBoundingBox() |
double |
getWidth()
Get the module's width (in range 0..16 as passed to
Block.box(double, double, double, double, double, double) |
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.
|
boolean |
isShowRange() |
void |
onNeighborBlockUpdate() |
void |
onRemoved() |
void |
readFromNBT(net.minecraft.nbt.CompoundNBT tag) |
void |
setEntityFilter(java.lang.String filter) |
void |
setShowRange(boolean showRange) |
void |
update() |
net.minecraft.nbt.CompoundNBT |
writeToNBT(net.minecraft.nbt.CompoundNBT tag) |
canUpgrade, equals, getDirection, getDrops, getHeight, getItem, getRedstoneLevel, getShape, getThreshold, getTube, getType, hashCode, isFake, isInline, isUpgraded, markFake, onActivated, onNeighborTileUpdate, onPlaced, sendDescriptionPacket, setDirection, setTube, updateNeighbors, upgradepublic ModuleAirGrate(ItemTubeModule itemTubeModule)
public double getWidth()
TubeModuleBlock.box(double, double, double, double, double, double)getWidth in class TubeModulepublic void update()
update in class TubeModulepublic void onNeighborBlockUpdate()
onNeighborBlockUpdate in class TubeModulepublic 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 boolean hasGui()
TubeModulehasGui in class TubeModulepublic net.minecraft.util.math.AxisAlignedBB getRenderBoundingBox()
getRenderBoundingBox in class TubeModulepublic java.lang.String getEntityFilterString()
public void setEntityFilter(java.lang.String filter)
public boolean isShowRange()
public void setShowRange(boolean showRange)
public void onRemoved()
onRemoved in class TubeModule