Package com.flansmod.common.network

Examples of com.flansmod.common.network.PacketReload


          {
            data.reloadingRight = true;
            data.burstRoundsRemainingRight = 0;
          }
          //Send reload packet to induce reload effects client side
          FlansMod.getPacketHandler().sendTo(new PacketReload(left), entityplayer);
          //Play reload sound
          if(gunType.reloadSound != null)
            PacketPlaySound.sendSoundPacket(entityplayer.posX, entityplayer.posY, entityplayer.posZ, FlansMod.soundRange, entityplayer.dimension, gunType.reloadSound, true);
        }
      }
View Full Code Here


      mc.displayGuiScreen(new GuiTeamScores());
      return;
    }
    if(reloadKey.isPressed() && FlansModClient.shootTime(false) <= 0)
    {
      FlansMod.getPacketHandler().sendToServer(new PacketReload(false));
      return;
    }
    if(debugKey.isPressed())
    {
      FlansMod.DEBUG = !FlansMod.DEBUG;
View Full Code Here

TOP

Related Classes of com.flansmod.common.network.PacketReload

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.