Package com.flansmod.common.guns

Examples of com.flansmod.common.guns.EntityMG


  }

  @Override
  public void handleServerSide(EntityPlayerMP playerEntity)
  {
    EntityMG mg = PlayerHandler.getPlayerData(playerEntity).mountingGun;
    if(mg != null)
    {
      mg.mouseHeld(held);
    }
    else if(playerEntity.ridingEntity instanceof EntityAAGun)
    {
      ((EntityAAGun)playerEntity.ridingEntity).setMouseHeld(held);
    }
View Full Code Here


  @Override
  @SideOnly(Side.CLIENT)
  public void handleClientSide(EntityPlayer clientPlayer)
  {
    EntityPlayer player = (EntityPlayer)clientPlayer.worldObj.getEntityByID(playerEntityId);
    EntityMG mg = (EntityMG)clientPlayer.worldObj.getEntityByID(mgEntityId);
    if(mg != null && player != null)
      mg.mountGun(player, mounting);
  }
View Full Code Here

TOP

Related Classes of com.flansmod.common.guns.EntityMG

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.