Package net.minecraft.client.entity

Examples of net.minecraft.client.entity.EntityClientPlayerMP.swingItem()


    } else if(equipped.getItem() == EnderIO.itemConduitProbe) {
     
      int newMeta = equipped.getItemDamage() == 0 ? 1 : 0;
      equipped.setItemDamage(newMeta);
      PacketHandler.INSTANCE.sendToServer(new PacketConduitProbeMode());  
      player.swingItem();
     
    }
   
       
  }
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.