Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void onArmorTickUpdate(World world, EntityPlayer player, ItemStack itemStack)
- {
- if(player.getCurrentItemOrArmor(1) != null){
- ItemStack boots = player.getCurrentItemOrArmor(1);
- if(boots.getItem() == SoulCraft.soulBoots2){
- player.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setAttribute(0.5d);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement