public class LensPluggable extends PipePluggable
| Modifier and Type | Class and Description |
|---|---|
class |
LensPluggable.LensPluggableRenderer |
| Modifier and Type | Field and Description |
|---|---|
int |
color |
protected IPipeTile |
container |
boolean |
isFilter |
| Constructor and Description |
|---|
LensPluggable() |
LensPluggable(net.minecraft.item.ItemStack stack) |
| Modifier and Type | Method and Description |
|---|---|
void |
eventHandler(PipeEventItem.Entered event) |
void |
eventHandler(PipeEventItem.ReachedEnd event) |
net.minecraft.util.AxisAlignedBB |
getBoundingBox(net.minecraftforge.common.util.ForgeDirection side) |
net.minecraft.item.ItemStack[] |
getDropItems(IPipeTile pipe) |
IPipePluggableRenderer |
getRenderer() |
void |
invalidate() |
boolean |
isBlocking(IPipeTile pipe,
net.minecraftforge.common.util.ForgeDirection direction) |
void |
readData(io.netty.buffer.ByteBuf data)
Deserializes the state from the stream
|
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound tag) |
boolean |
requiresRenderUpdate(PipePluggable o) |
void |
validate(IPipeTile pipe,
net.minecraftforge.common.util.ForgeDirection direction) |
void |
writeData(io.netty.buffer.ByteBuf data)
Serializes the state to the stream
|
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound tag) |
isSolidOnSide, onAttachedPipe, onDetachedPipe, updatepublic int color
public boolean isFilter
protected IPipeTile container
public LensPluggable()
public LensPluggable(net.minecraft.item.ItemStack stack)
public void validate(IPipeTile pipe, net.minecraftforge.common.util.ForgeDirection direction)
validate in class PipePluggablepublic void invalidate()
invalidate in class PipePluggablepublic net.minecraft.item.ItemStack[] getDropItems(IPipeTile pipe)
getDropItems in class PipePluggablepublic boolean isBlocking(IPipeTile pipe, net.minecraftforge.common.util.ForgeDirection direction)
isBlocking in class PipePluggablepublic net.minecraft.util.AxisAlignedBB getBoundingBox(net.minecraftforge.common.util.ForgeDirection side)
getBoundingBox in class PipePluggablepublic IPipePluggableRenderer getRenderer()
getRenderer in class PipePluggablepublic void readFromNBT(net.minecraft.nbt.NBTTagCompound tag)
public void writeToNBT(net.minecraft.nbt.NBTTagCompound tag)
public void writeData(io.netty.buffer.ByteBuf data)
ISerializablepublic void readData(io.netty.buffer.ByteBuf data)
ISerializablepublic boolean requiresRenderUpdate(PipePluggable o)
requiresRenderUpdate in class PipePluggablepublic void eventHandler(PipeEventItem.ReachedEnd event)
public void eventHandler(PipeEventItem.Entered event)