public class PipeItemsWood extends Pipe<PipeTransportItems> implements IPowerReceptor
| Modifier and Type | Field and Description |
|---|---|
protected PowerHandler |
powerHandler |
protected int |
solidIconIndex |
protected int |
standardIconIndex |
actionTracker, container, gate, item, signalStrength, transport, wireSet| Constructor and Description |
|---|
PipeItemsWood(net.minecraft.item.Item item) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
blockActivated(net.minecraft.entity.player.EntityPlayer entityplayer) |
net.minecraft.item.ItemStack[] |
checkExtract(net.minecraft.inventory.IInventory inventory,
boolean doRemove,
net.minecraftforge.common.util.ForgeDirection from)
Return the itemstack that can be if something can be extracted from this
inventory, null if none.
|
net.minecraft.item.ItemStack |
checkExtractGeneric(net.minecraft.inventory.IInventory inventory,
boolean doRemove,
net.minecraftforge.common.util.ForgeDirection from) |
net.minecraft.item.ItemStack |
checkExtractGeneric(net.minecraft.inventory.ISidedInventory inventory,
boolean doRemove,
net.minecraftforge.common.util.ForgeDirection from) |
void |
doWork(PowerHandler workProvider)
Call back from the PowerHandler that is called when the stored power
exceeds the activation power.
|
int |
getIconIndex(net.minecraftforge.common.util.ForgeDirection direction)
Should return the index in the array returned by GetTextureIcons() for a
specified direction
|
IIconProvider |
getIconProvider()
Should return the IIconProvider that provides icons for this pipe
|
PowerHandler.PowerReceiver |
getPowerReceiver(net.minecraftforge.common.util.ForgeDirection side)
Get the PowerReceiver for this side of the block.
|
void |
initialize() |
protected TravelingItem |
makeItem(double x,
double y,
double z,
net.minecraft.item.ItemStack stack) |
void |
onNeighborBlockChange(int blockId) |
actionsActivated, canConnectRedstone, canPipeConnect, doDrop, dropContents, dropItem, getActions, getContainer, getIconIndexForItem, getOpenOrientation, getWorld, handlePipeEvent, hasGate, hasGate, inputOpen, invalidate, isIndirectlyPoweringTo, isPoweringTo, isTriggerActive, isWireConnectedTo, isWired, isWired, needsInit, notifyBlocksOfNeighborChange, onBlockPlaced, onBlockPlacedBy, onBlockRemoval, onChunkUnload, onEntityCollidedWithBlock, outputOpen, randomDisplayTick, readFromNBT, resetGate, setTile, updateEntity, updateNeighbors, updateSignalState, validate, writeToNBTclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWorldprotected PowerHandler powerHandler
protected int standardIconIndex
protected int solidIconIndex
public boolean blockActivated(net.minecraft.entity.player.EntityPlayer entityplayer)
blockActivated in class Pipe<PipeTransportItems>public void onNeighborBlockChange(int blockId)
onNeighborBlockChange in class Pipe<PipeTransportItems>public void initialize()
initialize in class Pipe<PipeTransportItems>public IIconProvider getIconProvider()
PipegetIconProvider in class Pipe<PipeTransportItems>public int getIconIndex(net.minecraftforge.common.util.ForgeDirection direction)
PipegetIconIndex in class Pipe<PipeTransportItems>direction - - The direction for which the indexed should be
rendered. Unknown for pipe centerpublic PowerHandler.PowerReceiver getPowerReceiver(net.minecraftforge.common.util.ForgeDirection side)
IPowerReceptorgetPowerReceiver in interface IPowerReceptorpublic void doWork(PowerHandler workProvider)
IPowerReceptordoWork in interface IPowerReceptorprotected TravelingItem makeItem(double x, double y, double z, net.minecraft.item.ItemStack stack)
public net.minecraft.item.ItemStack[] checkExtract(net.minecraft.inventory.IInventory inventory,
boolean doRemove,
net.minecraftforge.common.util.ForgeDirection from)
public net.minecraft.item.ItemStack checkExtractGeneric(net.minecraft.inventory.IInventory inventory,
boolean doRemove,
net.minecraftforge.common.util.ForgeDirection from)
public net.minecraft.item.ItemStack checkExtractGeneric(net.minecraft.inventory.ISidedInventory inventory,
boolean doRemove,
net.minecraftforge.common.util.ForgeDirection from)