majgenrelativity

Untitled

Jun 7th, 2015
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. @Override
  2. public void update() {
  3. // Generate ions whenever loaded
  4. if (force_lasers_ions<100)
  5. {
  6. if (coal_left==0) {
  7.  
  8. if (getStackInSlot(0)!=null) {
  9. decrStackSize(0, 1);
  10. coal_left=20;
  11. }
  12. else
  13. force_lasers_ions+=1;
  14. coal_left-=1;
  15. }
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment