use of com.simibubi.create.content.logistics.packet.FunnelFlapPacket in project Create by Creators-of-Create.
the class FunnelTileEntity method flap.
public void flap(boolean inward) {
if (!level.isClientSide) {
AllPackets.channel.send(packetTarget(), new FunnelFlapPacket(this, inward));
} else {
flap.set(inward ? 1 : -1);
AllSoundEvents.FUNNEL_FLAP.playAt(level, worldPosition, 1, 1, true);
}
}
Aggregations