public class PipeItemsObsidian extends Pipe<PipeTransportItems> implements IPowerReceptor
actionTracker, container, gate, item, signalStrength, transport, wireSet| Constructor and Description |
|---|
PipeItemsObsidian(net.minecraft.item.Item item) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canSuck(net.minecraft.entity.Entity entity,
int distance) |
void |
doWork(PowerHandler workProvider)
Call back from the PowerHandler that is called when the stored power
exceeds the activation power.
|
void |
eventHandler(PipeEventItem.DropItem event) |
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 |
onEntityCollidedWithBlock(net.minecraft.entity.Entity entity) |
void |
pullItemIntoPipe(net.minecraft.entity.Entity entity,
int distance) |
actionsActivated, blockActivated, canConnectRedstone, canPipeConnect, doDrop, dropContents, dropItem, getActions, getContainer, getIconIndexForItem, getOpenOrientation, getWorld, handlePipeEvent, hasGate, hasGate, initialize, inputOpen, invalidate, isIndirectlyPoweringTo, isPoweringTo, isTriggerActive, isWireConnectedTo, isWired, isWired, needsInit, notifyBlocksOfNeighborChange, onBlockPlaced, onBlockPlacedBy, onBlockRemoval, onChunkUnload, onNeighborBlockChange, outputOpen, randomDisplayTick, readFromNBT, resetGate, setTile, updateEntity, updateNeighbors, updateSignalState, validate, writeToNBTclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetWorldpublic 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 void onEntityCollidedWithBlock(net.minecraft.entity.Entity entity)
onEntityCollidedWithBlock in class Pipe<PipeTransportItems>public void doWork(PowerHandler workProvider)
IPowerReceptordoWork in interface IPowerReceptorpublic void pullItemIntoPipe(net.minecraft.entity.Entity entity,
int distance)
public void eventHandler(PipeEventItem.DropItem event)
public boolean canSuck(net.minecraft.entity.Entity entity,
int distance)
public PowerHandler.PowerReceiver getPowerReceiver(net.minecraftforge.common.util.ForgeDirection side)
IPowerReceptorgetPowerReceiver in interface IPowerReceptor