Examples of doMelee()


Examples of com.flansmod.client.model.GunAnimations.doMelee()

    {
      //Do animation
      if(entityLiving.worldObj.isRemote)
      {
        GunAnimations animations = FlansModClient.getGunAnimations(entityLiving, false);
        animations.doMelee(type.meleeTime);
      }
      //Do custom melee hit detection
      if(entityLiving instanceof EntityPlayer)
      {
        PlayerData data = PlayerHandler.getPlayerData((EntityPlayer)entityLiving);
View Full Code Here

Examples of com.flansmod.common.PlayerData.doMelee()

      }
      //Do custom melee hit detection
      if(entityLiving instanceof EntityPlayer)
      {
        PlayerData data = PlayerHandler.getPlayerData((EntityPlayer)entityLiving);
        data.doMelee((EntityPlayer)entityLiving, type.meleeTime, type);
      }
    }
    return type.secondaryFunction != EnumSecondaryFunction.MELEE;
  }
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.