public void updateEntity() { super.updateEntity(); if (helper == null) helper = new BlockTransferHelper(this); machineTick++; if (onTick(20)) { FluidHelper.process(this, 3, 4); updateUpgrades(); } if (onTick(20)) { canWork = canWork(); } updateMachine(); }