use of convenientadditions.api.ExtendedExplosion in project ConvenientAdditions by Necr0.
the class PacketExtendedExplosion method onClientReceive.
@SideOnly(Side.CLIENT)
public void onClientReceive(PacketExtendedExplosion message, MessageContext ctx) {
ExtendedExplosion explosion = new ExtendedExplosion(Helper.getClientWorld(), null, message.posX, message.posY, message.posZ, message.strength, message.affectedBlockPositions);
explosion.doExplosionB(true);
Helper.getClientPlayer().addVelocity(message.getMotionX(), (double) message.getMotionY(), (double) message.getMotionZ());
}
Aggregations