use of buildcraft.transport.plug.PluggableFacade in project BuildCraft by BuildCraft.
the class ItemPluggableFacade method onPlace.
@Override
public PipePluggable onPlace(@Nonnull ItemStack stack, IPipeHolder holder, EnumFacing side, EntityPlayer player, EnumHand hand) {
FacadeInstance fullState = getStates(stack);
SoundUtil.playBlockPlace(holder.getPipeWorld(), holder.getPipePos(), fullState.phasedStates[0].stateInfo.state);
return new PluggableFacade(BCTransportPlugs.facade, holder, side, fullState);
}
Aggregations