Jump to content

Recommended Posts

Posted (edited)

I recently coded another mod but i ran into a problem.

I wanted to do an Item that repairs every other Item in the inventory of the player who got the Item.

In my Class ive got a onUpdate method but it dont work out like i want. It should repair EVERY Item in the inventory every 3 - 6 seconds (60 Ticks - 120 Ticks) and it should work without holding it in the hand.

So i need a tick timer and a method that repairs everything.

 

[EDIT] = The version i am coding on is 1.7.10

 

Thanks for you suggestions.

-boyx

Edited by boyx
  • Guest locked this topic
Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.