public class LensPluggable extends PipePluggable
| Modifier and Type | Class and Description |
|---|---|
class |
LensPluggable.LensPluggableRenderer |
| Modifier and Type | Field and Description |
|---|---|
protected int |
color |
protected IPipeContainer |
container |
protected boolean |
isFilter |
LensPluggable.LensPluggableRenderer |
RENDERER |
| 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(IPipeContainer pipe) |
IPipePluggableRenderer |
getRenderer() |
boolean |
isBlocking(IPipeContainer 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) |
void |
validate(IPipeContainer 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) |
invalidate, isSolidOnSide, onAttachedPipe, onDetachedPipe, updatepublic final LensPluggable.LensPluggableRenderer RENDERER
protected int color
protected boolean isFilter
protected IPipeContainer container
public LensPluggable()
public LensPluggable(net.minecraft.item.ItemStack stack)
public void validate(IPipeContainer pipe, net.minecraftforge.common.util.ForgeDirection direction)
validate in class PipePluggablepublic net.minecraft.item.ItemStack[] getDropItems(IPipeContainer pipe)
getDropItems in class PipePluggablepublic boolean isBlocking(IPipeContainer 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 void eventHandler(PipeEventItem.ReachedEnd event)
public void eventHandler(PipeEventItem.Entered event)