public class PluggableLightSensor extends PipePluggable
definition, holder, side
Constructor and Description |
---|
PluggableLightSensor(PluggableDefinition definition,
IPipeHolder holder,
net.minecraft.util.EnumFacing side) |
Modifier and Type | Method and Description |
---|---|
void |
addInternalTriggers(PipeEventStatement.AddTriggerInternalSided event) |
net.minecraft.util.math.AxisAlignedBB |
getBoundingBox() |
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, getCapability, getExplosionResistance, getInternalCapability, isSideSolid, onPluggableActivate, onRemove, onTick, readPayload, scheduleNetworkUpdate, writeCreationPayload, writePayload, writeToNbt
public PluggableLightSensor(PluggableDefinition definition, IPipeHolder holder, net.minecraft.util.EnumFacing side)
public net.minecraft.util.math.AxisAlignedBB getBoundingBox()
getBoundingBox
in class PipePluggable
public boolean isBlocking()
isBlocking
in class PipePluggable
public net.minecraft.item.ItemStack getPickStack()
PipePluggable
getPickStack
in class PipePluggable
public PluggableModelKey getModelRenderKey(net.minecraft.util.BlockRenderLayer layer)
getModelRenderKey
in class PipePluggable
public void addInternalTriggers(PipeEventStatement.AddTriggerInternalSided event)