Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public void update() {
- tick++;
- if(tick >= 1200) tick = 0;
- if(!this.worldObj.isRemote) {
- if(tick % 20 == 0) MultiBlockHelper.Fountain.verify(this.worldObj, this.getPos);
- if(tick % 30 == 0 && locked == false) currentRecipe = TKCraftingManager.findMatchingFountainRecipe(this.inventory.apply(0), getTankFluid());
- if(tick % 40 == 0) {
- getUpgrades();
- if(locked == true && currentRecipe != null) {
- startCrafting();
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement