public interface IItemPluggable
PipePluggable.| Modifier and Type | Method and Description |
|---|---|
PipePluggable |
onPlace(net.minecraft.item.ItemStack stack,
IPipeHolder holder,
net.minecraft.util.EnumFacing side,
net.minecraft.entity.player.EntityPlayer player,
net.minecraft.util.EnumHand hand)
Called when this item is placed onto a pipe holder.
|
@Nullable PipePluggable onPlace(@Nonnull net.minecraft.item.ItemStack stack, IPipeHolder holder, net.minecraft.util.EnumFacing side, net.minecraft.entity.player.EntityPlayer player, net.minecraft.util.EnumHand hand)
stack - The stack that holds this itemholder - The pipe holderside - The side that the pluggable should be placed on