Plz help me if you are good at Procedures

Started by JuanGaming07 on

Topic category: Help with modding (Java Edition)

Last seen on 17:08, 20. Mar 2021
Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Plz help me if you are good at Procedures

I need a Procedure where i put a battery item in the top slot of the gui and then coal on the bottom slot it will recharge the battery but only to 1 less damage than maxed out due to issues with the mod and when i make one myself it wont stop at the durabilaty i want and it wont stop removing the coal i put in so is there any way i can get help with a working procedure? The coal will have to go slowly away.

Last seen on 14:30, 2. Aug 2022
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This tutorial by…
Sat, 10/10/2020 - 16:14

This tutorial by NorthWestTrees Gaming should have most of the information you need:

https://www.youtube.com/watch?v=bakTMAZO7O0

You can use the Get damage of Provided itemstack to check the durability of the battery.