Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2014
2,371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1.  
  2. public void onArmorTickUpdate(World world, EntityPlayer player, ItemStack itemStack)
  3. {
  4.  
  5. if(player.getCurrentItemOrArmor(1) != null){
  6. ItemStack boots = player.getCurrentItemOrArmor(1);
  7. if(boots.getItem() == SoulCraft.soulBoots2){
  8.  
  9. player.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setAttribute(0.5d);
  10. }
  11. }
  12.  
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement