Advertisement
Guest User

Untitled

a guest
Jan 7th, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. @Override
  2. public void update() {
  3. tick++;
  4. if(tick >= 1200) tick = 0;
  5.  
  6. if(!this.worldObj.isRemote) {
  7.  
  8. if(tick % 20 == 0) MultiBlockHelper.Fountain.verify(this.worldObj, this.getPos);
  9. if(tick % 30 == 0 && locked == false) currentRecipe = TKCraftingManager.findMatchingFountainRecipe(this.inventory.apply(0), getTankFluid());
  10.  
  11. if(tick % 40 == 0) {
  12. getUpgrades();
  13. if(locked == true && currentRecipe != null) {
  14. startCrafting();
  15. }
  16. }
  17. }
  18.  
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement