Package net.minecraft.entity.player

Examples of net.minecraft.entity.player.EntityPlayerMP.swingItem()


         !BetterStorage.globalConfig.getBoolean(GlobalConfig.enableBackpackInteraction))) return;
   
    EntityPlayerMP player = (EntityPlayerMP)event.entity;
    EntityLivingBase target = (EntityLivingBase)event.target;
    if (ItemBackpack.openBackpack(player, target))
      player.swingItem();
   
  }
 
  @SubscribeEvent
  public void onSpecialSpawn(SpecialSpawn event) {
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.