public class PipeFluidsDiamond extends Pipe<PipeTransportFluids> implements IDiamondPipe
| Constructor and Description |
|---|
PipeFluidsDiamond(net.minecraft.item.Item item) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
blockActivated(net.minecraft.entity.player.EntityPlayer entityplayer) |
void |
eventHandler(PipeEventFluid.FindDest event) |
net.minecraft.inventory.IInventory |
getFilters() |
int |
getIconIndex(net.minecraftforge.common.util.ForgeDirection direction)
Should return the index in the array returned by GetTextureIcons() for a
specified direction
|
int |
getIconIndexForItem()
Should return the textureindex used by the Pipe Item Renderer, as this is
done client-side the default implementation might not work if your
getTextureIndex(Orienations.Unknown) has logic.
|
IIconProvider |
getIconProvider()
Should return the IIconProvider that provides icons for this pipe
|
void |
readData(io.netty.buffer.ByteBuf data)
Deserializes the state from the stream
|
void |
readFromNBT(net.minecraft.nbt.NBTTagCompound nbt) |
void |
writeData(io.netty.buffer.ByteBuf data)
Serializes the state to the stream
|
void |
writeToNBT(net.minecraft.nbt.NBTTagCompound nbt) |
actionsActivated, blockActivated, canConnectRedstone, canPipeConnect, computeItemDrop, doDrop, dropContents, dropItem, getActions, getContainer, getDroppedItems, getGate, getMaxRedstoneOutput, getOpenOrientation, getTile, getWorld, hasGate, hasGate, initialize, inputOpen, invalidate, isIndirectlyPoweringTo, isInitialized, isPoweringTo, isWireActive, isWireConnectedTo, isWireConnectedTo, isWired, notifyBlocksOfNeighborChange, onBlockPlaced, onBlockPlacedBy, onChunkUnload, onEntityCollidedWithBlock, onNeighborBlockChange, outputOpen, propagateSignalState, randomDisplayTick, resetGates, resolveActions, scheduleWireUpdate, setTile, updateEntity, updateNeighbors, updateSignalState, validatepublic net.minecraft.inventory.IInventory getFilters()
getFilters in interface IDiamondPipepublic IIconProvider getIconProvider()
PipegetIconProvider in class Pipe<PipeTransportFluids>public int getIconIndex(net.minecraftforge.common.util.ForgeDirection direction)
PipegetIconIndex in class Pipe<PipeTransportFluids>direction - - The direction for which the indexed should be
rendered. Unknown for pipe centerpublic int getIconIndexForItem()
PipegetIconIndexForItem in class Pipe<PipeTransportFluids>public boolean blockActivated(net.minecraft.entity.player.EntityPlayer entityplayer)
blockActivated in class Pipe<PipeTransportFluids>public void eventHandler(PipeEventFluid.FindDest event)
public void readFromNBT(net.minecraft.nbt.NBTTagCompound nbt)
readFromNBT in class Pipe<PipeTransportFluids>public void writeToNBT(net.minecraft.nbt.NBTTagCompound nbt)
writeToNBT in class Pipe<PipeTransportFluids>public void writeData(io.netty.buffer.ByteBuf data)
ISerializablewriteData in interface ISerializablepublic void readData(io.netty.buffer.ByteBuf data)
ISerializablereadData in interface ISerializable