public class PluggablePowerAdaptor extends PipePluggable
definition, holder, side| Constructor and Description |
|---|
PluggablePowerAdaptor(PluggableDefinition definition,
IPipeHolder holder,
net.minecraft.util.EnumFacing side) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.math.AxisAlignedBB |
getBoundingBox() |
<T> T |
getCapability(net.minecraftforge.common.capabilities.Capability<T> cap)
Gets the value of a specified capability key, or null if the given capability is not supported at the call time.
|
PluggableModelKey |
getModelRenderKey(net.minecraft.util.BlockRenderLayer layer) |
net.minecraft.item.ItemStack |
getPickStack()
Called whenever this pluggable is picked by the player (similar to Block.getPickBlock)
|
boolean |
isBlocking() |
addDrops, canBeConnected, canConnectToRedstone, getBlockColor, getBlockFaceShape, getExplosionResistance, getInternalCapability, isSideSolid, onPluggableActivate, onRemove, onTick, readPayload, scheduleNetworkUpdate, writeCreationPayload, writePayload, writeToNbtpublic PluggablePowerAdaptor(PluggableDefinition definition, IPipeHolder holder, net.minecraft.util.EnumFacing side)
public net.minecraft.util.math.AxisAlignedBB getBoundingBox()
getBoundingBox in class PipePluggablepublic boolean isBlocking()
isBlocking in class PipePluggablepublic net.minecraft.item.ItemStack getPickStack()
PipePluggablegetPickStack in class PipePluggable@Nullable public PluggableModelKey getModelRenderKey(net.minecraft.util.BlockRenderLayer layer)
getModelRenderKey in class PipePluggablepublic <T> T getCapability(@Nonnull
net.minecraftforge.common.capabilities.Capability<T> cap)
PipePluggableICapabilityProvider, but where
ICapabilityProvider.hasCapability(Capability, EnumFacing) will return true when this returns a non-null
value.getCapability in class PipePluggable